2020-09-29 16:47:37 -03:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <AP_Param/AP_Param.h>
|
|
|
|
#include <AP_Math/AP_Math.h>
|
|
|
|
|
|
|
|
class MovingBase {
|
|
|
|
public:
|
|
|
|
static const struct AP_Param::GroupInfo var_info[];
|
|
|
|
|
|
|
|
MovingBase(void);
|
|
|
|
|
|
|
|
/* Do not allow copies */
|
2022-09-30 06:50:43 -03:00
|
|
|
CLASS_NO_COPY(MovingBase);
|
2020-09-29 16:47:37 -03:00
|
|
|
|
|
|
|
enum class Type : int8_t {
|
|
|
|
RelativeToAlternateInstance = 0,
|
|
|
|
RelativeToCustomBase = 1,
|
|
|
|
};
|
|
|
|
|
|
|
|
AP_Int8 type; // an option from MovingBaseType
|
2023-04-05 01:43:11 -03:00
|
|
|
AP_Vector3f base_offset; // base position offset from the selected GPS receiver
|
2020-09-29 16:47:37 -03:00
|
|
|
|
|
|
|
};
|