Use diff_drive_controller with voltage controlled motors

40 views
Skip to first unread message

fjp

unread,
Mar 18, 2020, 9:47:02 AM3/18/20
to ROS/Orocos Robot Control Special Interest Group

I am working on a real differential drive robot with two motors (wheel joints/actuators) that operate with effort (voltage) values.

Is it possible to use diff_drive_controller from ROS control with these effort controlled motors? The documentation says that diff_drive_controller works with a VelocityJointInterface and not with EffortJointInterface.

Does this mean that in my hardware_interface, I have to translate the velocity commands from the controller into effort commands for the motors? And similar for reading encoder feedback: read encoder ticks and convert them to velocity?

Bence Magyar

unread,
Mar 20, 2020, 8:35:07 AM3/20/20
to fjp, ROS/Orocos Robot Control Special Interest Group
Hi Franz,

Please keep in mind that this mailing list is probably quite empty by now.
I can reply though: yes and yes. Personally I consider effort to be a bit of a shapeshifter, some people use it as force, some use it for voltage...

Cheers,
Bence

--
You received this message because you are subscribed to the Google Groups "ROS/Orocos Robot Control Special Interest Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ros-sig-robot-co...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ros-sig-robot-control/430c9d97-6c98-464f-ac98-c4ac01e1ae1e%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages