Skip to content

Example reference logger approach#33

Closed
davetcoleman wants to merge 2 commits intomoveit:masterfrom
davetcoleman:robot_state_logger
Closed

Example reference logger approach#33
davetcoleman wants to merge 2 commits intomoveit:masterfrom
davetcoleman:robot_state_logger

Conversation

@davetcoleman
Copy link
Copy Markdown
Member

Reference implementation for converting moveit1's standard of LOGNAME as documented in the Style Guidelines to moveit2.

I'm not a ROS2 expert and I can't test if this compiles, so use this PR as a discussion point. Its based on @vmayoral's original implementation but is adapted for the discussions ongoing in #21

The key thing to recognize is that the moveit maintainers have been making a concerted effort use namespace everything in the moveit codebase, and more recently we've been trying to do this with the LOGNAME approach as recommended by @rhaschke. Sticking to this standard will improve compatibility between moveit1/2 and also just make for cleaner, more concise code.

I believe, according to @wjwwood's detailed explanation here this will result in the following output:

moveit.robot_state: Hello world

If we like this approach, and it is verified to build in a module of moveit_core, I think we can then quickly propagate it through all of the moveit code base using find-replace at the command line.

Copy link
Copy Markdown
Contributor

@rhaschke rhaschke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks reasonable to me.

@davetcoleman davetcoleman changed the title Convert RobotState to new logger approach Example reference logger approach Mar 19, 2019
@davetcoleman
Copy link
Copy Markdown
Member Author

I think logging has been figured out adequately at this point, closing this PR.

MikeWrock pushed a commit to MikeWrock/moveit2 that referenced this pull request Aug 15, 2022
moveit#33)

* renaming prerequisites to getting started, removing 'tutorial' from tutorial names, improving index page, and small changes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants