View Single Post
  #15   Spotlight this post!  
Unread 14-11-2013, 08:59
Doug Norman's Avatar
Doug Norman Doug Norman is offline
Registered User
no team (National Instruments)
Team Role: Engineer
 
Join Date: Jan 2010
Rookie Year: 2009
Location: Austin, TX
Posts: 135
Doug Norman will become famous soon enoughDoug Norman will become famous soon enough
Re: Gyro angle in simulation vs reality?

I implemented the simulation code. The gyro should work the same as a real robot gyro. You should try a real one - if they differ I will fix the simulated. The reason you see compass VIs down within the simulated gyro is because I used subVIs that already existed as part of our robotics module (a separate commercial module that is not part of FRC). For simulation it doesn't matter what is in the bowels of the code, only that the top layer acts like a gyro.
__________________
Doug Norman
National Instruments
Reply With Quote