Ask Your Question
2

Why do we use Rviz when we have Gazebo ?

asked 2019-02-21 21:16:00 -0600

Neko gravatar image

Hi, I have this kind of curious question. Because if I google for the difference between RVIZ and Gazebo they give me the result like. Gazebo is a real world simulator(with visualization tools) and, Rviz is just a visualization tools. So why do we need a visualization tools when we already have a real world simulator with visualization tool. What can Rviz do that Gazebo can’t do ?

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
8

answered 2019-02-22 10:00:36 -0600

gvdhoorn gravatar image

updated 2019-03-03 15:12:43 -0600

So why do we need a visualization tools when we already have a real world simulator with visualization tool.

because most of the times we have the actual real world (in which our robots walk/fly/drive/crawl/swim/move/etc), so we don't need a simulation of it, but we would still like to visualise data going around in our ROS applications.


Edit: some clarification: the point here is that Gazebo couples the visualisation with the simulation, which makes it near impossible to use the visualisation component without the simulation (yes, gzserver and gzclient are separate binaries, but they're still rather tightly coupled). So with that in mind, it makes sense to have a separate visualisation tool (RViz in this case) that can be used without the simulator. Note also that RViz and Gazebo have always been separate projects, they just happen to both have been developed/curated/maintained by WillowGarage/OSRF/OR at some point.

Most use-cases for ROS actually wouldn't even include a simulator (any simulator, not just "not Gazebo"), so forcing people to use that would not make much sense.

If with your question you implied that it would be good -- from a software re-use perspective -- to not duplicate the visualisation aspects of RViz and the Gazebo UI, then I would fully agree with you. Unfortunately it would seem the ROS and Gazebo development teams don't share that opinion (or don't seem to want to act on it).

edit flag offensive delete link more

Your Answer

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

Add Answer

Question Tools

1 follower

Stats

Asked: 2019-02-21 21:16:00 -0600

Seen: 525 times

Last updated: Mar 03