
<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```
问题解决:
- 添加可执行节点:
$ 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```
启动节点前需启动模拟器和rviz:
$ roslaunch rbx1_bringup fake_turtlebot.launch```
另开一个终端:
$ rosrun rviz rviz -d `rospack find rbx1_nav`/sim.rviz```
结果显示:

网友评论