Drive-specific interfaces that provide functionality for setting robot velocities and using positional feedback for localization.
abstract class Drive
Abstraction for generic robot drive motion and localization. Robot poses are specified in a coordinate system with positive x pointing forward, positive y pointing left, and positive heading measured counter-clockwise from the x-axis. |
|
object Kinematics
A collection of methods for various kinematics-related tasks. |
|
interface Localizer
Generic interface for estimating robot pose over time. |
|
abstract class MecanumDrive : Drive
This class provides the basic functionality of a mecanum drive using MecanumKinematics. |
|
object MecanumKinematics
Mecanum drive kinematic equations. All wheel positions and velocities are given starting with front left and proceeding counter-clockwise (i.e., front left, rear left, rear right, front right). Robot poses are specified in a coordinate system with positive x pointing forward, positive y pointing left, and positive heading measured counter-clockwise from the x-axis. |
|
abstract class SwerveDrive : Drive
This class provides the basic functionality of a swerve drive using SwerveKinematics. |
|
object SwerveKinematics
Swerve drive kinematic equations. All wheel positions and velocities are given starting with front left and proceeding counter-clockwise (i.e., front left, rear left, rear right, front right). Robot poses are specified in a coordinate system with positive x pointing forward, positive y pointing left, and positive heading measured counter-clockwise from the x-axis. |
|
abstract class TankDrive : Drive
This class provides the basic functionality of a tank/differential drive using TankKinematics. |
|
object TankKinematics
Tank drive kinematic equations based upon the unicycle model. All wheel positions and velocities are given in (left, right) tuples. Robot poses are specified in a coordinate system with positive x pointing forward, positive y pointing left, and positive heading measured counter-clockwise from the x-axis. |
|
abstract class ThreeTrackingWheelLocalizer : Localizer
Localizer based on three unpowered tracking omni wheels. |
|
abstract class TwoTrackingWheelLocalizer : Localizer
Localizer based on two unpowered tracking omni wheels and an orientation sensor. |