ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
1

tf static transform publisher

asked 2015-04-07 12:19:24 -0500

nouf gravatar image

in tf static transform publisher, what is the different between
static_transform_publisher x y z yaw pitch roll frame_id child_frame_id period_in_ms
and
static_transform_publisher x y z qx qy qz qw frame_id child_frame_id period_in_ms
and what are the values that i'm suppose to use in args such as:
<node pkg="tf" type="static_transform_publisher" name="link1_broadcaster" args="1 0 0 0 0 0 1 link1_parent link1 100"/>

Thank u.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
6

answered 2015-04-07 13:12:17 -0500

updated 2015-04-07 13:14:17 -0500

The first syntax is using Euler Angles, and the second syntax is using Quaternions. They are just two different methods of representing the angular orientation of one frame relative to another. Typically Euler angles are convenient and easier to imagine, but Quaternions are more robust for numerical integration (e.g., when transitioning through pointing straight up or straight down), which is important in some specific situations.

But if you're just specifying a static transformation from one frame to another, you'll probably be fine with Euler angles, and they are more comprehensible for the next person that comes along and tries to understand the launch file.

edit flag offensive delete link more
1

answered 2015-04-07 13:37:56 -0500

crazymumu gravatar image

http://wiki.ros.org/navigation/Tutori...
This tutorials about publish TF maybe help you.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2015-04-07 12:19:24 -0500

Seen: 7,115 times

Last updated: Apr 07 '15