MecanumDrive
Mecanum drive implementation for FTC robots with holonomic movement capabilities.
This class provides a complete drive system for mecanum wheel robots, including:
Motor control with feedforward compensation
Pose estimation and tracking via localizer
Trajectory following with velocity and acceleration constraints
Holonomic control for omnidirectional movement
The drive system automatically configures motors, sensors, and control systems based on the provided parameters and hardware map.
Parameters
The drive parameters including PID gains and motion constraints
The FTC hardware map containing motor and sensor configurations
The initial pose of the robot (defaults to origin)
See also
Constructors
Types
Configuration parameters for the mecanum drive system.
Properties
Holonomic controller for trajectory following
Default acceleration constraint for translational movement
Default constraints for turn-in-place movements
Default velocity constraint combining wheel and angular velocity limits
Motor feedforward controller for velocity and acceleration compensation
Follower parameters used for trajectory following
Mecanum kinematics calculator for converting robot velocities to wheel velocities
Right front drive motor
Voltage sensor for feedforward compensation
Functions
Creates a trajectory action builder starting from the current robot pose.
Creates a trajectory action builder starting from a specified pose.
Creates and returns a time-optimal profile for the given path.
Creates and returns a time-optimal profile for the given path.
Sets drive motor powers based on desired robot velocities without feedforward.
Sets drive motor powers with feedforward compensation.
Creates a trajectory builder starting from the current robot pose.
Creates a trajectory builder starting from a specified pose.
Updates the robot's pose estimate using the localizer.