Paparazzi UAS v7.1_unstable
Paparazzi is a free software Unmanned Aircraft System.
Loading...
Searching...
No Matches
nps_main_sitl.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/time.h>
#include "nps_main.h"
#include "nps_fdm.h"
Include dependency graph for nps_main_sitl.c:

Go to the source code of this file.

Functions

int main (int argc, char **argv)
void nps_update_launch_from_dl (uint8_t value)
void nps_radio_and_autopilot_init (void)
void nps_main_run_sim_step (void)
void * nps_main_loop (void *data)

Function Documentation

◆ main()

int main ( int argc,
char ** argv )

Definition at line 35 of file nps_main_sitl.c.

References nps_flight_gear_loop(), nps_main, nps_main_display(), nps_main_init(), nps_main_loop(), th_display_ivy, th_flight_gear, and th_main_loop.

Here is the call graph for this function:

◆ nps_main_loop()

void * nps_main_loop ( void * data)

Definition at line 89 of file nps_main_sitl.c.

References clock_get_current_time, E6, fdm, fdm_mutex, HOST_TIMEOUT_MS, nps_fdm_run_init_step(), nps_main, nps_main_run_sim_step(), ntime_to_double(), pauseSignal, SIM_DT, t1, time_to_double(), and TRUE.

Referenced by main().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ nps_main_run_sim_step()

void nps_main_run_sim_step ( void )

Definition at line 74 of file nps_main_sitl.c.

References nps_atmosphere_update(), nps_autopilot, nps_autopilot_run_step(), nps_autopilot_run_systime_step(), NPS_COMMANDS_NB, nps_fdm_run_step(), nps_main, nps_sensors_run_step(), and SIM_DT.

Referenced by nps_main_loop().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ nps_radio_and_autopilot_init()

void nps_radio_and_autopilot_init ( void )

Definition at line 55 of file nps_main_sitl.c.

References JOYSTICK, NORC, nps_autopilot_init(), nps_main, SCRIPT, and SPEKTRUM.

Referenced by nps_main_init().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ nps_update_launch_from_dl()

void nps_update_launch_from_dl ( uint8_t value)

Definition at line 52 of file nps_main_sitl.c.

References nps_autopilot.

Referenced by on_DL_SETTING().

Here is the caller graph for this function: