Table of Contents

Struct Pose

Namespace
Pamoja.Kit
Assembly
Pamoja.Kit.dll

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

X float

Position along the world x axis, in meters.

Y float

Position along the world y axis, in meters.

Theta float

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.

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

float

X

Position along the world x axis, in meters.

public float X { get; init; }

Property Value

float

Y

Position along the world y axis, in meters.

public float Y { get; init; }

Property Value

float