-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Moving to a proper logging system #70
Comments
update regarding log levels
cc @auviitkgp/developers @auviitkgp/embedded-team @auviitkgp/maintainers |
Related to auviitkgp#70 Signed-off-by: Siddharth Kannan <[email protected]>
Related to auviitkgp#70 Signed-off-by: Siddharth Kannan <[email protected]>
- Tools is a library inside the resources/ package that can be used for functions that are required across the repository. Related to auviitkgp#70 Freeze style of implementing logging in Python. Signed-off-by: Siddharth Kannan <[email protected]>
- Use this as a reference to work with other CPP packages. Related to auviitkgp#70 Signed-off-by: Siddharth Kannan <[email protected]>
I have abstracted the verbose tag code as a function in the Refer to icyflame@857f5ab for CPP. Refer to icyflame@168940a for Python. cc @auviitkgp/developers @auviitkgp/embedded-team |
Fix logging inside Absolute RPY Publisher and Thruster Converter Moves towards fixing #70 This PR also creates a standard for using the `tools` functions to optimise this process. Read more about this here: #70 (comment)
@icyflame 👍 nice work. And also assign this task to others. You don't do the shift all alone. |
References for C++ and Python
|
Related to auviitkgp#70 Signed-off-by: Siddharth Kannan <[email protected]>
- Tools is a library inside the resources/ package that can be used for functions that are required across the repository. Related to auviitkgp#70 Freeze style of implementing logging in Python. Signed-off-by: Siddharth Kannan <[email protected]>
- Use this as a reference to work with other CPP packages. Related to auviitkgp#70 Signed-off-by: Siddharth Kannan <[email protected]>
http://wiki.ros.org/roscpp/Overview/Logging
http://wiki.ros.org/rospy/Overview/Logging
ROS has inbuilt support for Logging. We just have to use it.
We will have to port all of our code from existing
cout
,std::cout
andprint
statements toROS_INFO
,ROS_DEBUG
, etc.It would be helpful if everyone quickly edited their projects and made these changes, and opened a PR. I would be able to merge them in fast.
Also, I would urge whoever is writing code from here on out to strictly use these instead of using stray
cout
andprint
statements in C++ and Python, respectively. (cc @kalyan-kumar , Barno and Priyank)Opinions? @prudhvid @nevinvalsaraj @VishnuDuttSharma
cc @auviitkgp/developers @auviitkgp/embedded-team
Packages yet to port over to logging system
The text was updated successfully, but these errors were encountered: