APM:Libraries
Functions | Variables
SITL_cmdline.cpp File Reference
#include <AP_HAL/AP_HAL.h>
#include "AP_HAL_SITL.h"
#include "AP_HAL_SITL_Namespace.h"
#include "HAL_SITL_Class.h"
#include "UARTDriver.h"
#include <stdio.h>
#include <signal.h>
#include <unistd.h>
#include <AP_HAL/utility/getopt_cpp.h>
#include <SITL/SIM_Multicopter.h>
#include <SITL/SIM_Helicopter.h>
#include <SITL/SIM_SingleCopter.h>
#include <SITL/SIM_Plane.h>
#include <SITL/SIM_QuadPlane.h>
#include <SITL/SIM_Rover.h>
#include <SITL/SIM_CRRCSim.h>
#include <SITL/SIM_Gazebo.h>
#include <SITL/SIM_last_letter.h>
#include <SITL/SIM_JSBSim.h>
#include <SITL/SIM_Tracker.h>
#include <SITL/SIM_Balloon.h>
#include <SITL/SIM_FlightAxis.h>
#include <SITL/SIM_Calibration.h>
#include <SITL/SIM_XPlane.h>
#include <SITL/SIM_Submarine.h>
Include dependency graph for SITL_cmdline.cpp:

Go to the source code of this file.

Functions

static void _sig_fpe (int signum)
 

Variables

const AP_HAL::HALhal
 -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- More...
 
struct {
   const char *   name
 
   Aircraft *(*   constructor )(const char *home_str, const
      char *frame_str)
 
model_constructors []
 

Function Documentation

◆ _sig_fpe()

static void _sig_fpe ( int  signum)
static

Definition at line 37 of file SITL_cmdline.cpp.

Referenced by HALSITL::SITL_State::_set_signal_handlers().

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

Variable Documentation

◆ constructor

Aircraft*(* constructor) (const char *home_str, const char *frame_str)

Definition at line 82 of file SITL_cmdline.cpp.

◆ hal

const AP_HAL::HAL& hal

-*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-

Definition at line 14 of file AC_PID_test.cpp.

◆ model_constructors

const { ... } model_constructors[]
Initial value:
= {
{ "quadplane", QuadPlane::create },
{ "xplane", XPlane::create },
{ "firefly", QuadPlane::create },
{ "+", MultiCopter::create },
{ "quad", MultiCopter::create },
{ "copter", MultiCopter::create },
{ "x", MultiCopter::create },
{ "hexa", MultiCopter::create },
{ "octa", MultiCopter::create },
{ "dodeca-hexa", MultiCopter::create },
{ "tri", MultiCopter::create },
{ "y6", MultiCopter::create },
{ "heli", Helicopter::create },
{ "heli-dual", Helicopter::create },
{ "heli-compound", Helicopter::create },
{ "singlecopter", SingleCopter::create },
{ "coaxcopter", SingleCopter::create },
{ "rover", SimRover::create },
{ "crrcsim", CRRCSim::create },
{ "jsbsim", JSBSim::create },
{ "flightaxis", FlightAxis::create },
{ "gazebo", Gazebo::create },
{ "last_letter", last_letter::create },
{ "tracker", Tracker::create },
{ "balloon", Balloon::create },
{ "plane", Plane::create },
{ "calibration", Calibration::create },
{ "vectored", Submarine::create },
}

Referenced by HALSITL::SITL_State::_parse_command_line().

◆ name

const char* name

Definition at line 81 of file SITL_cmdline.cpp.

Referenced by HALSITL::SITL_State::_parse_command_line().