View Single Post
  #3   Spotlight this post!  
Unread 30-01-2017, 17:19
Chieftainator1's Avatar
Chieftainator1 Chieftainator1 is offline
Registered User
AKA: Carson Ausra
FRC #5182 (The Chieftainators)
Team Role: Programmer
 
Join Date: Jan 2017
Rookie Year: 2016
Location: Dowagiac, MI
Posts: 4
Chieftainator1 is an unknown quantity at this point
Re: LabVIEW POV Help?

Quote:
Originally Posted by Ari423 View Post
POVs in LabVIEW have recently been made much simpler. The same way you would get the axes and buttons on a joystick, there should be a third output array on the Joystick Get vi for POVs. The POV you want will be the first (and only) element in the array. If you index the first element of that array, you will end up with a single integer value. IIRC that integer corresponds to the angle that the POV hat is at, with forward being 0* and CW+. Then you can either send that angle value directly to the servo if you have a 360* servo or use some kind of function to map POV inputs to servo angle outputs. Good luck!
Can you show us an example by chance? we still are having trouble, after reading your reply, Thanks!
Reply With Quote