Gazebo | Ignition | Community
Ask Your Question
0

How to create an ellipsoid

asked 2017-03-09 10:34:46 -0600

Kittenator gravatar image

I would like to create an ellipsoid in Gazebo (and use it as static, and only visual, no collision). Reason for that is that I want to show an object and the minimum-volume ellipsoid enclosing the object. I have the algorithm to calculate the ellipsoid, but I don't know how to spawn it in Gazebo (no problem for a sphere, but I can't find any ellipsoid model). Is there any way to do so ? I'm using Gazebo7 and ROS Kinetic.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2017-03-09 13:14:57 -0600

chapulina gravatar image

Unfortunately, there isn't yet an ellipsoid primitive in Gazebo. The only way to use one right now would be to create one with a CAD program and export it to a mesh format supported by Gazebo 7 (COLLADA, STL or OBJ).

Here's a tutorial explaining how to import meshes using SDF:

http://gazebosim.org/tutorials?tut=at...

And here's an issue tracking the feature request for ellipsoid support. You could vote for that issue:

https://bitbucket.org/osrf/gazebo/iss...

edit flag offensive delete link more

Comments

Thank you for the answer, concise and clear. I voted for the issue and will be waiting for the ellipsoid update !

Kittenator gravatar imageKittenator ( 2017-03-13 07:20:55 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2017-03-09 10:34:46 -0600

Seen: 926 times

Last updated: Mar 09 '17