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 frc.robot.subsystems; | |
import edu.wpi.first.wpilibj.motorcontrol.Spark; | |
import edu.wpi.first.wpilibj2.command.SubsystemBase; | |
public class BlinkinLeds extends SubsystemBase { | |
private Spark m_blinkinLeds; | |
private double m_currentLedMode; | |
public static BlinkinLeds instance = null; |
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
// Copyright (c) FIRST and other WPILib contributors. | |
// Open Source Software; you can modify and/or share it under the terms of | |
// the WPILib BSD license file in the root directory of this project. | |
package frc.robot.subsystems; | |
import com.revrobotics.CANSparkMax; | |
import com.revrobotics.REVPhysicsSim; | |
import com.revrobotics.RelativeEncoder; | |
import com.revrobotics.SparkMaxPIDController; |
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 org.team2168.utils; | |
import com.ctre.phoenix.sensors.PigeonIMU_StatusFrame; | |
import com.ctre.phoenix.sensors.WPI_PigeonIMU; | |
public class PigeonHelper extends WPI_PigeonIMU { | |
private static final int SLOWEST_REPORT_SPEED_MS = 255; | |
public PigeonHelper(int deviceID) { |
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
// Copyright (c) FIRST and other WPILib contributors. | |
// Open Source Software; you can modify and/or share it under the terms of | |
// the WPILib BSD license file in the root directory of this project. | |
package frc.robot.Autonomous; | |
import edu.wpi.first.wpilibj2.command.InstantCommand; | |
import edu.wpi.first.wpilibj2.command.PrintCommand; | |
import edu.wpi.first.wpilibj2.command.SequentialCommandGroup; | |
import frc.robot.Feedback.Cameras.Limelight; |
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
/** | |
* Phoenix Software License Agreement | |
* | |
* Copyright (C) Cross The Road Electronics. All rights | |
* reserved. | |
* | |
* Cross The Road Electronics (CTRE) licenses to you the right to | |
* use, publish, and distribute copies of CRF (Cross The Road) firmware files (*.crf) and | |
* Phoenix Software API Libraries ONLY when in use with CTR Electronics hardware products | |
* as well as the FRC roboRIO when in use in FRC Competition. |
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 org.team2168.PID.sensors; | |
import java.nio.ByteBuffer; | |
import java.nio.ByteOrder; | |
import java.util.BitSet; | |
import java.util.TimerTask; | |
import edu.wpi.first.wpilibj.SPI; | |
import edu.wpi.first.wpilibj.SPI.Port; | |
import edu.wpi.first.wpilibj.Timer; |
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
<project name="crio-configure"> | |
<macrodef name="crio-configure"> | |
<attribute name="remoteaddress"/> | |
<attribute name="type"/> | |
<attribute name="sunspot.home" default="${sunspot.home}"/> | |
<sequential> | |
<if> | |
<available file="${sunspot.home}/cRIO_conf" type="dir" /> |
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
<project name="crio-project-build"> | |
<!-- | |
Supported Targets | |
jar | |
clean | |
deploy | |
run | |
javadoc | |
jar-deploy | |
--> |
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 frc2168.subsystems; | |
import edu.wpi.first.wpilibj.camera.AxisCamera; | |
import edu.wpi.first.wpilibj.camera.AxisCameraException; | |
import edu.wpi.first.wpilibj.command.Subsystem; | |
import edu.wpi.first.wpilibj.image.BinaryImage; | |
import edu.wpi.first.wpilibj.image.ColorImage; | |
import edu.wpi.first.wpilibj.image.NIVisionException; | |
import edu.wpi.first.wpilibj.image.ParticleAnalysisReport; | |
import frc2168.RobotMap; |
NewerOlder