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

#include <motions.hpp>

Public Attributes

bool angleCorrection = true
 Whether to correct the angle during movement.
 
float maxTranslationSpeed = 127.0f
 Maximum speed for translation.
 
float maxRotationSpeed = 127.0f
 Maximum speed for rotation.
 
float minSpeed = 0.0f
 Minimum speed (avoid stalling)
 
float exitRange = 0.5f
 Acceptable position error to consider motion complete.
 
float earlyExitRange = 0.0f
 Distance to exit early before the movement is fully settled.
 
uint32_t timeout = 5000
 Maximum time allowed for movement (ms)
 

Detailed Description

Definition at line 13 of file motions.hpp.

Member Data Documentation

◆ angleCorrection

bool hololib::MoveParams::angleCorrection = true

Whether to correct the angle during movement.

Definition at line 14 of file motions.hpp.

◆ maxTranslationSpeed

float hololib::MoveParams::maxTranslationSpeed = 127.0f

Maximum speed for translation.

Definition at line 15 of file motions.hpp.

◆ maxRotationSpeed

float hololib::MoveParams::maxRotationSpeed = 127.0f

Maximum speed for rotation.

Definition at line 16 of file motions.hpp.

◆ minSpeed

float hololib::MoveParams::minSpeed = 0.0f

Minimum speed (avoid stalling)

Definition at line 17 of file motions.hpp.

◆ exitRange

float hololib::MoveParams::exitRange = 0.5f

Acceptable position error to consider motion complete.

Definition at line 18 of file motions.hpp.

◆ earlyExitRange

float hololib::MoveParams::earlyExitRange = 0.0f

Distance to exit early before the movement is fully settled.

Definition at line 19 of file motions.hpp.

◆ timeout

uint32_t hololib::MoveParams::timeout = 5000

Maximum time allowed for movement (ms)

Definition at line 20 of file motions.hpp.