PX4 Firmware
PX4 Autopilot Software http://px4.io
|
This module interfaces via MAVLink to a software in the loop simulator (SITL) such as jMAVSim or Gazebo. More...
#include <px4_platform_common/log.h>
#include <px4_platform_common/tasks.h>
#include <px4_platform_common/time.h>
#include <pthread.h>
#include <poll.h>
#include <systemlib/err.h>
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <drivers/drv_board_led.h>
#include "simulator.h"
Go to the source code of this file.
Functions | |
static void | usage () |
__BEGIN_DECLS int | simulator_main (int argc, char *argv[]) |
Variables | |
static px4_task_t | g_sim_task = -1 |
This module interfaces via MAVLink to a software in the loop simulator (SITL) such as jMAVSim or Gazebo.
Definition in file simulator.cpp.
__END_DECLS int simulator_main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 145 of file simulator.cpp.
References g_sim_task, Simulator::getInstance(), Simulator::start(), system_sleep, and usage().
Referenced by usage().
|
static |
Definition at line 131 of file simulator.cpp.
References __BEGIN_DECLS, __END_DECLS, and simulator_main().
Referenced by simulator_main().
|
static |
Definition at line 59 of file simulator.cpp.
Referenced by simulator_main().