core / com.acmerobotics.roadrunner.kinematics / Kinematics / relativeOdometryUpdate

relativeOdometryUpdate

@JvmStatic fun relativeOdometryUpdate(fieldPose: Pose2d, robotPoseDelta: Pose2d): Pose2d (source)

Performs a relative odometry update. Note: this assumes that the robot moves with constant velocity over the measurement interval.