Qualcomm Navigator Flight Control Interface
2.0
|
#include <csignal>
#include <iostream>
#include "api/flight_control_interface.hpp"
Functions | |
void | signal_handler (int sig_num) |
int | main (int argc, char *argv[]) |
This is an example of a trajectory-following mission. More... | |
int main | ( | int | argc, |
char * | argv[] | ||
) |
This is an example of a trajectory-following mission.
It uses nonblocking versions of action functions to simplify the flow of the program to a single thread (multiple threads are managed internal to FCI). It also demonstrates the use of the FlightControlInterface::preempt_current_action() function by handling the SIGINT signal.