View Single Post
  #12   Spotlight this post!  
Unread 15-02-2014, 08:17
lucas.alvarez96's Avatar
lucas.alvarez96 lucas.alvarez96 is offline
Registered User
AKA: Lucas Alvarez
FRC #2576 (Chilean Heart)
 
Join Date: Dec 2013
Rookie Year: 2013
Location: Chile
Posts: 119
lucas.alvarez96 is a name known to alllucas.alvarez96 is a name known to alllucas.alvarez96 is a name known to alllucas.alvarez96 is a name known to alllucas.alvarez96 is a name known to alllucas.alvarez96 is a name known to all
Re: Labview help: How do you use a gyroscope to level something controlled by two mot

First off, encoders don't NEED to be on Jags. You can just hook their A and B pins (and index if necessary) to the Digital Sidecar DIO pins. Concerning the mechanism, I'd say a potentiometer would be your best bet. In java, you can declare a pot with various parameters, allowing you to change the 0V to 5V range to something easier to work with, such as 0 to 270 degrees. And finally, once you have your sensor, I'd recomend a PID loop using degrees as your input units.
Reply With Quote