|
APM:Libraries
|
#include <SIM_CRRCSim.h>
Classes | |
| struct | fdm_packet |
| struct | servo_packet |
Public Member Functions | |
| CRRCSim (const char *home_str, const char *frame_str) | |
| void | update (const struct sitl_input &input) |
Public Member Functions inherited from SITL::Aircraft | |
| Aircraft (const char *home_str, const char *frame_str) | |
| void | set_speedup (float speedup) |
| void | set_instance (uint8_t _instance) |
| void | set_autotest_dir (const char *_autotest_dir) |
| virtual void | set_interface_ports (const char *address, const int port_in, const int port_out) |
| void | fill_fdm (struct sitl_fdm &fdm) |
| void | smooth_sensors (void) |
| float | get_rate_hz (void) const |
| const Vector3f & | get_gyro (void) const |
| const Vector3f & | get_velocity_ef (void) const |
| const Vector3f & | get_velocity_air_ef (void) const |
| const Matrix3f & | get_dcm (void) const |
| const Vector3f & | get_mag_field_bf (void) const |
| virtual float | gross_mass () const |
| const Location & | get_location () const |
| const Vector3f & | get_position () const |
| void | get_attitude (Quaternion &attitude) const |
Static Public Member Functions | |
| static Aircraft * | create (const char *home_str, const char *frame_str) |
Static Public Member Functions inherited from SITL::Aircraft | |
| static double | rand_normal (double mean, double stddev) |
| static bool | parse_home (const char *home_str, Location &loc, float &yaw_degrees) |
Private Member Functions | |
| void | send_servos_heli (const struct sitl_input &input) |
| void | send_servos_fixed_wing (const struct sitl_input &input) |
| void | recv_fdm (const struct sitl_input &input) |
| void | send_servos (const struct sitl_input &input) |
Private Attributes | |
| bool | heli_servos |
| double | last_timestamp |
| SocketAPM | sock |
Definition at line 30 of file SIM_CRRCSim.h.
| SITL::CRRCSim::CRRCSim | ( | const char * | home_str, |
| const char * | frame_str | ||
| ) |
Definition at line 29 of file SIM_CRRCSim.cpp.
Referenced by create().
|
inlinestatic |
|
private |
Definition at line 106 of file SIM_CRRCSim.cpp.
Referenced by update().
|
private |
Definition at line 93 of file SIM_CRRCSim.cpp.
Referenced by recv_fdm(), and update().
|
private |
Definition at line 73 of file SIM_CRRCSim.cpp.
Referenced by send_servos().
|
private |
Definition at line 47 of file SIM_CRRCSim.cpp.
Referenced by send_servos().
|
virtual |
Implements SITL::Aircraft.
Definition at line 149 of file SIM_CRRCSim.cpp.
|
private |
Definition at line 74 of file SIM_CRRCSim.h.
Referenced by CRRCSim(), and send_servos().
|
private |
Definition at line 75 of file SIM_CRRCSim.h.
Referenced by recv_fdm().
|
private |
Definition at line 76 of file SIM_CRRCSim.h.
Referenced by CRRCSim(), recv_fdm(), send_servos_fixed_wing(), and send_servos_heli().
1.8.13