This repository has been archived by the owner on Aug 26, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12 from BotsBurgh/pid-tuning-auto-path
Pid tuning auto path
- Loading branch information
Showing
40 changed files
with
904 additions
and
184 deletions.
There are no files selected for viewing
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
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
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
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
5 changes: 0 additions & 5 deletions
5
TeamCode/src/main/java/org/firstinspires/ftc/teamcode/API/Config/VuForiaKey.java.sample
This file was deleted.
Oops, something went wrong.
22 changes: 22 additions & 0 deletions
22
TeamCode/src/main/java/org/firstinspires/ftc/teamcode/API/HW/SmartColorSensor.java
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
package org.firstinspires.ftc.teamcode.API.HW; | ||
|
||
import com.qualcomm.robotcore.hardware.NormalizedColorSensor; | ||
import com.qualcomm.robotcore.hardware.NormalizedRGBA; | ||
|
||
import lombok.Getter; | ||
import lombok.Setter; | ||
|
||
public class SmartColorSensor { | ||
@Getter NormalizedColorSensor sensor; | ||
|
||
public SmartColorSensor(NormalizedColorSensor sensor) { | ||
this.sensor = sensor; | ||
} | ||
|
||
// Color sensor config | ||
@Getter @Setter double redFudge, greenFudge, blueFudge = 1; | ||
|
||
public NormalizedRGBA getNormalizedColors() { | ||
return sensor.getNormalizedColors(); | ||
} | ||
} |
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
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
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
Oops, something went wrong.