Mistyped code in 3 - Broadcast & Listen to TF data

In the launcher of the Static Broadcaster there is a mistyping error, instead of st_pub, it must be static_tf_pub
publish_static_transform_odom_to_world.launch.py


#! /usr/bin/env python3
from launch import LaunchDescription
from launch_ros.actions import Node


def generate_launch_description():

    static_tf_pub = Node(
        package='tf2_ros',
        executable='static_transform_publisher',
        name='static_transform_publisher_turtle_odom',
        output='screen',
        emulate_tty=True,
        arguments=['0', '0', '0', '0', '0', '0', 'world', 'odom']
    )

    return LaunchDescription(
        [
            st_pub
        ]
    )

Thanks for the issue notification :wink: It helps us a ton!

Updated the change ;). Thanks for the report :wink:

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.