ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

How to use diff_drive_controller form ros_control

asked 2018-08-10 13:33:58 -0500

Prof. xavier gravatar image

Hello, I am still confused with how to exactly use differential drive controllers from ros_control. I have a raspberry pi running 2 wheels, I understand that the controller will take twist msgs which is described in the documentation, I am just confused about how to take out the velocity commands for individual wheels, as there is no published topics for those, please guide me here or direct to a direction. Thanks in advance.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2022-12-20 16:11:41 -0500

Roberto Z. gravatar image

updated 2022-12-20 16:12:55 -0500

The documentation states that ros_control's diff_drive_controller works with wheel joints through a velocity interface. You have to implement a ros_control hardware_interface that interacts with the motor driver and wheel encoders of each individual wheel. This hardware interface can send commands to each individual wheel using the SDK or library provided by the hardware vendor.

edit flag offensive delete link more

Question Tools



Asked: 2018-08-10 13:33:58 -0500

Seen: 294 times

Last updated: Dec 20 '22