|
|
@ -235,7 +235,6 @@ private: |
|
|
|
uint8_t initialised : 1; // true once the init_ardupilot function has completed. Extended status to GCS is not sent until this completes
|
|
|
|
uint8_t initialised : 1; // true once the init_ardupilot function has completed. Extended status to GCS is not sent until this completes
|
|
|
|
uint8_t system_time_set : 1; // true if the system time has been set from the GPS
|
|
|
|
uint8_t system_time_set : 1; // true if the system time has been set from the GPS
|
|
|
|
uint8_t gps_base_pos_set : 1; // true when the gps base position has been set (used for RTK gps only)
|
|
|
|
uint8_t gps_base_pos_set : 1; // true when the gps base position has been set (used for RTK gps only)
|
|
|
|
enum HomeState home_state : 2; // home status (unset, set, locked)
|
|
|
|
|
|
|
|
uint8_t at_bottom : 1; // true if we are at the bottom
|
|
|
|
uint8_t at_bottom : 1; // true if we are at the bottom
|
|
|
|
uint8_t at_surface : 1; // true if we are at the surface
|
|
|
|
uint8_t at_surface : 1; // true if we are at the surface
|
|
|
|
uint8_t depth_sensor_present: 1; // true if there is a depth sensor detected at boot
|
|
|
|
uint8_t depth_sensor_present: 1; // true if there is a depth sensor detected at boot
|
|
|
@ -459,8 +458,6 @@ private: |
|
|
|
void update_turn_counter(); |
|
|
|
void update_turn_counter(); |
|
|
|
void read_AHRS(void); |
|
|
|
void read_AHRS(void); |
|
|
|
void update_altitude(); |
|
|
|
void update_altitude(); |
|
|
|
void set_home_state(enum HomeState new_home_state); |
|
|
|
|
|
|
|
bool home_is_set(); |
|
|
|
|
|
|
|
float get_smoothing_gain(); |
|
|
|
float get_smoothing_gain(); |
|
|
|
void get_pilot_desired_lean_angles(float roll_in, float pitch_in, float &roll_out, float &pitch_out, float angle_max); |
|
|
|
void get_pilot_desired_lean_angles(float roll_in, float pitch_in, float &roll_out, float &pitch_out, float angle_max); |
|
|
|
float get_pilot_desired_yaw_rate(int16_t stick_angle); |
|
|
|
float get_pilot_desired_yaw_rate(int16_t stick_angle); |
|
|
|