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

object movement in simulator-gazebo

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

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
1

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

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

Question Tools

1 follower

Stats

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

Seen: 1,885 times

Last updated: Dec 06 '12