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
Field | Type | Description |
---|---|---|
key | string | Key |
value | string | Value |
Reference Implementation
The visualization data structure is framework-independent and can be implemented using any supported message encoding:
Encoding | Data Structure |
---|---|
ROS 1 | foxglove_msgs/KeyValuePair |
ROS 2 | foxglove_msgs/msg/KeyValuePair |
JSON | foxglove.KeyValuePair |
Protobuf | foxglove.KeyValuePair |
FlatBuffers | foxglove.KeyValuePair |
OMG IDL | foxglove::KeyValuePair |
You must use the data structure names specified above for the visualization to recognize the data structure.