Robotics StackExchange | Archived questions

question to static transform publisher

I'm working with google cartographer and I'm publishing a static transform: <node pkg="tf" ... ... ... args="0 0 0 0 0 0 1 world map 100" />

So my question is what is the difference if I set the args to 0 0 0 0 0 0 0 ?

Asked by S.Yildiz on 2019-01-28 05:12:05 UTC

Comments

Answers

Don't know exactly what will happen but you'ill probably get an error/warning about a quaternion issue. From the wiki :

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.

So that means you would set a quaternion to (0; 0; 0; 0) which is not a correct/existing value for a quaternion.

Note : Never hesitate to try by yourself at first, I'm sure if you did that you would have directly spotted the quaternion issue ;)

Asked by Delb on 2019-01-28 05:24:35 UTC

Comments