Skip to content
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

Switch to using RCLCPP logging macros in the lifecycle package. #644

Merged
merged 2 commits into from
Jul 19, 2023

Conversation

clalancette
Copy link
Contributor

This ensures that the logging will go out to rosout and to disk (if configured like that).

This ensures that the logging will go out to rosout and
to disk (if configured like that).

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
Copy link
Member

@audrow audrow left a comment

Choose a reason for hiding this comment

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

LGTM!

@clalancette
Copy link
Contributor Author

CI:

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Windows Build Status

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
@@ -23,22 +23,22 @@ add_executable(lifecycle_talker
src/lifecycle_talker.cpp)
ament_target_dependencies(lifecycle_talker
"lifecycle_msgs"
"rclcpp"
Copy link
Contributor

Choose a reason for hiding this comment

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

The CMakeLists.txt in rclcpp_lifecycle export the dependencies for rclcpp, it seems unnecessary to add rclcpp here.

Of course, adding rclcpp explicitly is also correct.

"rclcpp_lifecycle"
"std_msgs"
)
add_executable(lifecycle_listener
src/lifecycle_listener.cpp)
ament_target_dependencies(lifecycle_listener
"lifecycle_msgs"
"rclcpp_lifecycle"
"rclcpp"
Copy link
Contributor

Choose a reason for hiding this comment

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

👍 , lifecycle_listener.cpp just used the rclcpp component.

@clalancette
Copy link
Contributor Author

CI:

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Windows Build Status

clalancette referenced this pull request Jul 19, 2023
Signed-off-by: Chris Lalancette <clalancette@gmail.com>
@clalancette clalancette merged commit 019b64d into rolling Jul 19, 2023
3 checks passed
@delete-merged-branch delete-merged-branch bot deleted the clalancette/use-rclcpp-logging-macros branch July 19, 2023 13:21
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.

None yet

3 participants