You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
589 B
25 lines
589 B
4 years ago
|
#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 */
|
||
|
MovingBase(const MovingBase &other) = delete;
|
||
|
MovingBase &operator=(const MovingBase&) = delete;
|
||
|
|
||
|
enum class Type : int8_t {
|
||
|
RelativeToAlternateInstance = 0,
|
||
|
RelativeToCustomBase = 1,
|
||
|
};
|
||
|
|
||
|
AP_Int8 type; // an option from MovingBaseType
|
||
|
AP_Vector3f base_offset; // base position offset from the selected GPS reciever
|
||
|
|
||
|
};
|