open-rmf / rmf_site

Experimental visualizer for dense buildings in RMF
32 stars 13 forks source link

Allow spawning submenus only in specific app modes #188

Closed luca-della-vedova closed 9 months ago

luca-della-vedova commented 10 months ago

https://github.com/open-rmf/rmf_site/pull/163 added the ability to spawn menus and submenus through entities. This works well, however it can be tricky to make sure menus are only displayed in a specific state which means adding a new menu entry to the site editor will also display it for the workcell editor and viceversa, while it may not be relevant (i.e. adding lat/lon coordinates to a workcell, or exporting a site to Urdf).

Possible solutions include: