跳到主要内容

表示箭头的基本图形

ArrowPrimitive 是一种表示箭头的基本图形。

父架构

ArrowPrimitive 出现在 SceneEntity 消息架构中。

架构定义

字段类型描述
posepose箭头尾部的位置和箭头的方向。单位方向意味着箭头指向 + x 方向。
shaft_lengthfloat64箭杆的长度
shaft_diameterfloat64箭杆的直径
head_lengthfloat64箭头的长度
head_diameterfloat64箭头的直径
colorcolor箭头的颜色

参考

coScene 的架构类型(schemas)是与框架无关的,可以使用任何受支持的消息编码格式来实现。

编码格式Schema 名称
ROS 1foxglove_msgs/ArrowPrimitive
ROS 2foxglove_msgs/msg/ArrowPrimitive
JSONfoxglove.ArrowPrimitive
Protobuffoxglove.ArrowPrimitive
FlatBuffersfoxglove.ArrowPrimitive
OMG IDLfoxglove::ArrowPrimitive

注意:必须使用上述指定的 schema 名称,coScene 才能正确识别。