View Single Post
  #2   Spotlight this post!  
Unread 12-01-2014, 18:17
alexander.h's Avatar
alexander.h alexander.h is offline
Lead Programmer, Captain, Driver
FRC #3975 (The Dragons)
Team Role: Programmer
 
Join Date: Aug 2013
Rookie Year: 2012
Location: Montreal, Quebec, Canada
Posts: 261
alexander.h has a spectacular aura aboutalexander.h has a spectacular aura aboutalexander.h has a spectacular aura about
Re: Labview Autonomous Help!

Quote:
Originally Posted by Pault View Post
If you try to run your drivetrain using timing, even if you take battery voltage into account, you aren't going to get very accurate results. If you are trying to drive a certain distance, the best way to do it is to use the encoders that come attached to most drivetrain gearboxes to calculate distance. Then use PID to control how far you go. That's going to give much more accurate results than what your trying to do with battery voltage, and from a coding standpoint is probably much easier to implement.
Thanks! Could you maybe attach a pic of the type of code I would need?
I've never used PID. What is it?
__________________



2012 - Rebound Rumble - Montreal Robotics Festival - Qualified 15th - Semifinalists thanks to 3379 and 3710 (Record : 8-8-1)
2013 - Ultimate Ascent - Montreal Robotics Festival - Qualified 33rd - Dean's List Finalist : Yazid Djenadi (Record : 4-8-0)
2014 - Aerial Assist - Montreal Robotics Festival - Qualified 9th (Record : 6-4-1)
2015 - Recycle Rush *** I predicted the game ***


Last edited by alexander.h : 12-01-2014 at 18:22.
Reply With Quote