View Single Post
  #5   Spotlight this post!  
Unread 30-11-2016, 11:06
nickbrickmaster's Avatar
nickbrickmaster nickbrickmaster is offline
Not Allowed Near Power Tools
AKA: Nick Schatz
FRC #3184 (Blaze Robotics)
Team Role: Leadership
 
Join Date: Jan 2015
Rookie Year: 2014
Location: Eagan MN
Posts: 147
nickbrickmaster is an unknown quantity at this point
Re: Using POV in Java

Yeah, just use the getPOV() method of your joystick object. It's not hard to check this angle against constants to determine which direction is pressed.
__________________
I have approximate knowledge of many things.

FRC 3184: 2014-, FTC 10648: 2015-
Reply With Quote