ROS黑色灯泡毛刺
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ROS黑色灯泡毛刺相关的知识,希望对你有一定的参考价值。
硬件:Raspberry Pi 3
操作系统:Raspbian Stretch
ROS:动力学
当试图将mavros添加到pre-made image时,我rosdep
抛出错误。
按照source installation说明的指示,我最终排队:
rosdep install --from-paths src --ignore-src -y
但得到错误:
ERROR: the following packages/stacks could not have their rosdep keys resolved
to system dependencies:
image_geometry: No definition of [opencv3] for OS version [stretch]
mavros: No definition of [geographic_msgs] for OS version [stretch]
mavros_msgs: No definition of [geographic_msgs] for OS version [stretch]
mavros_extras: No definition of [tf] for OS version [stretch]
test_mavros: No definition of [control_toolbox] for OS version [stretch]
cv_bridge: No definition of [opencv3] for OS version [stretch]
因为我在Raspbian Stretch,我改为使用命令:
rosdep install -y –from-paths src –ignore-src –rosdistro kinetic -r –os=debian:stretch
但得到错误:
ERROR: Rosdep cannot find all required resources to answer your query
Missing resource –from-paths
ROS path [0]=/home/pi/ros_catkin_ws/build/opt/ros/kinetic/share/ros
ROS path [1]=/home/pi/rosbots_catkin_ws/src
ROS path [2]=/home/pi/ros_catkin_ws/build/opt/ros/kinetic/share
我甚至尝试过this method,但是,我的Raspberry Pi上仍然没有mavros (kinetic)
。
答案
我不认为你需要从源代码编译。
为什么不用apt-get安装?
试试sudo apt-get install ros-kinetic-mavros?
以上是关于ROS黑色灯泡毛刺的主要内容,如果未能解决你的问题,请参考以下文章