SITL: add comments to SIM_Rover members

This commit is contained in:
Randy Mackay 2021-03-30 20:03:41 +09:00
parent 186cb6ef13
commit 381044c2d0

View File

@ -38,12 +38,12 @@ public:
}
private:
float max_speed = 20.0f;
float max_accel = 10.0f;
float max_wheel_turn = 35.0f;
float turning_circle = 1.8f;
float skid_turn_rate = 140.0f;
bool skid_steering;
float max_speed = 20.0f; // vehicle's maximum forward speed in m/s
float max_accel = 10.0f; // vehicle's maximum forward acceleration in m/s/s
float max_wheel_turn = 35.0f; // ackermann steering vehicle's maximum steering angle
float turning_circle = 1.8f; // ackermann steering vehicle's minimum turn diameter in meters
float skid_turn_rate = 140.0f; // skid-steering vehicle's maximum turn rate in deg/sec
bool skid_steering; // true if this vehicle is a skid-steering vehicle
float turn_circle(float steering) const;
float calc_yaw_rate(float steering, float speed);