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

Parameters defining bounds and conditions for autonomous movements. More...

#include <config.h>

Public Attributes

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
 Acceptable position error to consider motion complete.
 
float earlyExitRange
 Distance to exit early before the movement is fully settled.
 
uint32_t timeout = 5000
 Maximum time allowed for movement (ms)
 
bool async = true
 Should the motion run asynchronously.
 

Detailed Description

Parameters defining bounds and conditions for autonomous movements.

Definition at line 50 of file config.h.

Member Data Documentation

◆ maxTranslationSpeed

float MoveParams::maxTranslationSpeed = 127.0f

Maximum speed for translation.

Definition at line 51 of file config.h.

◆ maxRotationSpeed

float MoveParams::maxRotationSpeed = 127.0f

Maximum speed for rotation.

Definition at line 52 of file config.h.

◆ minSpeed

float MoveParams::minSpeed = 0.0f

Minimum speed (avoid stalling)

Definition at line 53 of file config.h.

◆ exitRange

float MoveParams::exitRange
Initial value:
=
0.5f

Acceptable position error to consider motion complete.

Definition at line 54 of file config.h.

◆ earlyExitRange

float MoveParams::earlyExitRange
Initial value:
=
0.0f

Distance to exit early before the movement is fully settled.

Definition at line 56 of file config.h.

◆ timeout

uint32_t MoveParams::timeout = 5000

Maximum time allowed for movement (ms)

Definition at line 58 of file config.h.

◆ async

bool MoveParams::async = true

Should the motion run asynchronously.

Definition at line 59 of file config.h.