-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
edb247c
commit b61d44c
Showing
2 changed files
with
1 addition
and
22 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,4 @@ | ||
# RoboPacman2018 | ||
# RoboPacman2019 | ||
|
||
The tank drive can be accessed in the following manner: | ||
|
||
Robot.driveTrain.tankDrive(1,1); | ||
|
||
|
||
The ghost sensor can be accessed in the following manner: | ||
|
||
Robot.ghostSensor.getPing(); // detects objects directly in front | ||
Robot.ghostSensor.getRadar(); // detects objects in all directions | ||
|
||
|
||
The following method can be used to calculate the distance between two points | ||
|
||
Util.getDistance(x1,y1,x2,y2); | ||
|
||
|
||
Gradle | ||
|
||
Run a single unit test with Gradle | ||
|
||
gradle run | ||
gradle test --tests pacman.test.GhostSensorTest --info | ||
|
Binary file not shown.