Skip to content

Instantly share code, notes, and snippets.

@OliverW10
OliverW10 / robot.py
Last active November 11, 2022 11:48
kitbot drivebase
#!/usr/bin/env python3
"""
partially copied from https://github.com/robotpy/examples/tree/main/arcade-drive
modified to use a xbox controller and actual motor controllers
"""
import wpilib
import wpilib.drive
import ctre
import rev
# Replace the lines with your subjects
subjects:
1: Line 1
2: Line 2
3: Line 3
4: Line 4
5: Line 5
6: Line 6
7: Line 7
0: Break