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

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

#include <odometry.hpp>

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)
 

Detailed Description

Core constants to configure the chassis dimensions and hardware.

Definition at line 35 of file odometry.hpp.

Member Data Documentation

◆ trackWidth

float hololib::ChassisConfig::trackWidth = 0

Distance between left and right wheels.

Definition at line 36 of file odometry.hpp.

◆ drivetrainWidth

float hololib::ChassisConfig::drivetrainWidth = 0.0f

Physical width of the drivetrain.

Definition at line 37 of file odometry.hpp.

◆ drivetrainLength

float hololib::ChassisConfig::drivetrainLength = 0.0f

Physical length of the drivetrain.

Definition at line 38 of file odometry.hpp.

◆ wheelDiameter

float hololib::ChassisConfig::wheelDiameter

Diameter of the drive wheels.

Definition at line 39 of file odometry.hpp.

◆ gearRatio

float hololib::ChassisConfig::gearRatio

Gear ratio (motor rotations / wheel rotations)

Definition at line 40 of file odometry.hpp.