예제 #1
0
int main() {

    pprz_mode = 1; // diff from 2 and 3

  climb_control_task();
#ifdef PRET
    asm(".word 0x22222222");
#endif

}
예제 #2
0
int main() {

    pprz_mode = 2; 
    vertical_mode = 0;
    low_battery = 1;

  climb_control_task();
#ifdef PRET
    asm(".word 0x22222222");
#endif

}
예제 #3
0
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

}
예제 #4
0
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

}
예제 #5
0
void vTask_11()
{
    climb_control_task();
}