Skip to main content

Primitive Representing an Arrow

ArrowPrimitive is a primitive that represents an arrow.

Parent Schema​

ArrowPrimitive appears in the SceneEntity message schema.

Schema Definition​

FieldTypeDescription
posePosePosition of the arrow tail and orientation of the arrow. Unit 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

References​

coScene's schema types are framework-independent and can be implemented using any supported message encoding format.

Encoding FormatSchema Name
ROS 1foxglove_msgs/ArrowPrimitive
ROS 2foxglove_msgs/msg/ArrowPrimitive
JSONfoxglove.ArrowPrimitive
Protobuffoxglove.ArrowPrimitive
FlatBuffersfoxglove.ArrowPrimitive
OMG IDLfoxglove::ArrowPrimitive

Note: You must use the schema names specified above for coScene to recognize them correctly.