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.
24 lines
589 B
24 lines
589 B
#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 |
|
|
|
};
|
|
|