|
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)

|