wpimath.kinematics Package

ChassisSpeeds([vx, vy, omega])

Represents the speed of a robot chassis.

DifferentialDriveKinematics(trackWidth)

Helper class that converts a chassis velocity (dx and dtheta components) to left and right wheel velocities for a differential drive.

DifferentialDriveKinematicsBase()

Helper class that converts a chassis velocity (dx, dy, and dtheta components) into individual wheel speeds.

DifferentialDriveOdometry(gyroAngle, ...[, ...])

Class for differential drive odometry.

DifferentialDriveOdometryBase(kinematics, ...)

Class for odometry.

DifferentialDriveWheelPositions()

Represents the wheel positions for a differential drive drivetrain.

DifferentialDriveWheelSpeeds([left, right])

Represents the wheel speeds for a differential drive drivetrain.

MecanumDriveKinematics(frontLeftWheel, ...)

Helper class that converts a chassis velocity (dx, dy, and dtheta components) into individual wheel speeds.

MecanumDriveKinematicsBase()

Helper class that converts a chassis velocity (dx, dy, and dtheta components) into individual wheel speeds.

MecanumDriveOdometry(kinematics, gyroAngle, ...)

Class for mecanum drive odometry.

MecanumDriveOdometryBase(kinematics, ...[, ...])

Class for odometry.

MecanumDriveWheelPositions()

Represents the wheel positions for a mecanum drive drivetrain.

MecanumDriveWheelSpeeds([frontLeft, ...])

Represents the wheel speeds for a mecanum drive drivetrain.

SwerveDrive2Kinematics(arg0, arg1)

Helper class that converts a chassis velocity (dx, dy, and dtheta components) into individual module states (speed and angle).

SwerveDrive2KinematicsBase()

Helper class that converts a chassis velocity (dx, dy, and dtheta components) into individual wheel speeds.

SwerveDrive2Odometry(kinematics, gyroAngle, ...)

Class for swerve drive odometry.

SwerveDrive2OdometryBase(kinematics, ...[, ...])

Class for odometry.

SwerveDrive2WheelPositions(positions)

Represents the wheel positions for a swerve drive drivetrain.

SwerveDrive3Kinematics(arg0, arg1, arg2)

Helper class that converts a chassis velocity (dx, dy, and dtheta components) into individual module states (speed and angle).

SwerveDrive3KinematicsBase()

Helper class that converts a chassis velocity (dx, dy, and dtheta components) into individual wheel speeds.

SwerveDrive3Odometry(kinematics, gyroAngle, ...)

Class for swerve drive odometry.

SwerveDrive3OdometryBase(kinematics, ...[, ...])

Class for odometry.

SwerveDrive3WheelPositions(positions)

Represents the wheel positions for a swerve drive drivetrain.

SwerveDrive4Kinematics(arg0, arg1, arg2, arg3)

Helper class that converts a chassis velocity (dx, dy, and dtheta components) into individual module states (speed and angle).

SwerveDrive4KinematicsBase()

Helper class that converts a chassis velocity (dx, dy, and dtheta components) into individual wheel speeds.

SwerveDrive4Odometry(kinematics, gyroAngle, ...)

Class for swerve drive odometry.

SwerveDrive4OdometryBase(kinematics, ...[, ...])

Class for odometry.

SwerveDrive4WheelPositions(positions)

Represents the wheel positions for a swerve drive drivetrain.

SwerveDrive6Kinematics(arg0, arg1, arg2, ...)

Helper class that converts a chassis velocity (dx, dy, and dtheta components) into individual module states (speed and angle).

SwerveDrive6KinematicsBase()

Helper class that converts a chassis velocity (dx, dy, and dtheta components) into individual wheel speeds.

SwerveDrive6Odometry(kinematics, gyroAngle, ...)

Class for swerve drive odometry.

SwerveDrive6OdometryBase(kinematics, ...[, ...])

Class for odometry.

SwerveDrive6WheelPositions(positions)

Represents the wheel positions for a swerve drive drivetrain.

SwerveModulePosition([distance, angle])

Represents the position of one swerve module.

SwerveModuleState([speed, angle])

Represents the state of one swerve module.