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

Replace RCUTILS_ with RCLCPP_ for logging #62

Merged
merged 1 commit into from
Mar 9, 2020

Conversation

JafarAbdi
Copy link
Contributor

Fix: #59

@JafarAbdi JafarAbdi force-pushed the pr-rclcpp_logger branch 5 times, most recently from 25c34b0 to 76d5366 Compare February 21, 2020 13:46
Copy link
Contributor

@Karsten1987 Karsten1987 left a comment

Choose a reason for hiding this comment

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

Thanks for PR. There are few nitpicks around alphabetical sort.

However, the github action fail with some uncrustify errors:

  6: --- src/robot_hardware.cpp
  6: +++ src/robot_hardware.cpp.uncrustify
  6: @@ -83 +83,2 @@
  6: -    RCLCPP_ERROR(rclcpp::get_logger("joint state handle"),
  6: +    RCLCPP_ERROR(
  6: +      rclcpp::get_logger("joint state handle"),
  6: @@ -97 +98,2 @@
  6: -    RCLCPP_ERROR(rclcpp::get_logger("joint state handle"),
  6: +    RCLCPP_ERROR(
  6: +      rclcpp::get_logger("joint state handle"),
  6: @@ -111 +113,2 @@
  6: -    RCLCPP_ERROR(rclcpp::get_logger("joint cmd handle"),
  6: +    RCLCPP_ERROR(
  6: +      rclcpp::get_logger("joint cmd handle"),
  6: @@ -125 +128,2 @@

controller_parameter_server/CMakeLists.txt Outdated Show resolved Hide resolved
hardware_interface/CMakeLists.txt Show resolved Hide resolved
@JafarAbdi
Copy link
Contributor Author

JafarAbdi commented Feb 24, 2020

However, the github action fail with some uncrustify errors:

Running ament_uncrustify locally gives no error, what could be the reason for this situation .? is there a config file used for uncrustify in the CI system .?

I'll fix the other alpha sort comment today, Thanks!

@Karsten1987
Copy link
Contributor

Karsten1987 commented Feb 24, 2020 via email

@JafarAbdi JafarAbdi force-pushed the pr-rclcpp_logger branch 4 times, most recently from aca19dd to 27a4a0d Compare February 26, 2020 18:46
Copy link
Contributor

@Karsten1987 Karsten1987 left a comment

Choose a reason for hiding this comment

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

This looks good to me. I would ask you though to once more iterate over it and see if we can get rid of the rcutils dependency all together if not being used.

controller_manager/src/controller_manager.cpp Show resolved Hide resolved
hardware_interface/CMakeLists.txt Outdated Show resolved Hide resolved
@Karsten1987
Copy link
Contributor

@JafarAbdi Any updates on this?

@JafarAbdi
Copy link
Contributor Author

@Karsten1987 Sorry, I just saw your last review, I addressed the latest review and pushed the changes

Copy link
Contributor

@Karsten1987 Karsten1987 left a comment

Choose a reason for hiding this comment

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

one outstanding comment, but looks good to me.

@Karsten1987 Karsten1987 merged commit 55105d2 into ros-controls:master Mar 9, 2020
destogl pushed a commit to StoglRobotics-forks/ros2_control that referenced this pull request Aug 11, 2022
…olated (ros-controls#62)

* port over jtc interpolation formulas

* update comments

* account for 0 duration between points, fix tests accordingly

* interpolate() and sample() functions now returns velocities and accelerations

* now aborting due to outside_goal_tolerance

* update comment

* add pos, velocity and acceleration tests to test_trajectory

* fix action tests, disable velocity goal tolerance due to uncommitted velocities

* lint and uncrustify fixes

* Fix rebase hiccup

Co-authored-by: Bence Magyar <bence.magyar.robotics@gmail.com>
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.

use rclcpp logger macros when possible
3 participants