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

use_stamepd_vel parameter ignored On Rolling With Harmonic #272

Closed
johnny555 opened this issue Apr 9, 2024 · 1 comment
Closed

use_stamepd_vel parameter ignored On Rolling With Harmonic #272

johnny555 opened this issue Apr 9, 2024 · 1 comment

Comments

@johnny555
Copy link

I've successfully built gz_ros2_control with ROS rolling and GZ Harmonic.

However, it seems that it is ignoring the and tags in ros2 control.

Easiest way to reproduce this is to change the use_stamped_vel to false in gz_ros2_control_demos/config/diff_drive_controller_velocity.yaml.
Run the example
ros2 launch gz_ros2_control_demos diff_drive_example.launch.py
and then look at the ros2 topic type

 ros2 topic info /diff_drive_base_controller/cmd_vel
Type: geometry_msgs/msg/TwistStamped
Publisher count: 0
Subscription count: 1

You can see the message type is "TwistStamped" but it should be "Twist" if the parameter was loaded correctly.

Currently I'm working around it using the package: https://github.com/joshnewans/twist_stamper

@johnny555
Copy link
Author

Ah, I was foolishly pointing to an incorrect configuration! Sorry!

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