How to mention "Namespace" tag and value in ros2 launch python script.?
Hi, I am launching ros2 package with a python launch file.
Contents of my launch file are import launch import launch_ros.actions
def generate_launch_description():
return launch.LaunchDescription(
[launch_ros.actions.Node(package='sunny_pkg', node_executable='sunny_node', output='screen',
parameters=[{
'name' : 'Sunny',
'id' : 28}]
),])
How to provide the namespace tag and value in this file. In ROS1, it was simple tag/value, like
<node name="sunny_node" pkg="sunny_pkg" type="sunny" ns="sunny_ns">
Asked by PBMBJOSHI on 2019-08-29 04:29:48 UTC
Comments