Complete the code to set a parameter named 'robot_speed' to 1.0 in the launch file.
<launch> <param name="robot_speed" value="[1]" /> </launch>
The <param> tag sets a parameter with the given name and value. Here, 'robot_speed' is set to 1.0.
Complete the code to set a parameter 'use_sim_time' to true in the launch file.
<launch> <param name="use_sim_time" value="[1]" /> </launch>
The use_sim_time parameter is a boolean and should be set to true without quotes.
Fix the error in the launch file to correctly set the parameter 'max_velocity' to 2.5.
<launch> <param name="max_velocity" value="[1]" /> </launch>
When the value attribute is not quoted, it causes an error. The numeric value should be inside quotes as a string in XML.
Fill both blanks to set parameters 'robot_name' to 'alpha' and 'robot_id' to 42 in the launch file.
<launch> <param name="robot_name" value="[1]" /> <param name="robot_id" value="[2]" /> </launch>
String values must be quoted, so 'alpha' is "alpha". Numeric values like 42 do not need quotes but can be quoted as strings.
Fill all three blanks to set parameters 'enable_logging' to true, 'log_level' to 'debug', and 'max_retries' to 5.
<launch> <param name="enable_logging" value="[1]" /> <param name="log_level" value="[2]" /> <param name="max_retries" value="[3]" /> </launch>
Boolean true is unquoted, string 'debug' must be quoted, and number 5 can be unquoted.
