Skip to main content

ArrowPrimitive

A primitive representing an arrow

Parent schema

ArrowPrimitive appears in the SceneEntity message schema.

Schema

fieldtypedescription
posePosePosition of the arrow's tail and orientation of the arrow. Identity orientation means the arrow points in the +x direction.
shaft_lengthfloat64Length of the arrow shaft
shaft_diameterfloat64Diameter of the arrow shaft
head_lengthfloat64Length of the arrow head
head_diameterfloat64Diameter of the arrow head
colorColorColor of the arrow

Reference implementations

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

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

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