Skip to content

Instantly share code, notes, and snippets.

import org.firstinspires.ftc.robotcore.external.navigation.DistanceUnit;
@TeleOp(name="EviumAtom", group="TeleOp")
public class Teleoperated2 extends OpMode {
private double OpenAmount = 0;
...
@Override
public void loop() {
import math
import os
import time
import socket
import threading
import pygame
pygame.init()
pygame.joystick.init()
joystick = pygame.joystick.Joystick(0)