首页 > 学院 > 开发设计 > 正文

ROS 环境配置问题

2019-11-08 03:08:08
字体:
来源:转载
供稿:网友
如果 roslaunch beginner_tutorials turtlemimic.launch 发现[turtlemimic.launch] is neither a launch file in package [beginner_tutorials] nor is [beginner_tutorials] a launch file nameThe traceback for the exception was written to the log file或者如果执行$ roscd beginner_tutorials命令roscd说类似于:No such package/stack 'beginner_tutorials'你需要启动环境变量设置的文件,像你之前在create_a_workspace教程末尾中做的一样。$ cd ~/catkin_ws$ source devel/setup.bash$ roscd beginner_tutorialshttp://m.blog.csdn.net/article/details?id=51220964至此、ROS的环境就已经设置好了!但是,为了保证每次打开bash的时候,保证workspace在环境中,我们还需要做一些工作:在用户的主文件夹下找到”.bashrc”文件,然后在最后加上export ROS_PACKAGE_PATH=~/wenweiming/LearnRos/PRoject2:$ROS_PACKAGE_PATH如下图所示这里写图片描述这样以后新建的工作空间都在bash中了。
发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表