[rosrun] Couldn’t find executable named person_cilent below /home/bruce/catkin_ws/src/learning_service
出现这个问题
是我在运行 rosrun learning_service person_cilent 时,输入错误。
应该是:rosrun learning_service person_client
[ 63%] Built target learning_service_gencpp
[100%] Built target person_server
[100%] Built target person_client
bruce@bruce-desktop:~/catkin_ws$ source devel/setup.bash
bruce@bruce-desktop:~/catkin_ws$
bruce@bruce-desktop:~/catkin_ws$
bruce@bruce-desktop:~/catkin_ws$
bruce@bruce-desktop:~/catkin_ws$ rosrun learning_service person_cilent
[rosrun] Couldn't find executable named person_cilent below /home/bruce/catkin_ws/src/learning_service
bruce@bruce-desktop:~/catkin_ws$ rosrun learning_service person_server
[ INFO] [1577255201.414970618]: Ready to show person informtion.
[ INFO] [1577255391.273861075]: Person: name:Tom age:20 sex:1
[ INFO] [1577255424.187755182]: Person: name:Tom age:20 sex:1
[ INFO] [1577255426.140100513]: Person: name:Tom age:20 sex:1