跳到主要内容

Point3

表示三维空间中位置的点

父数据结构

Point3 出现在 LinePrimitiveTriangleListPrimitive 消息数据结构中。

数据结构

字段类型描述
xfloat64x 坐标位置
yfloat64y 坐标位置
zfloat64z 坐标位置

参考实现

可视化数据结构是框架无关的,可以使用任何支持的消息编码方式实现:

编码方式数据结构
ROS 1geometry_msgs/Point
ROS 2geometry_msgs/msg/Point
JSONfoxglove.Point3
Protobuffoxglove.Point3
FlatBuffersfoxglove.Point3
OMG IDLfoxglove::Point3

您必须使用上面指定的数据结构名称,以便可视化能够识别该数据结构。