How to create a moving ball
I am new to gazebo and having some trouble doing something simple.
I want to create a ball which moves around in a circle. I did add manage to create a sphere, but when I reopen the world the sphere is stuck half way in the ground.
How do I get it to move? Also how do I set its colour?
I want to add this the Baxter world.
Any help appreciated.
Update:
What version of gazebo are you using?
Version 2, I think.
Have you install libignition-math2-dev?
No, how do I do that?
What version of ubuntu/linux are you using?
Ubuntu 14.04
Can you update your original post with your code, cmake, and commands that you are running?
It was the code from the animated box tutorial,
mkdir build cd build cmake ../ make
Asked by PerceptualRobots on 2016-06-07 04:48:53 UTC
Answers
Please follow these tutorials. The animated box should help you as well.
You can also look at the example code Gazebo provides.
Asked by nkoenig on 2016-06-07 10:03:03 UTC
Comments
Thanks, but that tutorial isn't working I get this error on make,
fatal error: ignition/math.hh: No such file or directory
#include
Asked by PerceptualRobots on 2016-06-08 10:05:19 UTC
What version of gazebo are you using? Have you install libignition-math2-dev? What version of ubuntu/linux are you using? Can you update your original post with your code, cmake, and commands that you are running?
Asked by nkoenig on 2016-06-08 10:08:36 UTC
Comments
gazebo version 2 is deprecated. You should ideally use gazebo7. Ignitionmath2 is not used by gazebo2, so you probably have conflicting software installed. The animated box tutorial you linked to requires gazebo6 or above (see the upper right on that page).
Asked by nkoenig on 2016-06-08 12:50:54 UTC
I am using the Baxter simulation (http://sdk.rethinkrobotics.com/wiki/Simulator_Installation) which uses gazebo2. Do you know if this will work with gazebo7? Or if I try it, then revert if it doesn't?
Asked by PerceptualRobots on 2016-06-08 14:46:05 UTC
I don't know the current state of rethink's baxter simulation. You can try contacting them.
Asked by nkoenig on 2016-06-08 14:48:14 UTC