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

Revision history [back]

click to hide/show revision 1
initial version

ROS developers generally use the tf2 library to represent different coordinate frames of the robot. tf2 represents data in a tree data structure.

Use of tf_broadcaster: For each new sensor you add you might need one or more coordinate frames (physical location of sensor, origin of sensor data etc.) to be added into the tree. The transform broadcaster class API lets you do that. So you will need a transform broadcaster in each of your sensor nodes. Use that to add transforms for your four range messages, one laser scan messages and any other supplementary coordinate frame you might need.

Use of tf_listener: Once you have your tree with all required transforms, other nodes that need transformations between coordinate frames can directly access these to perform whatever function they're intended to. So in those nodes, you will need a transform listener that gets you the transforms between any two frames.

Hope this helps!

ROS developers generally use the tf2 library to represent different coordinate frames of the robot. tf2 represents data in a tree data structure.

Use of tf_broadcaster: For each new sensor you add you might need one or more coordinate frames (physical location of sensor, origin of sensor data etc.) to be added into the tree. The transform broadcaster class API lets you do that. So you will need a transform broadcaster in each of your sensor nodes. Use that to add transforms for your four range messages, one laser scan messages and any other supplementary coordinate frame you might need.

Use of tf_listener: Once you have your tree with all required transforms, other nodes that need transformations between coordinate frames can directly access these to perform whatever function they're intended to. So in those nodes, you will need a transform listener that gets you the transforms between any two frames.

Hope this helps!

ROS developers generally use the tf2 library to represent different coordinate frames of the robot. tf2 represents data in a tree data structure.

Use of tf_broadcaster: For each new sensor you add you might need one or more coordinate frames (physical location of sensor, origin of sensor data etc.) to be added into the tree. The transform broadcaster class API lets you do that. So you will need a transform broadcaster in each of your sensor nodes. Use that to add transforms for your four range messages, one laser scan messages and any other supplementary coordinate frame you might need.

Use of tf_listener: Once you have your tree with all required transforms, other nodes that need transformations between coordinate frames can directly access these to perform whatever function they're intended to. So in those nodes, you will need a transform listener that gets you the transforms between any two frames.

Hope this helps!

ROS developers generally use the tf2 library to represent different coordinate frames of the robot. tf2 represents data in a tree data structure.

Use of tf_broadcaster: For each new sensor you add you might need one or more coordinate frames (physical location of sensor, origin of sensor data etc.) to be added into the tree. The transform broadcaster class API lets you do that. So you will need a transform broadcaster in each of your sensor nodes. Use that to add transforms for your four range messages, one laser scan messages and any other supplementary coordinate frame you might need.

Use of tf_listener: Once you have your tree with all required transforms, other nodes that need transformations between coordinate frames can directly access these to perform whatever function they're intended to. So in those nodes, you will need a transform listener that gets you the transforms between any two frames.

Hope this helps!