ROS Tutorial User Test Questions
1. How do you find the sensor_msgs package? * write your command line input
rospack find sensor_msgs
2. What is the path of the sensor_msgs package? *
roscd sensor_msgs
pwd
3. What ROS messages are defined in the sensor_msgs package? * write the command line input and the list of messages
rosmsg package sensor_msgs
4. What nodes and topics are created when running roscore? * run roscore and use ROS tools to answer this question
rosnode list
rostopic list
5. What ROS packages does the roscpp_tutorials package depend on? * write your command line input and list the dependencies
rospack depends1 roscpp_tutorials
6. How do you run the talker and listener nodes in the roscpp_tutorials package? * write your command line input
rosrun roscpp_tutorials talker
rosrun roscpp_tutorials listener
7. What topic are the talker and listener nodes subscribing and publishing to? * write the topic name
rosrun rqt_graph rqt_graph
观察发现topic是 /chatter
8. What is the message type of the topic in the previous question. * write the message type
rostopic type /chatter
rosmsg show std_msgs/String
得到的输出是 string data
9. How to get all the information of a node. * write the message type
rosnode info /[NODE]
1. How do you find the sensor_msgs package? * write your command line input
rospack find sensor_msgs
2. What is the path of the sensor_msgs package? *
roscd sensor_msgs
pwd
3. What ROS messages are defined in the sensor_msgs package? * write the command line input and the list of messages
rosmsg package sensor_msgs
4. What nodes and topics are created when running roscore? * run roscore and use ROS tools to answer this question
rosnode list
rostopic list
5. What ROS packages does the roscpp_tutorials package depend on? * write your command line input and list the dependencies
rospack depends1 roscpp_tutorials
6. How do you run the talker and listener nodes in the roscpp_tutorials package? * write your command line input
rosrun roscpp_tutorials talker
rosrun roscpp_tutorials listener
7. What topic are the talker and listener nodes subscribing and publishing to? * write the topic name
rosrun rqt_graph rqt_graph
观察发现topic是 /chatter
8. What is the message type of the topic in the previous question. * write the message type
rostopic type /chatter
rosmsg show std_msgs/String
得到的输出是 string data
9. How to get all the information of a node. * write the message type
rosnode info /[NODE]