美文网首页
Timed Out-and-Back in the Arboti

Timed Out-and-Back in the Arboti

作者: 橙子潘潘 | 来源:发表于2017-03-13 15:48 被阅读0次
    ros编译错误.png

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

    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](https://img.haomeiwen.com/i3869738/e01d7d25450a12fd.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)

    相关文章

      网友评论

          本文标题:Timed Out-and-Back in the Arboti

          本文链接:https://www.haomeiwen.com/subject/retqnttx.html