Robotics StackExchange | Archived questions

Can Gazebo do 2D 'flatland' only simulation

I'm looking at various 2D simulators (Flatland and STDR) but am already quite used to using Gazebo, is it possible to run Gazebo in a 2D mode (like set all Z=0 to squash everything?) IF the sensors and wheels were on the outside edges of the robot I'm thinking it might work?

I'm 90% sure the answer to this is "No, this won't work today". If that's true then my follow up question would be can it be done in a future release as a plugin (in Ignition maybe)?

Asked by mkhansen on 2020-02-28 17:29:51 UTC

Comments

It doesn't sound like you actually want a dynamics simulation engine as much as a kinematics and creating 2D data like from a laser. I think flatland or other simulators (Player, specifically) are the right toolsets.

Don't expect Gazebo to ever have this - that's not really the value proposition of that work. https://en.wikipedia.org/wiki/Player_Project

Asked by stevemacenski on 2020-02-28 17:45:56 UTC

In addition to what @stevemacenski writes: seeing as this is purely a Gazebo question, I would suggest to ask this over at answers.gazebosim.org.

If you do, please post a comment here with a link to your new question, so we keep things connected.

Asked by gvdhoorn on 2020-02-29 05:03:00 UTC

Thanks for pointing out flatland! I hadn't heard about it before.

Asked by Mbuijs on 2020-09-22 14:20:41 UTC

Answers

Ignition Gazebo ships with a 2.5D physics engine, see Announcing new physics engine TPE (Trivial Physics Engine).

It's also possible to integrate other physics engines, 2D or 3D, see Use custom engine with Ignition Physics.

Asked by chapulina on 2021-09-26 21:20:27 UTC

Comments