View Single Post
  #6   Spotlight this post!  
Unread 15-02-2011, 12:30
billbo911's Avatar
billbo911 billbo911 is offline
I prefer you give a perfect effort.
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 2,355
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
Re: Make motors run the same speed using encoders

Quote:
Originally Posted by mnwcsult View Post
Billbo could you post a screen shot of the labview "code"?

I like your solution over mine however I don't quite have feel of coding in Labview to get this done quickly.

TIA
TIA,
WELCOME TO Chiefdelphi!
I would love nothing more than to help you out with this, but I have a problem.

This year I made a commitment to allow my team to do ALL of their own coding, without actually creating any myself. I help, advise, instruct but I don't actually code, no matter how tempted I may get. As part of this commitment, I have decided to not install LabView on any PC I have access to. It would be too much of a temptation for me.

So, without access to Labview, I can't show you how I would do it.
Hopefully someone else here on CD can help you out with your request. It really is quite simple and "should" only take a few minutes to create. Tuning the gain for straight driving might take 10 to 15 minutes, with lots of laughter as you see your robot swing wildly in odd directions until the gain is low enough. I would suggest a starting value of approximately .002. (Remember, with even a error of 1 bit difference, you would be giving a full range X value, therefore, the gain must be very low to get you close.)
__________________
CalGames 2009 Autonomous Champion Award winner
Sacramento 2010 Creativity in Design winner, Sacramento 2010 Quarter finalist
2011 Sacramento Finalist, 2011 Madtown Engineering Inspiration Award.
2012 Sacramento Semi-Finals, 2012 Sacramento Innovation in Control Award, 2012 SVR Judges Award.
2012 CalGames Autonomous Challenge Award winner ($$$).
2014 2X Rockwell Automation: Innovation in Control Award (CVR and SAC). Curie Division Gracious Professionalism Award.
2014 Capital City Classic Winner AND Runner Up. Madtown Throwdown: Runner up.
2015 Innovation in Control Award, Sacramento.
2016 Chezy Champs Finalist, 2016 MTTD Finalist
Reply With Quote