int main() { pprz_mode = 1; // diff from 2 and 3 climb_control_task(); #ifdef PRET asm(".word 0x22222222"); #endif }
int main() { pprz_mode = 2; vertical_mode = 0; low_battery = 1; climb_control_task(); #ifdef PRET asm(".word 0x22222222"); #endif }
int main() { pprz_mode = 2; vertical_mode = 0; low_battery = 0; estimator_flight_time = 0; launch = 1; climb_control_task(); #ifdef PRET asm(".word 0x22222222"); #endif }
int main() { pprz_mode = 2; vertical_mode = 2; auto_pitch = 1; desired_climb = max_pitch; climb_sum_err = 0; low_battery = 0; estimator_flight_time = 1; climb_control_task(); #ifdef PRET asm(".word 0x22222222"); #endif }
void vTask_11() { climb_control_task(); }