Skip to content

Class TunerConstants

ClassList > TunerConstants

Public Static Attributes

Type Name
constexpr swerve::SwerveModuleConstants BackLeft = /* multi line expression */
constexpr swerve::SwerveModuleConstants BackRight = /* multi line expression */
constexpr swerve::SwerveDrivetrainConstants DrivetrainConstants = /* multi line expression */
constexpr swerve::SwerveModuleConstants FrontLeft = /* multi line expression */
constexpr swerve::SwerveModuleConstants FrontRight = /* multi line expression */
const CANBus kCANBus = {kCANBusName, "./logs/example.hoot"}
constexpr units::meters_per_second_t kSpeedAt12Volts = 5.21\_mps

Public Static Functions

Type Name
subsystems::CommandSwerveDrivetrain CreateDrivetrain ()

Public Static Attributes Documentation

variable BackLeft

constexpr swerve::SwerveModuleConstants TunerConstants::BackLeft;

variable BackRight

constexpr swerve::SwerveModuleConstants TunerConstants::BackRight;

variable DrivetrainConstants

constexpr swerve::SwerveDrivetrainConstants TunerConstants::DrivetrainConstants;

variable FrontLeft

constexpr swerve::SwerveModuleConstants TunerConstants::FrontLeft;

variable FrontRight

constexpr swerve::SwerveModuleConstants TunerConstants::FrontRight;

variable kCANBus

const CANBus TunerConstants::kCANBus;

variable kSpeedAt12Volts

constexpr units::meters_per_second_t TunerConstants::kSpeedAt12Volts;

Public Static Functions Documentation

function CreateDrivetrain

static subsystems::CommandSwerveDrivetrain TunerConstants::CreateDrivetrain () 

Creates a CommandSwerveDrivetrain instance. This should only be called once in your robot program.



The documentation for this class was generated from the following file src/main/include/generated/TunerConstants.h