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

I figured it out. The correct way to pass argument is as a list of strings, as in your first attempt. The issue is simply the last argument '100'. Try creating the node as follows.

transform = launch_ros.actions.Node(package='tf2_ros', node_executable='static_transform_publisher',
    arguments=['-0.07', '0', '0', '3.14159', '0', '0', 'base_link', 'laser'])