JointVelocityController -- what are the velocity units?
I'm confused about the input units for effort_controllers/JointVelocityController
https://wiki.ros.org/robot_mechanism_controllers/JointVelocityController
I made an Ackermann vehicle, and I'm using this controller to spin a continuous joint. I don't see where the controller is receiving any wheel dimensions, so I thought the velocity would be one revolution per second -- but after testing with the following message, I get more like 1 revolution over 8 seconds.
rostopic pub -r 10 /ack/jointrwvelocitycontroller/command stdmsgs/Float64 "data: 1.0"
What am I missing here, and is there any more detailed documentation on this sort of thing?
Thanks for any advice.
Asked by horseatinweeds on 2019-09-28 17:06:39 UTC
Comments
Observation:
robot_mechanism_controllers != ros-controls/ros_controllers
.Asked by gvdhoorn on 2019-09-29 06:08:53 UTC
And: please see whether #q242766 and #q323635 shed any light on this.
Asked by gvdhoorn on 2019-09-29 06:10:47 UTC
Hi gvdhoorn. #q242766 explains that the linear speed component for the differential drive controller is actually radians per second. But the velocity controller, it doesn't know the radius of the whee, so I'm still not sure of the units. Also, if it did, the wheel should make one revolution per 6.26 seconds, but mine is taking 8.
Asked by horseatinweeds on 2019-09-29 08:43:15 UTC