问题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 em
ImportError: No module named 'em'
import em
ImportError: No module named 'em'
Installing empy fixed that
$ pip install empy
问题2
wgb@wgb:~$ sudo rosdep init
ERROR: default sources list file already exists:
/etc/ros/rosdep/sources.list.d/20-default.list
Please 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 name
The traceback for the exception was written to the log file
解决办法:
wgb@wgb:~/catkin_ws$ source /opt/ros/kinetic/setup.bash
wgb@wgb:~/catkin_ws$ source devel/setup.bash
wgb@wgb:~/catkin_ws$ echo $ROS_PACKAGE_PATH
/home/wgb/catkin_ws/src:/opt/ros/kinetic/share
问题4
问题5