Skip to content

Instantly share code, notes, and snippets.

@ArghyaChatterjee
Forked from bsubei/camera_tf.launch
Created March 12, 2022 21:37
Show Gist options
  • Save ArghyaChatterjee/6b413dad33fd6c7375c8b52c263bfce4 to your computer and use it in GitHub Desktop.
Save ArghyaChatterjee/6b413dad33fd6c7375c8b52c263bfce4 to your computer and use it in GitHub Desktop.
static tf publisher launch file for camera
<launch>
<node pkg="tf" type="static_transform_publisher" name="camera_to_optical_tf" args="0 0 0 -1.570796 0 -1.570796 camera camera_optical 10" />
<!-- TODO set these actual transform values based on real robot!!! -->
<node pkg="tf" type="static_transform_publisher" name="base_footprint_to_base_link" args="0 0 0 0 0 0 base_footprint base_link 10" />
<node pkg="tf" type="static_transform_publisher" name="base_link_to_camera_tf" args="0 0 1.0 0 0.78539816339 0 base_link camera 10" />
</launch>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment