Struct SkidSteer
A tracked or four-wheel drive that turns by skidding, with its track widened by a slip factor.
public readonly record struct SkidSteer : IEquatable<SkidSteer>
- Implements
- Inherited Members
Constructors
SkidSteer(float, float)
A tracked or four-wheel drive that turns by skidding, with its track widened by a slip factor.
public SkidSteer(float Track, float Slip = 1)
Parameters
TrackfloatThe distance between the left and right sides; its magnitude is used.
SlipfloatHow much wider the effective track is than the geometric one; its magnitude is used, and 0 is taken as 1.
Properties
Slip
How much wider the effective track is than the geometric one; its magnitude is used, and 0 is taken as 1.
public float Slip { get; init; }
Property Value
Track
The distance between the left and right sides; its magnitude is used.
public float Track { get; init; }
Property Value
Methods
BodyMotion(float, float)
Returns the body motion measured side speeds make.
public (float Linear, float Angular) BodyMotion(float left, float right)
Parameters
Returns
WheelSpeeds(float, float)
Returns the side speeds for a forward speed and a yaw rate.
public (float Left, float Right) WheelSpeeds(float linear, float angular)