平台:ubuntu16.04+ROS Kkinetic+Gazebo8.0
(1)rotors_hil_interface问题
参考https://github.com/ethz-asl/rotors_simulator/issues/523
或直接
在rotors_hil_interface/include/rotors_hil_interface/hil_interface.h中添加如下代码:
#include <mavros_msgs/HilControls.h>
#include <mavros_msgs/mavlink_convert.h>
#ifndef MAVLINK_H
typedef mavlink::mavlink_message_t mavlink_message_t;
#include <mavlink/v2.0/common/mavlink.h>
#endif
#include <rotors_hil_interface/hil_listeners.h>
namespace rotors_hil {
(2)Could not find a package configuration file provided by "geographic_msgs"
sudo apt-get install ros-kinetic-geographic-msgs
(3)缺少furture:ImportError: No module named 'future'
sudo apt-get install python-pip
pip install --upgrade pip
pip install future
(4)Could NOT find GeographicLib(这个不是很确定了)
sudo apt-get install libgeographic-dev