View Single Post
  #1   Spotlight this post!  
Unread 08-01-2015, 21:48
thetonio96 thetonio96 is offline
Registered User
FRC #4635 (Eugenio)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2014
Location: Monterrey
Posts: 9
thetonio96 is an unknown quantity at this point
Post getRawButton() problems

Hi everyone, our team is programming the robot with Java, but we are have a problem getting the boolean value of getRawButton() method. Does someone had a similar problem or knows how to fix it?

//Example
public void teleopPeriodic() {
if(stick.getRawButton(1)==true){
//Some Code
}
}
Reply With Quote