|
APM:Libraries
|
#include <SIM_Tracker.h>
Public Member Functions | |
| Tracker (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 | update_position_servos (float delta_time, float &yaw_rate, float &pitch_rate) |
| void | update_onoff_servos (float &yaw_rate, float &pitch_rate) |
Private Attributes | |
| const bool | onoff = false |
| const float | yawrate = 9.0f |
| const float | pitchrate = 1.0f |
| const float | pitch_range = 45 |
| const float | yaw_range = 170 |
| const float | zero_yaw = 270 |
| const float | zero_pitch = 10 |
| uint64_t | last_debug_us = 0 |
| float | pitch_input |
| float | yaw_input |
| float | yaw_current_relative |
| float | pitch_current_relative |
Definition at line 28 of file SIM_Tracker.h.
| SITL::Tracker::Tracker | ( | const char * | home_str, |
| const char * | frame_str | ||
| ) |
Definition at line 25 of file SIM_Tracker.cpp.
Referenced by create().
|
inlinestatic |
|
virtual |
Implements SITL::Aircraft.
Definition at line 69 of file SIM_Tracker.cpp.
|
private |
Definition at line 47 of file SIM_Tracker.cpp.
Referenced by update().
|
private |
Definition at line 33 of file SIM_Tracker.cpp.
Referenced by update().
|
private |
Definition at line 47 of file SIM_Tracker.h.
Referenced by update().
|
private |
Definition at line 40 of file SIM_Tracker.h.
Referenced by update().
|
private |
Definition at line 52 of file SIM_Tracker.h.
Referenced by update(), and update_position_servos().
|
private |
Definition at line 49 of file SIM_Tracker.h.
Referenced by update(), update_onoff_servos(), and update_position_servos().
|
private |
Definition at line 43 of file SIM_Tracker.h.
Referenced by update(), and update_position_servos().
|
private |
Definition at line 42 of file SIM_Tracker.h.
Referenced by update_onoff_servos(), and update_position_servos().
|
private |
Definition at line 51 of file SIM_Tracker.h.
Referenced by update(), and update_position_servos().
|
private |
Definition at line 50 of file SIM_Tracker.h.
Referenced by update(), update_onoff_servos(), and update_position_servos().
|
private |
Definition at line 44 of file SIM_Tracker.h.
Referenced by update(), and update_position_servos().
|
private |
Definition at line 41 of file SIM_Tracker.h.
Referenced by update_onoff_servos(), and update_position_servos().
|
private |
Definition at line 46 of file SIM_Tracker.h.
Referenced by update().
|
private |
Definition at line 45 of file SIM_Tracker.h.
Referenced by update().
1.8.13