Gazebo | Ignition | Community
Ask Your Question
1

Is there a way to run gzweb in read-only mode?

asked 2017-05-22 17:48:13 -0500

timn gravatar image

Hi there.

Is there any way to run gzweb in read-only mode? We are considering to use it for a simulation competition (http://www.robocup-logistics.org/sim-...), but for visualization only. For this, we'd like to avoid any interference and thus put gzweb into a mode where no modifications are allowed.

Looking briefly through the code I couldn't find much. But it seems the message processing in gzbridge's GazeboInterface.cc might be a place to modify to just ignore change requests, or is there a better/easier way to achieve this?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2017-05-25 14:14:28 -0500

iche033 gravatar image

unfortunately, there is currently no support for read-only mode. You'll probably have to modify GazeboInterface::ProcessMessages and disable code that processes certain incoming messages that results in gzbridge publishing to the gazebo server, e.g. light, factory, model, world control, entity delete topics

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2017-05-22 17:47:50 -0500

Seen: 288 times

Last updated: May 25 '17