APM:Libraries
|
#include <SIM_Balloon.h>
Public Member Functions | |
Balloon (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 Attributes | |
float | terminal_rotation_rate = radians(100) |
float | climb_rate = 20 |
float | terminal_velocity = 40 |
float | burst_altitude = 20000 |
bool | burst = false |
bool | released = false |
Definition at line 28 of file SIM_Balloon.h.
SITL::Balloon::Balloon | ( | const char * | home_str, |
const char * | frame_str | ||
) |
Definition at line 25 of file SIM_Balloon.cpp.
Referenced by create().
|
inlinestatic |
|
virtual |
Implements SITL::Aircraft.
Definition at line 34 of file SIM_Balloon.cpp.
|
private |
Definition at line 45 of file SIM_Balloon.h.
Referenced by update().
|
private |
Definition at line 44 of file SIM_Balloon.h.
Referenced by update().
|
private |
Definition at line 42 of file SIM_Balloon.h.
Referenced by update().
|
private |
Definition at line 46 of file SIM_Balloon.h.
Referenced by update().
|
private |
Definition at line 41 of file SIM_Balloon.h.
Referenced by update().
|
private |
Definition at line 43 of file SIM_Balloon.h.
Referenced by update().