RaidZeroLib
Coroutine robot framework for VEX V5
Loading...
Searching...
No Matches
rz::DriveController::Config Struct Reference

#include <DriveController.hpp>

Public Attributes

Pid< Length, Voltage >::Config distancePid
Settled< Length >::Config settle
 When the drive is done, e.g. within 1 cm for 100 ms.
Pid< Angle, Voltage >::Config headingPid {}
 Keeps the robot pointing the way it started. Zero gains drive without correcting the heading.
Voltage maxVoltage = au::volts(12.0)
 The most voltage used for driving forward; the heading correction comes on top.

Member Data Documentation

◆ distancePid

Pid<Length,Voltage>::Config rz::DriveController::Config::distancePid

◆ headingPid

Pid<Angle,Voltage>::Config rz::DriveController::Config::headingPid {}

Keeps the robot pointing the way it started. Zero gains drive without correcting the heading.

◆ maxVoltage

Voltage rz::DriveController::Config::maxVoltage = au::volts(12.0)

The most voltage used for driving forward; the heading correction comes on top.

◆ settle

Settled<Length>::Config rz::DriveController::Config::settle

When the drive is done, e.g. within 1 cm for 100 ms.


The documentation for this struct was generated from the following file: