APM:Libraries
|
#include <SIM_last_letter.h>
Classes | |
struct | fdm_packet |
struct | servo_packet |
Public Member Functions | |
last_letter (const char *home_str, const char *frame_str) | |
void | update (const struct sitl_input &input) |
![]() | |
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 double | rand_normal (double mean, double stddev) |
static bool | parse_home (const char *home_str, Location &loc, float &yaw_degrees) |
Private Member Functions | |
void | recv_fdm (const struct sitl_input &input) |
void | send_servos (const struct sitl_input &input) |
void | start_last_letter (void) |
Private Attributes | |
uint64_t | last_timestamp_us |
SocketAPM | sock |
Static Private Attributes | |
static const uint16_t | fdm_port = 5002 |
Definition at line 30 of file SIM_last_letter.h.
SITL::last_letter::last_letter | ( | const char * | home_str, |
const char * | frame_str | ||
) |
Definition at line 32 of file SIM_last_letter.cpp.
Referenced by create().
|
inlinestatic |
|
private |
Definition at line 88 of file SIM_last_letter.cpp.
Referenced by update().
|
private |
Definition at line 77 of file SIM_last_letter.cpp.
Referenced by recv_fdm(), and update().
|
private |
Definition at line 51 of file SIM_last_letter.cpp.
Referenced by last_letter().
|
virtual |
Implements SITL::Aircraft.
Definition at line 125 of file SIM_last_letter.cpp.
|
staticprivate |
Definition at line 43 of file SIM_last_letter.h.
Referenced by last_letter(), and send_servos().
|
private |
Definition at line 71 of file SIM_last_letter.h.
Referenced by recv_fdm().
|
private |
Definition at line 72 of file SIM_last_letter.h.
Referenced by last_letter(), recv_fdm(), and send_servos().