Hi,
starting the services_quiz_client with
ros2 run services_quiz services_quiz_client "Turn Right" "0.2" "10"
does work but none of those tries to hand over parameters does work
def generate_launch_description():
return LaunchDescription([
Node(
package='services_quiz',
executable='services_quiz_client',
parameters=[
{"direction:": "Turn Right"},
{"angular_velocity:": 0.2},
{"time:": 10}],
output='screen'),
])
or
def generate_launch_description():
return LaunchDescription([
Node(
package='services_quiz',
executable='services_quiz_client',
output='screen'),
DeclareLaunchArgument(
direction='Turn Right',
angular_velocity='0.2',
time='10'),
])
how to properly format the launch file ?