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

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

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

uzair gravatar image

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

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
2

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

jpieper gravatar image

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

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

Comments

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 -0500 )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 -0500 )edit

Question Tools

1 follower

Stats

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

Seen: 1,365 times

Last updated: Mar 20 '14