Complete the code to start a ROS node using a launch file.
<launch> <node pkg="my_package" type="my_node" name="[1]"/> </launch>
The name attribute sets the node's name in the launch file.
Complete the code to include a parameter in the launch file.
<launch> <param name="robot_speed" value="[1]"/> </launch>
The value attribute sets the parameter's value, here a number for speed.
Fix the error in the launch file to correctly start two nodes.
<launch> <node pkg="pkg1" type="node1" name="node1"/> <node pkg="pkg2" type="[1]" name="node2"/> </launch>
The type attribute must match the executable name of the second node.
Fill both blanks to launch a node with a remapped topic.
<launch> <node pkg="my_pkg" type="talker" name="talker_node"> <remap from="[1]" to="[2]"/> </node> </launch>
from and to values.The from attribute is the original topic, and to is the new topic name.
Fill all three blanks to launch a node with a parameter and output to screen.
<launch> <node pkg="my_pkg" type="listener" name="listener_node" output="[1]"> <param name="[2]" value="[3]"/> </node> </launch>
output="screen" shows node output in the terminal.
The parameter debug_mode is set to true.
