public class Pose
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
Pose(double x,
double y,
double theta)
Create a new
Pose given the position and orientation. |
Pose(double x,
double y,
double z,
double roll,
double pitch,
double yaw)
Create a new
Pose given the position and orientations. |
| Modifier and Type | Method and Description |
|---|---|
double |
distanceTo(Pose p) |
double |
getPitch()
Get the pitch (y-axis rotation) position of this
Pose. |
com.vividsolutions.jts.geom.Coordinate |
getPosition()
Get the position of this
Pose. |
double |
getRoll()
Get the roll (x-axis rotation) position of this
Pose. |
double |
getTheta()
Get the orientation of this
Pose. |
double |
getX()
Get the X position of this
Pose. |
double |
getY()
Get the Y position of this
Pose. |
double |
getYaw()
Get the yaw (z-axis rotation) position of this
Pose. |
double |
getZ()
Get the Z position of this
Pose. |
Pose |
interpolate(Pose p2,
double ratio)
|
static double |
lerp(double a,
double b,
double ratio) |
static double |
lerpDegrees(double a,
double b,
double ratio) |
java.lang.String |
toString() |
public Pose(double x,
double y,
double z,
double roll,
double pitch,
double yaw)
Pose given the position and orientations.public double getTheta()
Pose.public double getRoll()
Pose.Pose.public double getPitch()
Pose.Pose.public double getYaw()
Pose. This is the same as getTheta().Pose.public com.vividsolutions.jts.geom.Coordinate getPosition()
Pose.public double distanceTo(Pose p)
public static double lerp(double a,
double b,
double ratio)
public static double lerpDegrees(double a,
double b,
double ratio)
public java.lang.String toString()
toString in class java.lang.Object