Skip to content

Instantly share code, notes, and snippets.

@martimorta
Created July 4, 2014 08:13
Show Gist options
  • Save martimorta/64bc08ba9934b1ad7a02 to your computer and use it in GitHub Desktop.
Save martimorta/64bc08ba9934b1ad7a02 to your computer and use it in GitHub Desktop.
ROS launch file to test static transform between two laser frames in answer to: http://answers.ros.org/question/183031/how-can-i-show-two-lasers-in-rviz-one-of-them-in-different-position/
<launch>
<node pkg="tf"
type="static_transform_publisher"
name="link1_broadcaster"
args="0 0 0 0 0 0 world laser1 100" />
<node pkg="tf"
type="static_transform_publisher"
name="link2_broadcaster"
args="1 0 0 0 0 0 world laser2 100" />
<node pkg="rviz"
type="rviz"
name="rviz"/>
</launch>
@martimorta
Copy link
Author

This is the result in rviz and using rqt_graph
test lasers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment