Complete the code to create a ROS workspace directory named my_ws.
mkdir -p ~/[1]/srcThe standard ROS workspace directory is often named my_ws or catkin_ws. Here, my_ws is the correct name to create the workspace.
Complete the command to initialize a catkin workspace inside the src folder.
cd ~/my_ws/src && [1]catkin_make instead of catkin_init_workspace hererosrun or roslaunch which are for running nodesThe command catkin_init_workspace initializes the src folder as a catkin workspace.
Fix the error in the package.xml file by completing the missing tag for the package name.
<package format="2"> <[1]>my_package</[1]> <version>0.0.1</version> <description>Example package</description> </package>
package or project tags which are invalidThe package.xml requires a <name> tag to specify the package name.
Fill both blanks to complete the CMakeLists.txt command that finds the catkin package and declares dependencies.
find_package([1] REQUIRED) catkin_package( CATKIN_DEPENDS [2] )
cmake instead of catkin in find_packageThe find_package command must find catkin. The catkin_package declares dependencies like std_msgs.
Fill all three blanks to complete the command that builds the workspace, sources the setup file, and runs a node.
cd ~/my_ws && [1] source devel/setup.bash rosrun [2] [3]
roslaunch instead of catkin_make to buildcatkin_make builds the workspace. Then you source the setup file. Finally, rosrun runs the talker node from my_package.
