APM:Libraries
|
#include <SITL.h>
Public Attributes | |
uint64_t | timestamp_us |
Location | home |
double | latitude |
double | longitude |
double | altitude |
double | heading |
double | speedN |
double | speedE |
double | speedD |
double | xAccel |
double | yAccel |
double | zAccel |
double | rollRate |
double | pitchRate |
double | yawRate |
double | rollDeg |
double | pitchDeg |
double | yawDeg |
Quaternion | quaternion |
double | airspeed |
double | battery_voltage |
double | battery_current |
double | rpm1 |
double | rpm2 |
uint8_t | rcin_chan_count |
float | rcin [8] |
double | range |
Vector3f | bodyMagField |
Vector3f | angAccel |
double SITL::sitl_fdm::airspeed |
Definition at line 22 of file SITL.h.
Referenced by HALSITL::SITL_State::_fdm_input_step(), and SITL::Aircraft::fill_fdm().
double SITL::sitl_fdm::altitude |
Definition at line 15 of file SITL.h.
Referenced by HALSITL::SITL_State::_fdm_input_step(), HALSITL::SITL_State::_output_to_flightgear(), AP_Baro_SITL::_timer(), SITL::Aircraft::fill_fdm(), AP_AHRS_NavEKF::get_hagl(), AP_AHRS_NavEKF::get_position(), AP_AHRS_NavEKF::get_relative_position_D_origin(), AP_AHRS_NavEKF::get_relative_position_NED_origin(), HALSITL::SITL_State::set_height_agl(), AP_Proximity_SITL::update(), and AP_Beacon_SITL::update().
Vector3f SITL::sitl_fdm::angAccel |
Definition at line 31 of file SITL.h.
Referenced by SITL::Aircraft::fill_fdm(), and AP_InertialSensor_SITL::generate_accel().
double SITL::sitl_fdm::battery_current |
Definition at line 24 of file SITL.h.
Referenced by HALSITL::SITL_State::_simulator_servos(), and SITL::Aircraft::fill_fdm().
double SITL::sitl_fdm::battery_voltage |
Definition at line 23 of file SITL.h.
Referenced by HALSITL::SITL_State::_simulator_servos(), and SITL::Aircraft::fill_fdm().
Vector3f SITL::sitl_fdm::bodyMagField |
Definition at line 30 of file SITL.h.
Referenced by AP_Compass_SITL::_timer(), and SITL::Aircraft::fill_fdm().
double SITL::sitl_fdm::heading |
Definition at line 16 of file SITL.h.
Referenced by SITL::Aircraft::fill_fdm().
Location SITL::sitl_fdm::home |
Definition at line 13 of file SITL.h.
Referenced by SITL::Aircraft::fill_fdm(), AP_AHRS_NavEKF::get_origin(), and AP_AHRS_NavEKF::set_origin().
double SITL::sitl_fdm::latitude |
Definition at line 14 of file SITL.h.
Referenced by HALSITL::SITL_State::_fdm_input_step(), HALSITL::SITL_State::_output_to_flightgear(), SITL::Aircraft::fill_fdm(), AP_AHRS_NavEKF::get_position(), HALSITL::SITL_State::set_height_agl(), AP_Proximity_SITL::update(), and AP_Beacon_SITL::update().
double SITL::sitl_fdm::longitude |
Definition at line 14 of file SITL.h.
Referenced by HALSITL::SITL_State::_fdm_input_step(), HALSITL::SITL_State::_output_to_flightgear(), SITL::Aircraft::fill_fdm(), AP_AHRS_NavEKF::get_position(), HALSITL::SITL_State::set_height_agl(), AP_Proximity_SITL::update(), and AP_Beacon_SITL::update().
double SITL::sitl_fdm::pitchDeg |
Definition at line 20 of file SITL.h.
Referenced by HALSITL::SITL_State::_output_to_flightgear(), HALSITL::SITL_State::_update_rangefinder(), SITL::Aircraft::fill_fdm(), AP_OpticalFlow_SITL::update(), and AP_AHRS_NavEKF::update_SITL().
double SITL::sitl_fdm::pitchRate |
Definition at line 19 of file SITL.h.
Referenced by HALSITL::SITL_State::_update_gps(), SITL::Aircraft::fill_fdm(), AP_InertialSensor_SITL::generate_accel(), AP_InertialSensor_SITL::generate_gyro(), AP_OpticalFlow_SITL::update(), SITL::Gimbal::update(), and AP_AHRS_NavEKF::update_SITL().
Quaternion SITL::sitl_fdm::quaternion |
Definition at line 21 of file SITL.h.
Referenced by HALSITL::SITL_State::_update_gps(), HALSITL::SITL_State::_update_rangefinder(), SITL::Aircraft::fill_fdm(), SITL::Gimbal::Gimbal(), SITL::Gimbal::update(), and AP_AHRS_NavEKF::update_SITL().
double SITL::sitl_fdm::range |
Definition at line 29 of file SITL.h.
Referenced by HALSITL::SITL_State::_fdm_input_step(), and SITL::Aircraft::fill_fdm().
float SITL::sitl_fdm::rcin[8] |
Definition at line 28 of file SITL.h.
Referenced by HALSITL::SITL_State::_fdm_input_local(), and SITL::Aircraft::fill_fdm().
uint8_t SITL::sitl_fdm::rcin_chan_count |
Definition at line 27 of file SITL.h.
Referenced by HALSITL::SITL_State::_fdm_input_local(), and SITL::Aircraft::fill_fdm().
double SITL::sitl_fdm::rollDeg |
Definition at line 20 of file SITL.h.
Referenced by HALSITL::SITL_State::_output_to_flightgear(), HALSITL::SITL_State::_update_rangefinder(), SITL::Aircraft::fill_fdm(), AP_OpticalFlow_SITL::update(), and AP_AHRS_NavEKF::update_SITL().
double SITL::sitl_fdm::rollRate |
Definition at line 19 of file SITL.h.
Referenced by HALSITL::SITL_State::_update_gps(), SITL::Aircraft::fill_fdm(), AP_InertialSensor_SITL::generate_accel(), AP_InertialSensor_SITL::generate_gyro(), AP_OpticalFlow_SITL::update(), SITL::Gimbal::update(), and AP_AHRS_NavEKF::update_SITL().
double SITL::sitl_fdm::rpm1 |
Definition at line 25 of file SITL.h.
Referenced by SITL::Aircraft::fill_fdm(), and AP_RPM_SITL::update().
double SITL::sitl_fdm::rpm2 |
Definition at line 26 of file SITL.h.
Referenced by SITL::Aircraft::fill_fdm(), and AP_RPM_SITL::update().
double SITL::sitl_fdm::speedD |
Definition at line 17 of file SITL.h.
Referenced by HALSITL::SITL_State::_fdm_input_step(), SITL::Aircraft::fill_fdm(), AP_AHRS_NavEKF::get_velocity_NED(), AP_AHRS_NavEKF::get_vert_pos_rate(), AP_OpticalFlow_SITL::update(), and AP_AHRS_NavEKF::update_SITL().
double SITL::sitl_fdm::speedE |
Definition at line 17 of file SITL.h.
Referenced by HALSITL::SITL_State::_fdm_input_step(), SITL::Aircraft::fill_fdm(), AP_AHRS_NavEKF::get_velocity_NED(), AP_AHRS_NavEKF::groundspeed_vector(), AP_OpticalFlow_SITL::update(), and AP_AHRS_NavEKF::update_SITL().
double SITL::sitl_fdm::speedN |
Definition at line 17 of file SITL.h.
Referenced by HALSITL::SITL_State::_fdm_input_step(), SITL::Aircraft::fill_fdm(), AP_AHRS_NavEKF::get_velocity_NED(), AP_AHRS_NavEKF::groundspeed_vector(), AP_OpticalFlow_SITL::update(), and AP_AHRS_NavEKF::update_SITL().
uint64_t SITL::sitl_fdm::timestamp_us |
Definition at line 12 of file SITL.h.
Referenced by HALSITL::SITL_State::_fdm_input_local(), and SITL::Aircraft::fill_fdm().
double SITL::sitl_fdm::xAccel |
Definition at line 18 of file SITL.h.
Referenced by SITL::Aircraft::fill_fdm(), AP_InertialSensor_SITL::generate_accel(), SITL::Gimbal::update(), and AP_AHRS_NavEKF::update_SITL().
double SITL::sitl_fdm::yAccel |
Definition at line 18 of file SITL.h.
Referenced by SITL::Aircraft::fill_fdm(), AP_InertialSensor_SITL::generate_accel(), SITL::Gimbal::update(), and AP_AHRS_NavEKF::update_SITL().
double SITL::sitl_fdm::yawDeg |
Definition at line 20 of file SITL.h.
Referenced by HALSITL::SITL_State::_output_to_flightgear(), SITL::Aircraft::fill_fdm(), AP_Proximity_SITL::get_distance_to_fence(), AP_OpticalFlow_SITL::update(), and AP_AHRS_NavEKF::update_SITL().
double SITL::sitl_fdm::yawRate |
Definition at line 19 of file SITL.h.
Referenced by HALSITL::SITL_State::_update_gps(), SITL::Aircraft::fill_fdm(), AP_InertialSensor_SITL::generate_accel(), AP_InertialSensor_SITL::generate_gyro(), AP_OpticalFlow_SITL::update(), SITL::Gimbal::update(), and AP_AHRS_NavEKF::update_SITL().
double SITL::sitl_fdm::zAccel |
Definition at line 18 of file SITL.h.
Referenced by SITL::Aircraft::fill_fdm(), AP_InertialSensor_SITL::generate_accel(), SITL::Gimbal::update(), and AP_AHRS_NavEKF::update_SITL().