7789aec85b
This commit changes the way libraries headers are included in source files: - If the header is in the same directory the source belongs to, so the notation '#include ""' is used with the path relative to the directory containing the source. - If the header is outside the directory containing the source, then we use the notation '#include <>' with the path relative to libraries folder. Some of the advantages of such approach: - Only one search path for libraries headers. - OSs like Windows may have a better lookup time.
27 lines
669 B
C++
27 lines
669 B
C++
|
|
#ifndef __AP_INERTIAL_SENSOR_USER_INTERACT_MAVLINK_H__
|
|
#define __AP_INERTIAL_SENSOR_USER_INTERACT_MAVLINK_H__
|
|
|
|
#include <AP_HAL/AP_HAL.h>
|
|
#include <GCS_MAVLink/GCS_MAVLink.h>
|
|
#include "AP_InertialSensor_UserInteract.h"
|
|
|
|
class GCS_MAVLINK;
|
|
|
|
/**
|
|
* AP_InertialSensor_UserInteract, implemented in terms of a MAVLink connection
|
|
*/
|
|
class AP_InertialSensor_UserInteract_MAVLink : public AP_InertialSensor_UserInteract {
|
|
public:
|
|
AP_InertialSensor_UserInteract_MAVLink(GCS_MAVLINK *gcs) :
|
|
_gcs(gcs) {}
|
|
|
|
bool blocking_read();
|
|
void _printf_P(const prog_char *, ...);
|
|
private:
|
|
GCS_MAVLINK *_gcs;
|
|
};
|
|
|
|
#endif // __AP_INERTIAL_SENSOR_USER_INTERACT_MAVLINK_H__
|
|
|