|
ArduCopter
|
#include "Copter.h"Macros | |
| #define | POSHOLD_SPEED_0 10 |
| #define | POSHOLD_BRAKE_TIME_ESTIMATE_MAX (600*4) |
| #define | POSHOLD_BRAKE_TO_LOITER_TIMER (150*4) |
| #define | POSHOLD_WIND_COMP_START_TIMER (150*4) |
| #define | POSHOLD_CONTROLLER_TO_PILOT_MIX_TIMER (50*4) |
| #define | POSHOLD_SMOOTH_RATE_FACTOR 0.0125f |
| #define | POSHOLD_WIND_COMP_TIMER_10HZ 40 |
| #define | LOOP_RATE_FACTOR 4 |
| #define | TC_WIND_COMP 0.0025f |
| #define | POSHOLD_STICK_RELEASE_SMOOTH_ANGLE 1800 |
| #define | POSHOLD_WIND_COMP_ESTIMATE_SPEED_MAX 10 |
Enumerations | |
| enum | poshold_rp_mode { POSHOLD_PILOT_OVERRIDE =0, POSHOLD_BRAKE, POSHOLD_BRAKE_READY_TO_LOITER, POSHOLD_BRAKE_TO_LOITER, POSHOLD_LOITER, POSHOLD_CONTROLLER_TO_PILOT_OVERRIDE } |
| #define LOOP_RATE_FACTOR 4 |
| #define POSHOLD_BRAKE_TIME_ESTIMATE_MAX (600*4) |
| #define POSHOLD_BRAKE_TO_LOITER_TIMER (150*4) |
| #define POSHOLD_CONTROLLER_TO_PILOT_MIX_TIMER (50*4) |
| #define POSHOLD_SMOOTH_RATE_FACTOR 0.0125f |
| #define POSHOLD_SPEED_0 10 |
| #define POSHOLD_STICK_RELEASE_SMOOTH_ANGLE 1800 |
| #define POSHOLD_WIND_COMP_ESTIMATE_SPEED_MAX 10 |
| #define POSHOLD_WIND_COMP_START_TIMER (150*4) |
| #define POSHOLD_WIND_COMP_TIMER_10HZ 40 |
| #define TC_WIND_COMP 0.0025f |
| enum poshold_rp_mode |
| int16_t brake_angle_max_pitch |
| int16_t brake_angle_max_roll |
| float brake_gain |
| int16_t brake_pitch |
| int16_t brake_roll |
| int16_t brake_timeout_pitch |
| int16_t brake_timeout_roll |
| int16_t brake_to_loiter_timer |
| uint8_t braking_time_updated_pitch |
| uint8_t braking_time_updated_roll |
| int16_t controller_final_pitch |
| int16_t controller_final_roll |
| int16_t controller_to_pilot_timer_pitch |
| int16_t controller_to_pilot_timer_roll |
| float pilot_pitch |
| float pilot_roll |
| int16_t pitch |
| poshold_rp_mode pitch_mode |
| int16_t roll |
| poshold_rp_mode roll_mode |
| Vector2f wind_comp_ef |
| int16_t wind_comp_pitch |
| int16_t wind_comp_roll |
| uint16_t wind_comp_start_timer |
| int8_t wind_comp_timer |
1.8.14