Struct Pose
Where a robot is and which way it faces.
public readonly record struct Pose : IEquatable<Pose>
- Implements
- Inherited Members
Constructors
Pose(float, float, float)
Where a robot is and which way it faces.
public Pose(float X, float Y, float Theta)
Parameters
XfloatPosition along the world x axis, in meters.
YfloatPosition along the world y axis, in meters.
ThetafloatHeading from the world x axis, in radians, positive counter-clockwise. A pose the helpers return has its heading in
(-pi, pi], and one passed in is wrapped there.
Properties
Theta
Heading from the world x axis, in radians, positive counter-clockwise. A pose the helpers
return has its heading in (-pi, pi], and one passed in is wrapped there.
public float Theta { get; init; }
Property Value
X
Position along the world x axis, in meters.
public float X { get; init; }
Property Value
Y
Position along the world y axis, in meters.
public float Y { get; init; }