22 #include "../config/altitudehold.h"
struct rx * rx
Definition: altitudehold.h:42
int32_t vario
Definition: altitudehold.h:31
uint8_t isAltHoldChanged
Definition: altitudehold.h:37
const struct config * config
Definition: altitudehold.h:43
uint8_t velocityControl
Definition: altitudehold.h:27
int32_t setVelocity
Definition: altitudehold.h:26
int32_t althold_get_est_altitude(struct althold *self)
void althold_init(struct althold *self, struct instruments *ins, struct rx *rx, const struct config *config)
int32_t altHoldThrottleAdjustment
Definition: altitudehold.h:29
struct instruments * ins
Definition: altitudehold.h:41
int32_t errorVelocityI
Definition: altitudehold.h:28
void althold_update(struct althold *self)
void althold_calc_altitude(struct althold *self, uint32_t currentTime)
int16_t initialThrottleHold
Definition: altitudehold.h:34
int16_t initialRawThrottleHold
Definition: altitudehold.h:33
void althold_apply(struct althold *self)
int32_t EstAlt
Definition: altitudehold.h:35
Definition: altitudehold.h:25
int32_t AltHold
Definition: altitudehold.h:30
Definition: instruments.h:11
int16_t throttle
output throttle difference
Definition: altitudehold.h:39