Skip to content

Commit

Permalink
Added slides for 2019
Browse files Browse the repository at this point in the history
  • Loading branch information
pkrinsky294 committed Sep 22, 2019
1 parent edb247c commit b61d44c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 22 deletions.
23 changes: 1 addition & 22 deletions README.md
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 added RoboPacman2019.pdf
Binary file not shown.

0 comments on commit b61d44c

Please sign in to comment.