I downloaded ros2.repo from ros2 master branch, and the commit id of launch is given above. After i compiled ros2, i tested a simple launch.py which can be executed sucessfully in crystal release. Below is my launch.py:
import os
from launch import LaunchDescription
import launch.actions
import launch_ros.actions
def generate_launch_description():
map_yaml_file = launch.substitutions.LaunchConfiguration('map', default="asdf")
return LaunchDescription([
launch_ros.actions.Node(
package="param_test",
node_executable="set_and_get_parameters",
node_name="set_and_get_parameters",
node_namespace="",
output="screen",
parameters=[{'map_file': map_yaml_file}]
),
launch_ros.actions.Node(
package="param_test",
node_executable="access_other_node_parameters",
node_name="access_other_node_parameters",
node_namespace="",
output="screen",
)
])
Bug report
Required Info:
Ubuntu 18.04
from source
commit: 849824b
Fast-RTPS
Steps to reproduce issue
I downloaded ros2.repo from ros2 master branch, and the commit id of launch is given above. After i compiled ros2, i tested a simple launch.py which can be executed sucessfully in crystal release. Below is my launch.py:
Then i got this error:
Expected behavior
no error