ardupilot/libraries/AP_InertialSensor/AP_InertialSensor_UserInteract.h
Andrew Tridgell f3f4b7205c AP_InsertialSensor: added support for MAVLink user interaction
allows APM to ask user to print enter to continue via MAVLink messages
during accel calibration
2013-05-08 16:18:40 +10:00

16 lines
354 B
C++

#ifndef __AP_INERTIAL_SENSOR_USER_INTERACT_H__
#define __AP_INERTIAL_SENSOR_USER_INTERACT_H__
#include <AP_Progmem.h>
/* Pure virtual interface class */
class AP_InertialSensor_UserInteract {
public:
virtual uint8_t blocking_read() = 0;
virtual void _printf_P(const prog_char *, ...) = 0;
};
#endif // __AP_INERTIAL_SENSOR_USER_INTERACT_H__