Moveable

interface Moveable

A generic interface to represent drivetrains and other movement that may operate in the sense that the current position can be modified on a 2D plane, and read back from a Localizer.

This interface does not make any assumptions on implementation details, or the hardware used, and simply provides a way that odometry and drive motor propagation can link and be used in components and tasks.

Author

Lucas Bubner, 2024

Since

5.1.0

Inheritors

Functions

Link copied to clipboard
abstract fun getLocalizer(): Localizer
Get the currently used localizer attached to this drive instance.
Link copied to clipboard
abstract fun setPower(directionalPower: Pose2d)
Set the current commanded state of the robot in the Robot Coordinate System.