<big>問題解決:
$ cd /home/cherylpan/catkin_ws/src/rbx1/rbx1_nav/cfg/
$ chmod +x CalibrateLinear.cfg
$ chmod +x CalibrateAngular.cfg```
****
問題描述:
[rosrun] Found the following, but they're either not files,
[rosrun] or not executable:
[rosrun] /home/cherylpan/catkin_ws/src/rbx1/rbx1_nav/nodes```
問題解決:
- 添加可執(zhí)行節(jié)點:
$ cd ~/catkin_ws
$ cd src/rbx1/rbx1_nav/nodes
$ chmod +x timed_out_and_back.py```
2. 編譯:
In your catkin workspace
$ cd ~/catkin_ws
$ catkin_make```
- 嘗試運行:
$ cd ~catkin_ws
$ . devel/setup.bash
$ rosrun rbx1_nav timed_out_and_back.py```
啟動節(jié)點前需啟動模擬器和rviz:
$ roslaunch rbx1_bringup fake_turtlebot.launch```
另開一個終端:
$ rosrun rviz rviz -d `rospack find rbx1_nav`/sim.rviz```
結(jié)果顯示:
![timed_out_and_back.png](http://upload-images.jianshu.io/upload_images/3869738-e01d7d25450a12fd.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)