Go to Post This year may be one of the first years where there is a drastic difference in Regional level and Championship level strategies that drive robot design. - tim-tim [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #12   Spotlight this post!  
Unread 02-04-2014, 22:57
Qbot2640's Avatar
Qbot2640 Qbot2640 is offline
Registered User
AKA: Terry McHugh
FRC #2640 (Hotbotz)
Team Role: Mentor
 
Join Date: Sep 2012
Rookie Year: 2012
Location: Reidsville, NC
Posts: 473
Qbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond reputeQbot2640 has a reputation beyond repute
Re: Potentiometer issues

Thank you for the much needed lesson...
We are currently picking up the signal from our encoder and multiplying it by 72 to simulate degrees around the circle. The problem we're having is that the break point between 360 and 0 (between 5 volts and 0 volts from the encoder) is very close to the top of our travel, and there were times when we over drove the tilt and surpassed the maximum point on the circle. Then, our autonomous code read the current angle to be something like 3 degrees (rather than 355 degrees) and tried to raise rather than lower the shooter to reach the desired set point. We should have rotated the magnet as soon as we discovered this, but we thought we could handle it by adjusting the limit switch location...hind sight!

Can I install a potentiometer in the manner discussed here without any significant code changes (except perhaps the multiplier and the desired "set point") and read the value just like we're reading the encoder value?
__________________

2012 Palmetto Regional Winners (Thanks 2059, 2815, and 287).
2012 Newton 14th Seed
2013 Chesapeake Regional Imagery Award Winners
2014 North Carolina Regional Imagery Award Winners
2014 Greater DC Regional Team Spirit Award Winners
2015 North Carolina Regional Finalists (Thanks 3971 and 587)
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 08:52.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi