ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

object movement in simulator-gazebo

asked 2012-12-06 22:40:05 -0500

iit.saurav gravatar image

from gazebo tutorial link i learn to spawn object in gazebo but can anyone tell me how to move these objects in gazebo For example if i want to move object under force of 1 N/m in some x direction how will i do it also please give me link of tutorial.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2012-12-06 23:23:25 -0500

davinci gravatar image

From the tutorial here you can find out how you can a apply a downwards force

rosservice call gazebo/apply_body_wrench '{body_name: "top::my_top" , wrench: { force: { x: 0.0, y: 0, z: -0.1 } , torque: { x: 0.0, y: 0 , z: 0.0 } }, start_time: 10000000000, duration: -1000000000 }'

Just apply a force in x-direction.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2012-12-06 22:40:05 -0500

Seen: 1,668 times

Last updated: Dec 06 '12