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

Move from RCLPY to RCLCPP (ROS lib from Python to C++) #2

Open
edantec opened this issue Dec 17, 2024 · 0 comments
Open

Move from RCLPY to RCLCPP (ROS lib from Python to C++) #2

edantec opened this issue Dec 17, 2024 · 0 comments

Comments

@edantec
Copy link
Collaborator

edantec commented Dec 17, 2024

Hello,

Thanks to @MegMll, we now have benchmarks that show a performance increase up to 100x faster when using rclcpp (ros2 in c++) for sending eigen matrix over a topic, rather than using rclpy (ros2 for python).

(The benchmark in question https://github.com/MegMll/timings_ros2_conversion_msg)

Thus, we should move this part of the code to c++.

I think the interpolator node can be easily completely re-written in c++, but for the MPC node, if it is too annoying, we could just write a c++ lib that manage the ros messages and bind it to python...

Cheers

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

No branches or pull requests

1 participant