/* * Example of AP_Parachute library. * DIYDrones.com */ #include #include // ArduPilot Mega Vector/Matrix math Library #include #include #include #include #include #include #include void setup(); void loop(); const AP_HAL::HAL& hal = AP_HAL::get_HAL(); // Relay static AP_Relay relay; // Parachute static AP_Parachute parachute{relay}; void setup() { hal.console->printf("AP_Parachute library test\n"); } void loop() { // print message to user hal.console->printf("this example tests compilation only"); hal.scheduler->delay(5000); } AP_HAL_MAIN();