Ask Your Question
0

Problems Creating a Gazebo Plugin

asked 2012-06-08 00:56:38 -0600

jplpinto gravatar image

updated 2014-01-28 17:12:36 -0600

ngrennan gravatar image

I'm trying to simulate a tricycle robot using Gazebo that comes with ROS. I know how to create the simulation model that, however I've been unable to control the robot's movement. From what I've understood from the tutorials and forums, I need to create a plugin. To do so, I've tried to follow this tutorial: http://ros.org/wiki/simulator_gazebo/Tutorials/GazeboPluginIntro . However, I've been unable to compile the simple_world_plugin.

Does anyone know of a better step by step tutorial regarding this issue?

Thank you for your attention.

edit retag flag offensive close merge delete

Comments

3

Are you on ROS electric or fuerte? The plugin API changed between versions, so that could explain your error.

Stefan Kohlbrecher gravatar imageStefan Kohlbrecher ( 2012-06-08 01:35:46 -0600 )edit

I'm currently using diamondback. Which one should i use for this tutorial!?

jplpinto gravatar imagejplpinto ( 2012-06-08 02:18:13 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted
0

answered 2012-06-08 05:19:40 -0600

joq gravatar image

The tutorial you reference says it is for ROS Fuerte, which has an entirely new version of Gazebo (1.0).

You should probably upgrade to Fuerte, then try the tutorial again.

edit flag offensive delete link more
0

answered 2012-06-15 09:21:24 -0600

dmeltz gravatar image

updated 2012-06-15 09:35:08 -0600

I using ROS Fuerte with Ubuntu 12.04 but still i has a similar problem. I follow, step by step, the instructions on http://ros.org/wiki/simulator_gazebo/Tutorials/GazeboPluginIntro

but when i type "rosmake" I get an error :

/home/daniel/ros_workspace/gazebo_tutorials/src/simple_world_plugin.cpp:1:20: fatal error: gazebo.h: No such file or directory compilation terminated.

I tried to update ROS by typing "sudo apt-get install ros-fuerte-desktop-full" but still, the problem remains.

a better step by step tutorial is definitely needed.

edit flag offensive delete link more

Comments

This seems like a new question. It is hard to answer an "answer" in this forum. Would you mind asking it as a separate question?

joq gravatar imagejoq ( 2012-06-15 09:45:32 -0600 )edit

you're probably right, I will open a new question.

dmeltz gravatar imagedmeltz ( 2012-06-15 23:18:04 -0600 )edit

Your Answer

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

Add Answer

Question Tools

2 followers

Stats

Asked: 2012-06-08 00:56:38 -0600

Seen: 426 times

Last updated: Jun 15 '12