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