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

How to use SetModelState in a C++ to enable and disable gravity of an object

asked 2012-03-24 11:02:25 -0600

zhenli gravatar image

updated 2014-01-28 17:11:44 -0600

ngrennan gravatar image

Dear All. I want to use a c++ program to enable and disable gravity of an object.Who can give a bit help? Gazebo Ros How to use SetModelState in a C++ to enable and disable gravity of an object

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2013-03-20 19:58:40 -0600

devesh gravatar image

In case someone comes across this question and wants an answer, check this out - http://answers.ros.org/question/12116/calling-gazebo-service-set_model_state-in-c-code/

edit flag offensive delete link more

Comments

but the answer link you post has no content about how to disable gravity.

TouchDeeper gravatar image TouchDeeper  ( 2020-07-25 10:03:08 -0600 )edit

Question Tools

Stats

Asked: 2012-03-24 11:02:25 -0600

Seen: 700 times

Last updated: Mar 20 '13