跳到主要内容

FrameTransform

3D 空间中两个参考坐标系之间的变换

面板支持

FrameTransform三维面板图像面板中使用。

父级数据结构

FrameTransform 出现在 FrameTransforms 消息数据结构中。

数据结构

字段类型描述
timestamptime变换的时间戳
parent_frame_idstring父坐标系的名称
child_frame_idstring子坐标系的名称
translationVector3变换的平移分量
rotationQuaternion变换的旋转分量

参考实现

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

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

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