Config
pathplannerlib Index / Pathplannerlib / Config
Auto-generated documentation for pathplannerlib.config module.
HolonomicPathFollowerConfig
Configuration for the holonomic path following commands
Arguments
translationConstants
PIDConstants - PIDConstants used for creating the translation PID controllersrotationConstants
PIDConstants - PIDConstants used for creating the rotation PID controllermaxModuleSpeed
float - Max speed of an individual drive module in meters/secdriveBaseRadius
float - The radius of the drive base in meters. This is the distance from the center of the robot to the furthest module.replanningConfig
ReplanningConfig - Path replanning configurationperiod
float - Control loop period in seconds (Default = 0.02)
Signature
PIDConstants
PID constants used to create PID controllers
Arguments
kP
float - PkI
float - IkD
float - DiZone
float - Integral range
Signature
ReplanningConfig
Configuration for path replanning
Arguments
enableInitialReplanning
bool - Should the path be replanned at the start of path following if the robot is not already at the starting point?enableDynamicReplanning
bool - Should the path be replanned if the error grows too large or if a large error spike happens while following the path?dynamicReplanningTotalErrorThreshold
float - The total error threshold, in meters, that will cause the path to be replanneddynamicReplanningErrorSpikeThreshold
float - The error spike threshold, in meters, that will cause the path to be replanned