HoloLib
High-performance holonomic (X-Drive) control library for VEX V5
Loading...
Searching...
No Matches
ChassisConfig Struct Reference

Core constants to configure the chassis dimensions and hardware. More...

#include <config.h>

Public Attributes

float trackWidth = 0
 Distance between left and right wheels.
 
float drivetrainWidth = 0.0f
 Physical width of the drivetrain.
 
float drivetrainLength = 0.0f
 Physical length of the drivetrain.
 
float wheelDiameter
 Diameter of the drive wheels.
 
float gearRatio
 Gear ratio (motor rotations / wheel rotations)
 
bool kfEnabled = true
 Use Kalman filtering on encoders if true.
 

Detailed Description

Core constants to configure the chassis dimensions and hardware.

Definition at line 8 of file config.h.

Member Data Documentation

◆ trackWidth

float ChassisConfig::trackWidth = 0

Distance between left and right wheels.

Definition at line 9 of file config.h.

◆ drivetrainWidth

float ChassisConfig::drivetrainWidth = 0.0f

Physical width of the drivetrain.

Definition at line 10 of file config.h.

◆ drivetrainLength

float ChassisConfig::drivetrainLength = 0.0f

Physical length of the drivetrain.

Definition at line 11 of file config.h.

◆ wheelDiameter

float ChassisConfig::wheelDiameter

Diameter of the drive wheels.

Definition at line 12 of file config.h.

◆ gearRatio

float ChassisConfig::gearRatio

Gear ratio (motor rotations / wheel rotations)

Definition at line 13 of file config.h.

◆ kfEnabled

bool ChassisConfig::kfEnabled = true

Use Kalman filtering on encoders if true.

Definition at line 14 of file config.h.