APM:Libraries
|
#include <SIM_Rover.h>
Public Member Functions | |
SimRover (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 | |
float | turn_circle (float steering) |
float | calc_yaw_rate (float steering, float speed) |
float | calc_lat_accel (float steering_angle, float speed) |
Private Attributes | |
float | max_speed |
float | max_accel |
float | max_wheel_turn |
float | turning_circle |
float | skid_turn_rate |
bool | skid_steering |
Definition at line 28 of file SIM_Rover.h.
SITL::SimRover::SimRover | ( | const char * | home_str, |
const char * | frame_str | ||
) |
Definition at line 26 of file SIM_Rover.cpp.
Referenced by create().
|
private |
|
private |
Definition at line 62 of file SIM_Rover.cpp.
Referenced by calc_lat_accel(), and update().
|
inlinestatic |
|
private |
Definition at line 51 of file SIM_Rover.cpp.
Referenced by calc_yaw_rate().
|
virtual |
Implements SITL::Aircraft.
Definition at line 90 of file SIM_Rover.cpp.
|
private |
Definition at line 42 of file SIM_Rover.h.
Referenced by SimRover(), and update().
|
private |
Definition at line 41 of file SIM_Rover.h.
Referenced by SimRover(), and update().
|
private |
Definition at line 43 of file SIM_Rover.h.
Referenced by turn_circle().
|
private |
Definition at line 46 of file SIM_Rover.h.
Referenced by calc_yaw_rate(), SimRover(), and update().
|
private |
Definition at line 45 of file SIM_Rover.h.
Referenced by calc_yaw_rate().
|
private |
Definition at line 44 of file SIM_Rover.h.
Referenced by turn_circle().