This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import cv2 | |
| import csv | |
| ################ | |
| ################ | |
| # For this part, I recommend cropping the image so you can really see things. | |
| # Whatever you crop it to, save those coordinates | |
| THREED_STARTX = 1420 | |
| THREED_ENDX = 2030 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class OverridableAutonomous(AutonomousStateMachine) | |
| joystick: wpilib.Joystick | |
| def on_iteration(self): | |
| if self.joystick.getRawButton() | |
| # change to teleop | |
| class Autonomous(OverridableAutonomous): | |
| @timed_state | |
| ... | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdio.h> | |
| #include <string.h> | |
| #include <stdlib.h> | |
| #include <unistd.h> | |
| void foo() { | |
| volatile int i = 0; | |
| volatile char x[] = "exploit"; | |
| printf("Doing something with %s\n", x); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package edu.wpi.teamname; | |
| import javafx.application.Application; | |
| import javafx.scene.Scene; | |
| import javafx.scene.control.Button; | |
| import javafx.scene.control.Label; | |
| import javafx.scene.layout.BorderPane; | |
| import javafx.stage.Stage; | |
| public class App extends Application { |
OlderNewer