21 #ifndef NPS_AUTOPILOT_H
22 #define NPS_AUTOPILOT_H
28 #include "generated/airframe.h"
38 #ifndef NPS_COMMANDS_NB
39 #if defined MOTOR_MIXING_NB_MOTOR
40 #define NPS_COMMANDS_NB MOTOR_MIXING_NB_MOTOR
41 #elif defined NPS_USE_COMMANDS
42 #define NPS_COMMANDS_NB COMMANDS_NB
44 #define NPS_COMMANDS_NB ACTUATORS_NB
struct NpsAutopilot nps_autopilot
#ifndef NPS_NO_MOTOR_MIXING #include "modules/actuators/motor_mixing.h"
double commands[NPS_COMMANDS_NB]
void nps_autopilot_run_step(double time)
#define NPS_COMMANDS_NB
Number of commands sent to the FDM of NPS.
void sim_overwrite_ins(void)
void nps_autopilot_run_systime_step(void)
void nps_autopilot_init(enum NpsRadioControlType type, int num_script, char *js_dev)
void sim_overwrite_ahrs(void)