Skip to content

Commit

Permalink
Update readme for v1.1 release
Browse files Browse the repository at this point in the history
  • Loading branch information
minchingtonak committed Feb 20, 2018
1 parent 63fbb31 commit ac0abc4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

* Record a profile
```java
ProfileRecorder recorder = new ProfileReorder(leftTalon, rightTalon);
ProfileRecorder recorder = new ProfileRecorder(leftTalon, rightTalon, RecordingType.VOLTAGE/VELOCITY);
recorder.start();
```
* Save a profile to file
Expand Down Expand Up @@ -68,7 +68,7 @@ public class DriveTrain extends Subsystem {
private TalonSRX leftTalon = new TalonSRX(RobotMap.DT_FL_MOTOR);
private TalonSRX rightTalon = new TalonSRX(RobotMap.DT_FR_MOTOR);

private ProfileRecorder r = new ProfileRecorder(leftTalon, rightTalon);
private ProfileRecorder r = new ProfileRecorder(leftTalon, rightTalon, RecordingType.VOLTAGE);

public void toggleRecording() {
if (r.isRecording()) {
Expand Down

0 comments on commit ac0abc4

Please sign in to comment.