View Single Post
  #4   Spotlight this post!  
Unread 02-03-2016, 13:36
BitTwiddler's Avatar
BitTwiddler BitTwiddler is offline
electronics/programming mentor
AKA: Mr Tanguay
FRC #1726 (N.E.R.D.S.)
Team Role: Mentor
 
Join Date: Oct 2008
Rookie Year: 2006
Location: Sierra Vista, AZ
Posts: 243
BitTwiddler is on a distinguished road
Re: Using a Gyro without Encoders

Quote:
Originally Posted by Ether View Post
Does LabVIEW handle the gyro differently than WPILib?
Nope. It will continue past 360 degrees on the second time around as the documentation you provided indicates. (Edit, OK so I did misspeak regarding the total range as it will go past 360 going around again) I'm focusing on what happens when the PID setpoint is 0.0 but the gyro sees a leftward turn and reports a process variable toward 360 degrees which I think will cause the PID vi to get confused.
I don't think I've seen the gyro vi report angles less than zero.

Last edited by BitTwiddler : 02-03-2016 at 13:39.
Reply With Quote