Package com.acmerobotics.roadrunner
Class Pose2dDual
-
- All Implemented Interfaces:
public final class Pose2dDual<Param extends Object>
Dual version of Pose2d.
-
-
Field Summary
Fields Modifier and Type Field Description public final Vector2dDual<Param>
position
public final Rotation2dDual<Param>
heading
-
Constructor Summary
Constructors Constructor Description Pose2dDual(Vector2dDual<Param> position, Rotation2dDual<Param> heading)
-
Method Summary
Modifier and Type Method Description final Pose2dDual<Param>
plus(Twist2d t)
final Pose2dDual<Param>
times(Pose2d p)
final Pose2dDual<Param>
times(Pose2dDual<Param> p)
final PoseVelocity2dDual<Param>
times(PoseVelocity2dDual<Param> pv)
final Pose2dDual<Param>
inverse()
final <NewParam extends Any> Pose2dDual<NewParam>
reparam(DualNum<NewParam> oldParam)
final Pose2d
value()
final PoseVelocity2dDual<Param>
velocity()
final static <Param extends Any> Pose2dDual<Param>
constant(Pose2d p, Integer n)
-
-
Constructor Detail
-
Pose2dDual
Pose2dDual(Vector2dDual<Param> position, Rotation2dDual<Param> heading)
-
-
Method Detail
-
plus
final Pose2dDual<Param> plus(Twist2d t)
-
times
final Pose2dDual<Param> times(Pose2d p)
-
times
final Pose2dDual<Param> times(Pose2dDual<Param> p)
-
times
final PoseVelocity2dDual<Param> times(PoseVelocity2dDual<Param> pv)
-
inverse
final Pose2dDual<Param> inverse()
-
velocity
final PoseVelocity2dDual<Param> velocity()
-
-
-
-