View Single Post
  #2   Spotlight this post!  
Unread 21-11-2015, 15:10
Ari423's Avatar
Ari423 Ari423 is offline
LabVIEW aficionado and robot addict
AKA: The guy with the yellow hat
FRC #5987 (Galaxia)
Team Role: Mentor
 
Join Date: Mar 2015
Rookie Year: 2012
Location: Haifa, Israel
Posts: 553
Ari423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant future
Re: LabVIEW Noob... Joystick POV hats help!

The POV output gives you a number from -1 to 360 based on which direction it is being pressed. No direction is -1, forward is 0, and it increases clockwise, outputting the angle from forwards. If you want to see if the POV is being pressed forward, get the first POV number from the array and check if it equals 0. If you want to see if it is being pushed backwards, check if that same POV number equals 180.
__________________
2017-present: Mentor FRC 5987
2017-present: CSA for FIRST in Israel
2012-2016: Member FRC 423
2013: Programmer
2014: Head Programmer, Wiring
2015: Head Programmer, Wiring
2016: Captain, Head Programmer, Wiring, Manipulator, Chassis, CAD, Business, Outreach (basically everything)