wpimath Package
|
A helper class that computes feedforward outputs for a simple arm (modeled as a motor acting against the force of gravity on a beam suspended at an angle). |
|
Implements a bang-bang controller, which outputs either 0 or 1 depending on whether the measurement is less than the setpoint. |
A constraint on the maximum absolute centripetal acceleration allowed when traversing a trajectory. |
|
|
Represents robot chassis accelerations. |
|
Represents robot chassis velocities. |
Constructs a control-affine plant inversion model-based feedforward from given model dynamics. |
|
Constructs a control-affine plant inversion model-based feedforward from given model dynamics. |
|
Constructs a control-affine plant inversion model-based feedforward from given model dynamics. |
|
|
A class representing a coordinate system axis within the NWU coordinate system. |
|
A helper class that converts Pose3d objects between different standard coordinate frames. |
|
Represents a hermite spline of degree 3. |
|
Holds the constants for a DC motor. |
|
A simple debounce filter for boolean streams. |
|
Filters the provided voltages to limit a differential drive's linear and angular acceleration. |
|
A helper class which computes the feedforward outputs for a differential drive drivetrain. |
|
Helper class that converts a chassis velocity (dx and dtheta components) to left and right wheel velocities for a differential drive. |
Helper class that converts a chassis velocity (dx, dy, and dtheta components) into individual wheel velocities. |
|
A class that enforces constraints on the differential drive kinematics. |
|
|
Class for differential drive odometry. |
|
Class for differential drive odometry. |
|
Class for odometry. |
|
Class for odometry. |
|
This class wraps an Unscented Kalman Filter to fuse latency-compensated vision measurements with differential drive encoder measurements. |
|
This class wraps Differential Drive Odometry to fuse latency-compensated vision measurements with differential drive encoder measurements. |
This class wraps odometry to fuse latency-compensated vision measurements with encoder measurements. |
|
This class wraps odometry to fuse latency-compensated vision measurements with encoder measurements. |
|
A class that enforces constraints on differential drive voltage expenditure based on the motor dynamics and the drive kinematics. |
|
|
Represents the wheel accelerations for a differential drive drivetrain. |
Represents the wheel positions for a differential drive drivetrain. |
|
|
Represents the wheel velocities for a differential drive drivetrain. |
|
Motor voltages for a differential drive. |
|
A rising edge counter for boolean streams. |
|
A helper class that computes feedforward outputs for a simple elevator (modeled as a motor acting against the force of gravity). |
|
Represents a 2d ellipse space containing translational, rotational, and scaling components. |
|
Enforces a particular constraint only within an elliptical region. |
|
A Exponential-shaped velocity profile. |
|
A Kalman filter combines predictions from a model and measurements to give an estimate of the true system state. |
|
A Kalman filter combines predictions from a model and measurements to give an estimate of the true system state. |
|
A Kalman filter combines predictions from a model and measurements to give an estimate of the true system state. |
|
A Kalman filter combines predictions from a model and measurements to give an estimate of the true system state. |
|
Contains the controller coefficients and logic for an implicit model follower. |
|
Contains the controller coefficients and logic for an implicit model follower. |
|
Contains the controller coefficients and logic for an implicit model follower. |
|
A Kalman filter combines predictions from a model and measurements to give an estimate of the true system state. |
|
A Kalman filter combines predictions from a model and measurements to give an estimate of the true system state. |
|
A Kalman filter combines predictions from a model and measurements to give an estimate of the true system state. |
|
A Kalman filter combines predictions from a model and measurements to give an estimate of the true system state. |
|
A Kalman filter combines predictions from a model and measurements to give an estimate of the true system state. |
|
The linear time-varying differential drive controller has a similar form to the LQR, but the model used to compute the controller gain is the nonlinear differential drive model linearized around the drivetrain's current state. |
|
The linear time-varying unicycle controller has a similar form to the LQR, but the model used to compute the controller gain is the nonlinear unicycle model linearized around the drivetrain's current state. |
|
This class implements a linear, digital filter. |
|
Constructs a plant inversion model-based feedforward from a LinearSystem. |
|
Constructs a plant inversion model-based feedforward from a LinearSystem. |
|
Constructs a plant inversion model-based feedforward from a LinearSystem. |
|
Constructs a plant inversion model-based feedforward from a LinearSystem. |
|
Contains the controller coefficients and logic for a linear-quadratic regulator (LQR). |
|
Contains the controller coefficients and logic for a linear-quadratic regulator (LQR). |
|
Contains the controller coefficients and logic for a linear-quadratic regulator (LQR). |
|
Contains the controller coefficients and logic for a linear-quadratic regulator (LQR). |
|
Combines a controller, feedforward, and observer for controlling a mechanism with full state feedback. |
|
Combines a controller, feedforward, and observer for controlling a mechanism with full state feedback. |
|
Combines a controller, feedforward, and observer for controlling a mechanism with full state feedback. |
|
Combines a controller, feedforward, and observer for controlling a mechanism with full state feedback. |
|
Combines a controller, feedforward, and observer for controlling a mechanism with full state feedback. |
|
A plant defined using state-space notation. |
|
A plant defined using state-space notation. |
|
A plant defined using state-space notation. |
|
A plant defined using state-space notation. |
|
A plant defined using state-space notation. |
|
A plant defined using state-space notation. |
|
A plant defined using state-space notation. |
|
A plant defined using state-space notation. |
|
A plant defined using state-space notation. |
|
A plant defined using state-space notation. |
|
A plant defined using state-space notation. |
|
A plant defined using state-space notation. |
|
Represents a constraint that enforces a max velocity. |
|
Helper class that converts a chassis velocity (dx, dy, and dtheta components) into individual wheel velocities. |
Helper class that converts a chassis velocity (dx, dy, and dtheta components) into individual wheel velocities. |
|
|
A class that enforces constraints on the mecanum drive kinematics. |
|
Class for mecanum drive odometry. |
|
Class for mecanum drive odometry. |
|
Class for odometry. |
|
Class for odometry. |
|
This class wraps an Unscented Kalman Filter to fuse latency-compensated vision measurements with mecanum drive encoder velocity measurements. |
|
This class wraps Mecanum Drive Odometry to fuse latency-compensated vision measurements with mecanum drive encoder velocity measurements. |
|
This class wraps odometry to fuse latency-compensated vision measurements with encoder measurements. |
|
This class wraps odometry to fuse latency-compensated vision measurements with encoder measurements. |
|
Represents the wheel accelerations for a mecanum drive drivetrain. |
|
Represents the wheel positions for a mecanum drive drivetrain. |
|
Represents the wheel velocities for a mecanum drive drivetrain. |
|
A class that implements a moving-window median filter. |
|
Linear system factories. |
|
Implements a PID control loop. |
|
Represents a 2D pose containing translational and rotational elements. |
|
Represents a 3D pose containing translational and rotational elements. |
|
Implements a PID control loop whose setpoint is constrained by a trapezoid profile. |
|
Implements a PID control loop whose setpoint is constrained by a trapezoid profile. |
|
Represents a quaternion. |
|
Represents a hermite spline of degree 5. |
|
Represents a 2d rectangular space containing translational, rotational, and scaling components. |
|
Enforces a particular constraint only within a rectangular region. |
|
A rotation in a 2D coordinate frame represented by a point on the unit circle (cosine and sine). |
|
A rotation in a 3D coordinate frame, represented by a quaternion. |
|
A helper class that computes feedforward voltages for a simple permanent-magnet DC motor. |
|
A helper class that computes feedforward voltages for a simple permanent-magnet DC motor. |
|
An implementation of the Simulated Annealing stochastic nonlinear optimization method. |
|
A class that limits the rate of change of an input value. |
|
Represents a two-dimensional parametric spline that interpolates between two points. |
|
Represents a two-dimensional parametric spline that interpolates between two points. |
Helper class that is used to generate cubic and quintic splines from user provided waypoints. |
|
Class used to parameterize a spline by its arc length. |
|
|
Helper class that converts a chassis velocity (dx, dy, and dtheta components) into individual module states (velocity and angle). |
Helper class that converts a chassis velocity (dx, dy, and dtheta components) into individual wheel velocities. |
|
|
A class that enforces constraints on the swerve drive kinematics. |
|
Class for swerve drive odometry. |
|
Class for swerve drive odometry. |
|
Class for odometry. |
|
Class for odometry. |
|
This class wraps Swerve Drive Odometry to fuse latency-compensated vision measurements with swerve drive encoder distance measurements. |
|
This class wraps Swerve Drive Odometry to fuse latency-compensated vision measurements with swerve drive encoder distance measurements. |
|
This class wraps odometry to fuse latency-compensated vision measurements with encoder measurements. |
|
This class wraps odometry to fuse latency-compensated vision measurements with encoder measurements. |
|
Helper class that converts a chassis velocity (dx, dy, and dtheta components) into individual module states (velocity and angle). |
Helper class that converts a chassis velocity (dx, dy, and dtheta components) into individual wheel velocities. |
|
|
A class that enforces constraints on the swerve drive kinematics. |
|
Class for swerve drive odometry. |
|
Class for swerve drive odometry. |
|
Class for odometry. |
|
Class for odometry. |
|
This class wraps Swerve Drive Odometry to fuse latency-compensated vision measurements with swerve drive encoder distance measurements. |
|
This class wraps Swerve Drive Odometry to fuse latency-compensated vision measurements with swerve drive encoder distance measurements. |
|
This class wraps odometry to fuse latency-compensated vision measurements with encoder measurements. |
|
This class wraps odometry to fuse latency-compensated vision measurements with encoder measurements. |
|
Helper class that converts a chassis velocity (dx, dy, and dtheta components) into individual module states (velocity and angle). |
Helper class that converts a chassis velocity (dx, dy, and dtheta components) into individual wheel velocities. |
|
|
A class that enforces constraints on the swerve drive kinematics. |
|
Class for swerve drive odometry. |
|
Class for swerve drive odometry. |
|
Class for odometry. |
|
Class for odometry. |
|
This class wraps Swerve Drive Odometry to fuse latency-compensated vision measurements with swerve drive encoder distance measurements. |
|
This class wraps Swerve Drive Odometry to fuse latency-compensated vision measurements with swerve drive encoder distance measurements. |
|
This class wraps odometry to fuse latency-compensated vision measurements with encoder measurements. |
|
This class wraps odometry to fuse latency-compensated vision measurements with encoder measurements. |
|
Helper class that converts a chassis velocity (dx, dy, and dtheta components) into individual module states (velocity and angle). |
Helper class that converts a chassis velocity (dx, dy, and dtheta components) into individual wheel velocities. |
|
|
A class that enforces constraints on the swerve drive kinematics. |
|
Class for swerve drive odometry. |
|
Class for swerve drive odometry. |
|
Class for odometry. |
|
Class for odometry. |
|
This class wraps Swerve Drive Odometry to fuse latency-compensated vision measurements with swerve drive encoder distance measurements. |
|
This class wraps Swerve Drive Odometry to fuse latency-compensated vision measurements with swerve drive encoder distance measurements. |
|
This class wraps odometry to fuse latency-compensated vision measurements with encoder measurements. |
|
This class wraps odometry to fuse latency-compensated vision measurements with encoder measurements. |
|
Represents the accelerations of one swerve module. |
|
Represents the position of one swerve module. |
|
Represents the velocity of one swerve module. |
|
The TimeInterpolatableBuffer provides an easy way to estimate past measurements. |
|
The TimeInterpolatableBuffer provides an easy way to estimate past measurements. |
|
The TimeInterpolatableBuffer provides an easy way to estimate past measurements. |
|
The TimeInterpolatableBuffer provides an easy way to estimate past measurements. |
|
The TimeInterpolatableBuffer provides an easy way to estimate past measurements. |
|
The TimeInterpolatableBuffer provides an easy way to estimate past measurements. |
|
The TimeInterpolatableBuffer provides an easy way to estimate past measurements. |
|
Represents a time-parameterized trajectory. |
|
Represents the configuration for generating a trajectory. |
An interface for defining user-defined velocity and acceleration constraints while generating trajectories. |
|
Helper class used to generate trajectories with various constraints. |
|
Class used to parameterize a trajectory by time. |
|
|
Represents a transformation for a Pose2d in the pose's frame. |
|
Represents a transformation for a Pose3d in the pose's frame. |
|
Represents a translation in 2D space. |
|
Represents a translation in 3D space. |
|
A trapezoid-shaped velocity profile. |
|
A trapezoid-shaped velocity profile. |
|
Given a list of poses, this class finds the shortest possible route that visits each pose exactly once and returns to the origin pose. |
|
A change in distance along a 2D arc since the last pose update. |
|
A change in distance along a 3D arc since the last pose update. |