Timed Out-and-Back in the ArbotiX Simulator

Timed Out-and-Back in the ArbotiX Simulator_第1张图片
ros编译错误.png

问题解决:

$ 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```
问题解决:

  1. 添加可执行节点:
$ 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```

  1. 尝试运行:
$ 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```
结果显示:

![timed_out_and_back.png](http://upload-images.jianshu.io/upload_images/3869738-e01d7d25450a12fd.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)

你可能感兴趣的:(Timed Out-and-Back in the ArbotiX Simulator)