AR_AttitudeControl: improve get_turn_lat_accel accessor comments
This commit is contained in:
parent
2251293ec7
commit
53135b2df0
@ -45,7 +45,7 @@ public:
|
|||||||
// calculate the turn rate in rad/sec given a lateral acceleration (in m/s/s) and speed (in m/s)
|
// calculate the turn rate in rad/sec given a lateral acceleration (in m/s/s) and speed (in m/s)
|
||||||
float get_turn_rate_from_lat_accel(float lat_accel, float speed) const;
|
float get_turn_rate_from_lat_accel(float lat_accel, float speed) const;
|
||||||
|
|
||||||
// get the G limit lateral acceleration ( m/s/s), returning at least 0.1G
|
// get the lateral acceleration limit (in m/s/s). Returns at least 0.1G or approximately 1 m/s/s
|
||||||
float get_turn_lat_accel_max() const { return MAX(_turn_lateral_G_max, 0.1f) * GRAVITY_MSS; }
|
float get_turn_lat_accel_max() const { return MAX(_turn_lateral_G_max, 0.1f) * GRAVITY_MSS; }
|
||||||
|
|
||||||
//
|
//
|
||||||
|
Loading…
Reference in New Issue
Block a user