Gazebo | Ignition | Community
Ask Your Question

Set linear velocity on a link of an object using Gazebo messages/topic

asked 2018-10-22 06:19:51 -0500

Gaurav gravatar image

updated 2018-10-22 09:06:50 -0500

Is there any way to set linear velocity , collision on a link of an object using messages like Wrench. That is, publishing on default topics with standalone C++.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2018-10-22 15:36:36 -0500

chapulina gravatar image

I know the question is about a transport API, but I'll just point out this tutorial on several ways of doing it via the C++ API.

There's no transport API for link velocity, but there are for:

Link force

Publish a wrench message to ~/<model_name>/<link_name>/wrench, see an example here.

Joint position / velocity / force

Publish a joint cmd message to ~/<model_name>/joint_cmd, see an example here.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2018-10-22 06:19:51 -0500

Seen: 253 times

Last updated: Oct 22 '18