View Single Post
  #4   Spotlight this post!  
Unread 13-08-2016, 22:16
Peter Johnson Peter Johnson is offline
WPILib Developer
FRC #0294 (Beach Cities Robotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Redondo Beach, CA
Posts: 247
Peter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud of
Re: Need better accuracy with TI Launchpad?

Quote:
Originally Posted by team-4480 View Post
Thanks for the tip. It worked using calibration for the rotary switch. The only problem is that all the other axises are going completely crazy. This doesn't really matter since I will only ask for the axis that I need, but it is kinda strange....
The reason for this is the "min" and "max" calibration values for those axis are nearly identical, so noise in the input is being read as different values. It's not an issue, but if it bothers you, the easiest way to fix it is to just tie all the inputs together (e.g. tie them all to the rotary switch).
__________________
Author of cscore - WPILib CameraServer for 2017+
Author of ntcore - WPILib NetworkTables for 2016+
Creator of RobotPy - Python for FRC

2010 FRC World Champions (294, 67, 177)
2007 FTC World Champions (30, 74, 23)
2001 FRC National Champions (71, 294, 125, 365, 279)
Reply With Quote