Mechanism of ROS static_transform_publisher in tf package

Mechanism of ROS static_transform_publisher in tf package

1. ROS documentation

In Section 6.3 of ROS tf documentation, it says that,

static_transform_publisher x y z yaw pitch roll frame_id child_frame_id period_in_ms
  • Publish a static coordinate transform to tf using an x/y/z offset in meters and yaw/pitch/roll in radians. (yaw is rotation about Z, pitch is rotation about Y, and roll is rotation about X). The period, in milliseconds, specifies how often to send a transform. 100ms (10hz) is a good value.
static_transform_publisher x y z qx qy qz qw frame_id child_frame_id period_in_ms
  • Publish a static coordinate transform to tf using an x/y/z offset in meters and quaternion. The period, in milliseconds, specifies how often to send a transform. 100ms (10hz) is a good value.

static_transform_publisher is designed both as a command-line tool for manual use, as well as for use within roslaunch files for setting static transforms. For example:

   1 <launch>
   2 <node pkg="tf" type="static_transform_publisher" name="link1_broadcaster" args="1 0 0 0 0 0 1 link1_parent link1 100" />
   3 </launch>

However, the question is that how does it transform a point. The document hardly mentions this point. This blog

2. Assumptions and Experiments

Arguments in ROS documents is args="1 0 0 0 0 0 1 link1_parent link1 100" which is too simple to find its mechanism.

2.1 Assumption 1

A most common formulation for the Rotation-translation (Rt for short) transformation can be formulated as follows,
p 2 = R p 1 + t , p_2 = \mathbf{R}p_1+t, p2=Rp1+t,
where, the 31 point p 1 p_1 p1 is project to the 31 point p 2 p_2 p2.

  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值