ArrowPrimitive
Represents a visual arrow used to indicate direction or orientation in 3D space.
Panel support
ArrowPrimitive
can be displayed in the following panels: 3D.
Schema
Field | Type | Description |
---|---|---|
pose | Pose | Defines the tail position and direction of the arrow. A neutral rotation points it along the +X axis. |
shaft_length | float64 | Total length of the arrow's shaft segment. |
shaft_diameter | float64 | Diameter of the cylindrical shaft section. |
head_length | float64 | Length of the arrowhead portion. |
head_diameter | float64 | Diameter of the arrowhead base. |
color | Color | Single color applied to the entire arrow, including shaft and head. |
Reference implementations
Foxglove schemas are designed to be cross-platform and are compatible with multiple encoding formats. Use the exact schema names listed below to ensure compatibility:
Encoding | Schema |
---|---|
ROS 1 | foxglove_msgs/ArrowPrimitive |
ROS 2 | foxglove_msgs/msg/ArrowPrimitive |
JSON | foxglove.ArrowPrimitive |
Protobuf | foxglove.ArrowPrimitive |
FlatBuffers | foxglove.ArrowPrimitive |
OMG IDL | foxglove::ArrowPrimitive |