Practice - 5 Tasks
Answer the questions below
1fill in blank
easyComplete the command to start the ROS master node.
ROS
ros[1]Attempts:
3 left
💡 Hint
Common Mistakes
Using 'rosrun' instead of 'roscore'.
Typing 'rosstart' which is not a valid command.
✗ Incorrect
The command 'roscore' starts the ROS master node along with other essential components.
2fill in blank
mediumComplete the command to check if the ROS master is running.
ROS
ros[1]Attempts:
3 left
💡 Hint
Common Mistakes
Using 'rosnode' to check master status directly.
Using 'rostopic' which is for topics, not master.
✗ Incorrect
The command 'rosmaster' is not valid, but 'rosmaster' is often confused. The correct command to check master info is 'rosmaster' or 'rosnode list' but here 'ros master' is the closest to check master status.
3fill in blank
hardFix the error in the command to start the ROS master.
ROS
ros[1]Attempts:
3 left
💡 Hint
Common Mistakes
Adding extra words like 'start' or 'run' before 'core'.
Using 'roslaunch' which starts launch files, not the master alone.
✗ Incorrect
The correct command to start the ROS master is 'roscore'. Variations like 'rosstartcore' or 'rosruncore' are invalid.
4fill in blank
hardFill both blanks to complete the command that lists all active ROS nodes.
ROS
ros[1] listAttempts:
3 left
💡 Hint
Common Mistakes
Using 'rostopic list' which lists topics, not nodes.
Using 'rosparam list' which lists parameters.
✗ Incorrect
The command 'rosnode list' shows all active ROS nodes. The blank is repeated because the command is 'rosnode list'.
5fill in blank
hardFill all three blanks to complete the command that shows the status of the ROS master.
ROS
ros[1] [2] [3]
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'rosnode info list' which shows node info, not master info.
Using 'rostopic info list' which is for topics.
✗ Incorrect
The command 'rosmaster info list' is used to show information about the ROS master and list its components.
