|
|
| Differential (std::vector< std::unique_ptr< BaseController > > leftMotors, std::vector< std::unique_ptr< BaseController > > rightMotors, std::unique_ptr< gyro::Gyro > gyro, units::meter_t trackWidth, units::meter_t wheelDiameter) |
|
FrameWrapper< FieldFrame, frc::Pose2d > | GetPose () const |
|
FrameWrapper< FieldFrame, frc::Pose2d > | GetRawPose () const |
|
FrameWrapper< FieldFrame, frc::ChassisSpeeds > | GetFieldRelativeSpeeds () const |
|
FrameWrapper< RobotFrame, frc::ChassisSpeeds > | GetRobotRelativeSpeeds () const |
|
frc::DifferentialDriveWheelPositions | GetWheelPositions () const |
|
frc::DifferentialDriveWheelSpeeds | GetWheelSpeeds () const |
|
void | ApplyRequest (requests::ApplyChassisSpeeds request) |
|
void | ApplyRequest (requests::ApplyWheelSpeeds request) |
|
void | ResetOdometry (frc::Pose2d pose) |
| | BaseSubsystem (std::string name) |
| | Construct a new Valor Subsystem object.
|
| virtual void | AnalyzeDashboard () |
| | Synchronize dashboard data (both read and write).
|
| virtual void | AssessInputs () |
| | Read controller logic and set subsystem state.
|
| virtual void | AssignOutputs () |
| | Read subsystem state and send motor commands.
|
| virtual void | Reset () |
| | Reset all subsystem state.
|
|
void | SetGamepads (valor::Gamepad *_operatorGamepad, valor::Gamepad *_driverGamepad) |
| | Loggable (std::string_view name) |
| | Construct a Loggable that registers a top-level table name.
|
| | Loggable (std::shared_ptr< nt::NetworkTable > table) |
| | Construct a Loggable that uses an existing NetworkTable.
|
| | Loggable () |
| | Default construct an uninitialized Loggable.
|
| void | LogChild (std::string_view name, Loggable *child) |
| | Register a child Loggable under a named subtree.
|
| void | LogChild (std::string_view name, wpi::Sendable *child) |
| | Register a child Sendable under a named subtree.
|
| void | SetPeriodicLevel (LogLevel level) |
| | Set the logging level for LoggablePeriodic.
|
| template<typename T> |
| T | WriteLog (std::string_view field, const T &data, LogLevel level=LogLevel::Normal) |
| | Publish a value to NetworkTables under the given field.
|
| template<typename T> |
| T | ReadLog (std::string_view field, const T &defaultValue={}) |
| | Read a value from NetworkTables for the given field.
|
|
template<> |
| decltype(Loggable::subscribers) ::iterator | addSubscriber (std::string_view field, const std::vector< bool > &defaultValue) |
|
template<> |
| void | WriteLogImpl (nt::Publisher *pub, const std::vector< bool > &data) |
|
template<> |
| std::vector< bool > | ReadLogImpl (nt::Subscriber *sub) |