Skip to main content

KeyValuePair

A key-value pair containing a key and its associated value.

Parent Data Structure

KeyValuePair appears in the SceneEntity message data structure.

Data Structure

FieldTypeDescription
keystringKey
valuestringValue

Reference Implementation

The visualization data structure is framework-independent and can be implemented using any supported message encoding:

EncodingData Structure
ROS 1foxglove_msgs/KeyValuePair
ROS 2foxglove_msgs/msg/KeyValuePair
JSONfoxglove.KeyValuePair
Protobuffoxglove.KeyValuePair
FlatBuffersfoxglove.KeyValuePair
OMG IDLfoxglove::KeyValuePair

You must use the data structure names specified above for the visualization to recognize the data structure.