Skip to content

Commit

Permalink
updated hints
Browse files Browse the repository at this point in the history
  • Loading branch information
Advay17 committed Oct 6, 2024
1 parent d0ef20e commit 2ea5b8f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/java/frc/robot/subsystems/Rangefinder.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
import edu.wpi.first.wpilibj.xrp.XRPRangefinder;

public class Rangefinder {
private final XRPRangefinder rangefinder;
private final XRPRangefinder m_rangefinder;
public Rangefinder(){
rangefinder=new XRPRangefinder();
m_rangefinder=new XRPRangefinder();
}
//TODO: Task 8-Write a method to get the distance returned by the sensor in inches.
//HINT: Type 'rangefinder.' (without quotes) to see all of the different methods the rangefinder has.
//HINT: Type 'm_rangefinder.' (without quotes) in a method body to see all of the different methods the rangefinder has.
}
1 change: 1 addition & 0 deletions src/main/java/frc/robot/subsystems/Servo.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@ public Servo(){
}
//TODO: Task 5-Write functions to control the arm. You should be able to set the arm's angle and get the angle
//it is at.
//HINT: Type 'm_armServo.' (without quotes) in a method body to see all of the different methods the servo has.
}

0 comments on commit 2ea5b8f

Please sign in to comment.