Skip to main content

SceneUpdate

An update to the entities displayed in a 3D scene

Panel support​

SceneUpdate is used in the 3D and Image panels.

Schema​

fieldtypedescription
deletionsSceneEntityDeletion[]Scene entities to delete
entitiesSceneEntity[]Scene entities to add or replace
note

Foxglove applies a message's deletions before its entities. To replace everything on a topic, send an ALL deletion together with the full set of entities to display. Entities that keep their id are replaced, entities you leave out are removed, and new entities are added.

An entity with the same id as an existing entity on the topic replaces it entirely. Fields from the previous entity are not merged into the new one.

Reference implementations​

Foxglove messages are framework-agnostic, and can be implemented using any supported message encoding:

encodingschema
ROS 1foxglove_msgs/SceneUpdate
ROS 2foxglove_msgs/msg/SceneUpdate
JSONfoxglove.SceneUpdate
Protobuffoxglove.SceneUpdate
FlatBuffersfoxglove.SceneUpdate
OMG IDLfoxglove::SceneUpdate

You must use the schema names specified above for Foxglove to recognize the schema.