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

Can Gazebo do 2D 'flatland' only simulation

asked 2020-02-28 16:29:51 -0500

mkhansen gravatar image

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)?

edit retag flag offensive close merge delete



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.

stevemacenski gravatar image stevemacenski  ( 2020-02-28 16:45:56 -0500 )edit

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

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

gvdhoorn gravatar image gvdhoorn  ( 2020-02-29 04:03:00 -0500 )edit

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

Mbuijs gravatar image Mbuijs  ( 2020-09-22 14:20:41 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2021-09-26 21:20:27 -0500

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.

edit flag offensive delete link more

Question Tools



Asked: 2020-02-28 16:29:51 -0500

Seen: 714 times

Last updated: Sep 26 '21