#include <AR_AttitudeControl.h>
|
| AR_AttitudeControl (AP_AHRS &ahrs) |
|
float | get_steering_out_lat_accel (float desired_accel, bool motor_limit_left, bool motor_limit_right, float dt) |
|
float | get_steering_out_heading (float heading_rad, float rate_max, bool motor_limit_left, bool motor_limit_right, float dt) |
|
float | get_steering_out_rate (float desired_rate, bool motor_limit_left, bool motor_limit_right, float dt) |
|
float | get_desired_turn_rate () const |
|
float | get_desired_lat_accel () const |
|
bool | get_lat_accel (float &lat_accel) const |
|
void | set_throttle_limits (float throttle_accel_max, float throttle_decel_max) |
|
float | get_throttle_out_speed (float desired_speed, bool motor_limit_low, bool motor_limit_high, float cruise_speed, float cruise_throttle, float dt) |
|
float | get_throttle_out_stop (bool motor_limit_low, bool motor_limit_high, float cruise_speed, float cruise_throttle, float dt, bool &stopped) |
|
AC_P & | get_steering_angle_p () |
|
AC_PID & | get_steering_rate_pid () |
|
AC_PID & | get_throttle_speed_pid () |
|
bool | get_forward_speed (float &speed) const |
|
float | get_accel_max () const |
|
float | get_decel_max () const |
|
bool | speed_control_active () const |
|
float | get_desired_speed () const |
|
float | get_desired_speed_accel_limited (float desired_speed, float dt) const |
|
float | get_stopping_distance (float speed) const |
|
Definition at line 36 of file AR_AttitudeControl.h.
◆ AR_AttitudeControl()
AR_AttitudeControl::AR_AttitudeControl |
( |
AP_AHRS & |
ahrs | ) |
|
◆ get_accel_max()
float AR_AttitudeControl::get_accel_max |
( |
| ) |
const |
|
inline |
◆ get_decel_max()
float AR_AttitudeControl::get_decel_max |
( |
| ) |
const |
◆ get_desired_lat_accel()
float AR_AttitudeControl::get_desired_lat_accel |
( |
| ) |
const |
◆ get_desired_speed()
float AR_AttitudeControl::get_desired_speed |
( |
| ) |
const |
◆ get_desired_speed_accel_limited()
float AR_AttitudeControl::get_desired_speed_accel_limited |
( |
float |
desired_speed, |
|
|
float |
dt |
|
) |
| const |
◆ get_desired_turn_rate()
float AR_AttitudeControl::get_desired_turn_rate |
( |
| ) |
const |
◆ get_forward_speed()
bool AR_AttitudeControl::get_forward_speed |
( |
float & |
speed | ) |
const |
◆ get_lat_accel()
bool AR_AttitudeControl::get_lat_accel |
( |
float & |
lat_accel | ) |
const |
◆ get_steering_angle_p()
AC_P& AR_AttitudeControl::get_steering_angle_p |
( |
| ) |
|
|
inline |
◆ get_steering_out_heading()
float AR_AttitudeControl::get_steering_out_heading |
( |
float |
heading_rad, |
|
|
float |
rate_max, |
|
|
bool |
motor_limit_left, |
|
|
bool |
motor_limit_right, |
|
|
float |
dt |
|
) |
| |
◆ get_steering_out_lat_accel()
float AR_AttitudeControl::get_steering_out_lat_accel |
( |
float |
desired_accel, |
|
|
bool |
motor_limit_left, |
|
|
bool |
motor_limit_right, |
|
|
float |
dt |
|
) |
| |
◆ get_steering_out_rate()
float AR_AttitudeControl::get_steering_out_rate |
( |
float |
desired_rate, |
|
|
bool |
motor_limit_left, |
|
|
bool |
motor_limit_right, |
|
|
float |
dt |
|
) |
| |
◆ get_steering_rate_pid()
AC_PID& AR_AttitudeControl::get_steering_rate_pid |
( |
| ) |
|
|
inline |
◆ get_stopping_distance()
float AR_AttitudeControl::get_stopping_distance |
( |
float |
speed | ) |
const |
◆ get_throttle_out_speed()
float AR_AttitudeControl::get_throttle_out_speed |
( |
float |
desired_speed, |
|
|
bool |
motor_limit_low, |
|
|
bool |
motor_limit_high, |
|
|
float |
cruise_speed, |
|
|
float |
cruise_throttle, |
|
|
float |
dt |
|
) |
| |
◆ get_throttle_out_stop()
float AR_AttitudeControl::get_throttle_out_stop |
( |
bool |
motor_limit_low, |
|
|
bool |
motor_limit_high, |
|
|
float |
cruise_speed, |
|
|
float |
cruise_throttle, |
|
|
float |
dt, |
|
|
bool & |
stopped |
|
) |
| |
◆ get_throttle_speed_pid()
AC_PID& AR_AttitudeControl::get_throttle_speed_pid |
( |
| ) |
|
|
inline |
◆ set_throttle_limits()
void AR_AttitudeControl::set_throttle_limits |
( |
float |
throttle_accel_max, |
|
|
float |
throttle_decel_max |
|
) |
| |
◆ speed_control_active()
bool AR_AttitudeControl::speed_control_active |
( |
| ) |
const |
◆ _ahrs
const AP_AHRS& AR_AttitudeControl::_ahrs |
|
private |
◆ _brake_enable
AP_Int8 AR_AttitudeControl::_brake_enable |
|
private |
◆ _desired_lat_accel
float AR_AttitudeControl::_desired_lat_accel |
|
private |
◆ _desired_speed
float AR_AttitudeControl::_desired_speed |
|
private |
◆ _desired_turn_rate
float AR_AttitudeControl::_desired_turn_rate |
|
private |
◆ _speed_last_ms
uint32_t AR_AttitudeControl::_speed_last_ms |
|
private |
◆ _steer_accel_max
AP_Float AR_AttitudeControl::_steer_accel_max |
|
private |
◆ _steer_angle_p
AC_P AR_AttitudeControl::_steer_angle_p |
|
private |
◆ _steer_lat_accel_last_ms
uint32_t AR_AttitudeControl::_steer_lat_accel_last_ms |
|
private |
◆ _steer_rate_max
AP_Float AR_AttitudeControl::_steer_rate_max |
|
private |
◆ _steer_rate_pid
AC_PID AR_AttitudeControl::_steer_rate_pid |
|
private |
◆ _steer_turn_last_ms
uint32_t AR_AttitudeControl::_steer_turn_last_ms |
|
private |
◆ _stop_last_ms
uint32_t AR_AttitudeControl::_stop_last_ms |
|
private |
◆ _stop_speed
AP_Float AR_AttitudeControl::_stop_speed |
|
private |
◆ _throttle_accel_max
AP_Float AR_AttitudeControl::_throttle_accel_max |
|
private |
◆ _throttle_decel_max
AP_Float AR_AttitudeControl::_throttle_decel_max |
|
private |
◆ _throttle_limit_high
bool AR_AttitudeControl::_throttle_limit_high |
|
private |
◆ _throttle_limit_low
bool AR_AttitudeControl::_throttle_limit_low |
|
private |
◆ _throttle_speed_pid
AC_PID AR_AttitudeControl::_throttle_speed_pid |
|
private |
◆ var_info
The documentation for this class was generated from the following files: