13 #include <mach/clock.h>
14 #include <mach/mach.h>
17 #define clock_get_current_time(_x) clock_gettime(CLOCK_REALTIME, _x)
20 #define SIM_DT (1./SYS_TIME_FREQUENCY)
21 #define DISPLAY_DT (1./30.)
22 #define HOST_TIMEOUT_MS 40
39 extern void*
nps_main_loop(
void* data __attribute__((unused)));
43 extern void tstp_hdl(
int n __attribute__((unused)));
44 extern void cont_hdl(
int n __attribute__((unused)));
Atmosphere model (pressure, wind) for NPS.
void * nps_flight_gear_loop(void *data)
#define clock_get_current_time(_x)
void nps_radio_and_autopilot_init(void)
void nps_update_launch_from_dl(uint8_t value)
int nps_main_init(int argc, char **argv)
void * nps_main_display(void *data)
void nps_main_run_sim_step(void)
bool nps_main_parse_options(int argc, char **argv)
void nps_hitl_impl_init(void)
END pprzlink_dev.
void nps_set_time_factor(float time_factor)
double scaled_initial_time
double time_to_double(struct timeval *t)
pthread_mutex_t fdm_mutex
unsigned int fg_time_offset
double ntime_to_double(struct timespec *t)
void * nps_main_loop(void *data)
Architecture independent timing functions.
unsigned char uint8_t
Typedef defining 8 bit unsigned char type.