ROS 遇到的问题

来源:互联网 发布:qq三国js技能名 编辑:程序博客网 时间:2024/05/22 00:07

问题1 关于import em的

Traceback (most recent call last):  File "/opt/ros/kinetic/share/gencpp/cmake/../../../lib/gencpp/gen_cpp.py", line 41, in Traceback (most recent call last):  File "/opt/ros/kinetic/share/gencpp/cmake/../../../lib/gencpp/gen_cpp.py", line 41, in     import genmsg.template_tools  File "/opt/ros/kinetic/lib/python2.7/dist-packages/genmsg/template_tools.py", line 39, in     import genmsg.template_tools  File "/opt/ros/kinetic/lib/python2.7/dist-packages/genmsg/template_tools.py", line 39, in     import emImportError: No module named 'em'    import emImportError: No module named 'em'Installing empy fixed that$ pip install empy

问题2

wgb@wgb:~$ sudo rosdep initERROR: default sources list file already exists:/etc/ros/rosdep/sources.list.d/20-default.listPlease delete if you wish to re-initialize

解决办法:sudo rm -rf /etc/ros/rosdep/sources.list.d/*

问题3

wgb@wgb:~$ roslaunch kinect2_bridge kinect2_bridge.launch[kinect2_bridge.launch] is neither a launch file in package [kinect2_bridge] nor is [kinect2_bridge] a launch file nameThe traceback for the exception was written to the log file

解决办法:

wgb@wgb:~/catkin_ws$ source /opt/ros/kinetic/setup.bashwgb@wgb:~/catkin_ws$ source devel/setup.bashwgb@wgb:~/catkin_ws$ echo $ROS_PACKAGE_PATH/home/wgb/catkin_ws/src:/opt/ros/kinetic/share

问题4

问题5

阅读全文
0 0
原创粉丝点击