This file contains 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
local WritePointerChain = 10000 | |
local GAME_BASE = 0 | |
local SIGNED_INT = 5 | |
local CS_WINDOW = 0x4502490 | |
function Update() | |
-- Copy this into the Update() function in action\script\c0000.hks to | |
-- disable ray tracin while your mod is loaded | |
act(WritePointerChain, GAME_BASE, SIGNED_INT, 0, CS_WINDOW, 0x120) |
This file contains 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.first.smartdashboard.gui.elements; | |
import edu.wpi.first.smartdashboard.gui.StaticWidget; | |
import edu.wpi.first.smartdashboard.properties.*; | |
import edu.wpi.first.smartdashboard.robot.Robot; | |
import javax.imageio.ImageIO; | |
import java.awt.*; | |
import java.awt.image.BufferedImage; | |
import java.io.ByteArrayInputStream; |
This file contains 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.first.smartdashboard.gui.elements; | |
import edu.wpi.first.smartdashboard.gui.DashboardPrefs; | |
import edu.wpi.first.smartdashboard.gui.StaticWidget; | |
import edu.wpi.first.smartdashboard.properties.IntegerProperty; | |
import edu.wpi.first.smartdashboard.properties.Property; | |
import edu.wpi.first.smartdashboard.properties.StringProperty; | |
import java.awt.Color; | |
import java.awt.Dimension; |
This file contains 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 main | |
import ( | |
"fmt" | |
"log" | |
"os" | |
) | |
func main() { | |
if len(os.Args) != 2 { |
This file contains 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.first.wpilibj.measures.dimensions; | |
public class Angle implements Dimension {} |
This file contains 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
plugins { | |
id "java" | |
id 'org.hidetake.ssh' version '0.4.5' | |
} | |
sourceCompatibility = '1.8' | |
targetCompatibility = '1.8' | |
def wpilibDir = System.env['HOME'] + '/wpilib/java/current' |
This file contains 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.first.smartdashboard.gui.elements; | |
import edu.wpi.first.smartdashboard.gui.StaticWidget; | |
import edu.wpi.first.smartdashboard.properties.*; | |
import edu.wpi.first.smartdashboard.robot.Robot; | |
import javax.imageio.ImageIO; | |
import java.awt.*; | |
import java.awt.Graphics2D; | |
import java.awt.geom.AffineTransform; |
This file contains 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 edu.wpi.first.wpilibj.SpeedController; | |
public class MultiSpeedController implements SpeedController { | |
private SpeedController[] speedControllers; | |
private double speed; | |
public MultiSpeedController(SpeedController... speedControllers) { | |
this.speedControllers = speedControllers; | |
this.set(0.0); | |
} |
This file contains 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 "SpeedController.h" | |
#include <vector> | |
/** | |
* A speed controller that controls an array of speed controllers with | |
* the same value | |
* | |
* @author Thomas Clark | |
*/ | |
class MultiSpeedController: public SpeedController { |