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
Encoder Left: no reversal | |
Encoder Right: no reversal | |
Profile: | |
#pragma once | |
#pragma once | |
namespace DriveProfile { | |
const double WHEELBASE_WIDTH = 0.6; | |
const double WHEEL_CIRCUMFERENCE = 18.49; | |
const double MAX_VELOCITY = 5; |
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.usfirst.frc.team4151.robot; | |
/*Team coding work to post later, look into code with basic Java FRC Drive Code | |
Will be added to GitHub, but all edits and comments should be made on here.*/ | |
//Comment like this or like I did above | |
import java.util.concurrent.TimeUnit; | |
import edu.wpi.first.wpilibj.*; | |
import edu.wpi.first.wpilibj.CounterBase.EncodingType; |
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
/* | |
Alex Carter @ GTHS | |
12/13/2018 | |
VictoryForPhil@gmail.com | |
*/ | |
// Question 1 | |
public int[] replaceHighAndLow(int[] arr){ | |
for(int i=0;i<arr.length;i++){ |
OlderNewer