Skip to content

Instantly share code, notes, and snippets.

#! /usr/bin/env python3
import wpilib
from robotpy_ext.control import xbox_controller
import magicbot
class MyRobot(magicbot.MagicRobot):
def createObjects(self):
self.driveStick = xbox_controller.XboxController(0)