Ros问题汇总


1.ImportError: No module named beginner_tutorials.srv

解决:

cd ~/catkin_ws
$ source devel/setup.bash
$ rosrun beginner_tutorials add_two_ints_server.py

 2.roscreat-pkg: command not found

catkin_create_pkg smartcar_description urdf

 

3.the config file '/opt/ros/indigo/share/urdf_tutorial/urdf.vcg' is a .vcg file, which is the old rviz config format.

将launch文件最后vcg改成rviz;

<node name="rviz" pkg="rviz" type="rviz" args="-d $(find urdf_tutorial)/urdf.rviz" />  
 
</launch>

 4.[base.urdf.rviz.launch] is neither a launch file in package [smartcar_description] nor is [smartcar_description] a launch file name

$ cd ~/catkin_ws
$ source devel/setup.bash

5.ERROR: the config file '/home/yrm/smartcar/src/smartcar_description/urdf.vcg' is a .vcg file, which is the old rviz config format.

把launch文件中的urdf.vcg改为urdf.rviz

 6.E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission d。。。。。。

1、ps-aux 查出apt-get进程的PID,通常是一个四位数字。

2、用sudo kill PID代码 杀死进程

3、用sudo apt-get update,sudo apt-get dist-upgrade升级。

 7.ERROR: cannot launch node of type [arbotix_python/arbotix_driver]: arbotix_python

没有安装arbotix包

$ sudo apt-get install ros-indigo-arbotix-*

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM