![]() |
RaidZeroLib
Coroutine robot framework for VEX V5
|
The skid-steer drivetrain and driver control. More...
Classes | |
| struct | rz::ArcadeConfig |
| struct | rz::TankConfig |
| class | rz::SkidSteerChassis |
| A drivetrain with a left and a right side, each driven as one motor (usually a MotorGroup). More... | |
Typedefs | |
| using | rz::StickCurve = std::function<double(double)> |
| Shapes a stick input. Takes and returns a value from -1 to 1, e.g. [](double x) { return x * x * x; } for finer control at low speeds. | |
Functions | |
| Task | rz::arcade (SkidSteerChassis &chassis, const Controller &controller, ArcadeConfig config={}) |
| The left stick's vertical axis drives; the right stick's horizontal axis turns (pushing right turns clockwise). | |
| Task | rz::tank (SkidSteerChassis &chassis, const Controller &controller, TankConfig config={}) |
| The left stick's vertical axis drives the left side; the right stick's vertical axis drives the right. | |
The skid-steer drivetrain and driver control.
| using rz::StickCurve = std::function<double(double)> |
Shapes a stick input. Takes and returns a value from -1 to 1, e.g. [](double x) { return x * x * x; } for finer control at low speeds.
|
nodiscard |
The left stick's vertical axis drives; the right stick's horizontal axis turns (pushing right turns clockwise).
|
nodiscard |
The left stick's vertical axis drives the left side; the right stick's vertical axis drives the right.