X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fkernel%2Fao_sample.h;h=8e64095b79a407478d1f5af3082f3e26fedbee81;hb=db449c108431cb45bcc572b3a9f6c8b945695e16;hp=04e97e7b29f0c309b1a1a6710cad314d18731dbb;hpb=56310df28e96878c463eb2dae2791652606b4b59;p=fw%2Faltos diff --git a/src/kernel/ao_sample.h b/src/kernel/ao_sample.h index 04e97e7b..8e64095b 100644 --- a/src/kernel/ao_sample.h +++ b/src/kernel/ao_sample.h @@ -156,6 +156,10 @@ extern angle_t ao_sample_orient; extern angle_t ao_sample_orients[AO_NUM_ORIENT]; extern uint8_t ao_sample_orient_pos; #endif +#if HAS_MOTOR_PRESSURE +extern motor_pressure_t ao_ground_motor_pressure; +extern motor_pressure_t ao_sample_motor_pressure; +#endif void ao_sample_init(void); @@ -199,4 +203,8 @@ extern ao_v_t ao_error_a; void ao_kalman(void); +#if !HAS_BARO +void ao_kalman_reset_accumulate(void); +#endif + #endif /* _AO_SAMPLE_H_ */