constants module¶
Contains constants relating to robot configuration; for example, Talon CAN IDs and frame dimensions.
-
constants.
fwdAxis
¶ Forward/Backward axis
-
constants.
fwdInv
¶ Fwd/Bwd axis inverted
-
constants.
liftAxis
¶ Lift control axis on throttle
-
constants.
lift_ids
¶ Lift motor contorller CAN IDs. Currently dummy values.
-
constants.
load_control_config
()[source]¶ Load configurable constants using the Robot Preferences API. Do not call this at module level (otherwise it might try to access parts of WPILib before they have been initialized).
-
constants.
rcwAxis
¶ Rotation axis
-
constants.
rcwInv
¶ Rot axis inverted
-
constants.
strAxis
¶ Left/Right axis
-
constants.
strInv
¶ L/R axis inverted
-
constants.
swerve_config
¶ Swerve module hardware configuration. List of tuples of form (‘module name’, steer_id, drive_id) See swerve/swerve_drive.py