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

is it possible to use gazebo with python in ros? Because all the tutorials only use cpp.

asked 2014-03-16 11:45:59 -0600

uzair gravatar image

updated 2016-10-24 08:37:11 -0600

ngrennan gravatar image

I am trying to use Gazebo for making a simulation in ros. But the documentation only shows examples using c plus plus. Is it possible to use python for coding my controllers in gazebo while using it with ros?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2014-03-20 14:42:47 -0600

jpieper gravatar image

updated 2014-03-20 14:43:51 -0600

I've written a simple python interface for gazebo, it may be useful for you. (I can't post links, but google for pygazebo).

edit flag offensive delete link more


Is it possible to do things like getting and setting forces, velocities and positions of models, joints, etc. by using Pygazebo?

kunaltyagi gravatar image kunaltyagi  ( 2014-06-11 14:08:08 -0600 )edit

I've used it to send forces and positions to joints using the default joint controller, although it is capable of any interaction which is possible over the gazebo publish subscribe bus.

jpieper gravatar image jpieper  ( 2014-06-11 19:18:47 -0600 )edit

Question Tools

1 follower


Asked: 2014-03-16 11:45:59 -0600

Seen: 1,359 times

Last updated: Mar 20 '14