View Single Post
  #3   Spotlight this post!  
Unread 14-05-2013, 20:48
Djur's Avatar
Djur Djur is offline
WPILib
AKA: Sam Carlberg
no team
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2009
Location: Massachusetts
Posts: 182
Djur will become famous soon enough
Re: Here's Some Sensor Test Code for the Gyro & PID, Accelerometer, and Magnetic Enco

Quote:
Originally Posted by Azrathud View Post
Just using these classes with my actual robot code would have been be next to impossible this year if I didn't write some(very basic) test to code to verify that the device was indeed correctly wired, and to see what the output looked like.
Is there any reason why you made your own program instead of using the LiveWindow? Testing sensors on robots was one of the reasons why the LiveWindow was made.
__________________
WPILib dev (RobotBuilder, SmartDashboard, GRIP)
Reply With Quote