public class Kinematics
extends java.lang.Object
Constructor and Description |
---|
Kinematics() |
Modifier and Type | Method and Description |
---|---|
static Twist |
forwardKinematics(double leftDelta,
double rightDelta,
double rotationDelta) |
static RigidTransform |
integrateForwardKinematics(RigidTransform currentPose,
Twist deltaPos)
Forward kinematics:
Starting in the pose (x, y, theta) at time t, determine the pose at time t + delta_t (x', y', theta')
given the robot's left and right wheel velocities.
|
public static RigidTransform integrateForwardKinematics(RigidTransform currentPose, Twist deltaPos)
currentPose
- current pose of the robotdeltaPos
- the change in (x, y, theta) of the robot over the past iterationpublic static Twist forwardKinematics(double leftDelta, double rightDelta, double rotationDelta)