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

where is the controller from /cmd_vel to the force applied to robot?

asked 2019-08-26 07:45:56 -0600

lochlomond gravatar image

updated 2019-08-26 12:33:39 -0600

It seems to me that what ros provides us to control a robot is the expected velocity /cmd_vel, but from this signal to real force/torque applied to the robot, there must be a controller there. Can someone tell me in which file I can see this controller? Thanks.

Actually, I'm not dealing with hardware yet. I mean the pure simulation. e.g. the husky simulator, the /cmd_vel finally goes to the gazebo husky model, and the gazebo model returns the effect of the control. in the rqt_graph i can see the there is a controller between the /cmd_vel and gazebo, but i just cannot find the file which describes it.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2019-08-26 11:56:15 -0600

billy gravatar image

The method of converting velocity to force will be fully dependent on the hardware involved with the robot. Depending on which robot you have there may be a driver already supported that will handle the actual hardware. On the ROS WIKI pages there are lists of robots already supported and on github you will find more with a carefully worded google search. Or possibly you'll have to create your own if you have a custom.

If you're looking for just general example of HW control, you can find code for raspberry pi or arduino that will be very simple and easy to understand (relatively). Finding code for an industrial robot would be difficult I guess and professional code likely much more complicated.

edit flag offensive delete link more

Comments

sorry, i did not state the question clear enough. I updated it.

lochlomond gravatar image lochlomond  ( 2019-08-26 12:34:11 -0600 )edit

Question Tools

3 followers

Stats

Asked: 2019-08-26 07:45:56 -0600

Seen: 389 times

Last updated: Aug 26 '19