Go to Post What is this, presto change-o rules every week? - Racer26 [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rating: Thread Rating: 4 votes, 4.75 average. Display Modes
Prev Previous Post   Next Post Next
  #23   Spotlight this post!  
Unread 20-03-2007, 22:11
Adamskiy's Avatar
Adamskiy Adamskiy is offline
Team Founder
AKA: Brandon Adams
FRC #1261 (RoboLions)
Team Role: Alumni
 
Join Date: Jan 2007
Rookie Year: 2004
Location: Suwanee, GA
Posts: 30
Adamskiy is on a distinguished road
Re: Programming tricks (and former trade secrets)

We did similar to the above quote of meatmanek, but scaled it from -100 to +100....lost some resolution, but it made calculations much more simple. And although we had a tank drive, we set the left thumbstick on our Xbox controller to the throttle, and the right thumbstick controlled steering. We did that after picking drivers, as one of them loves Halo and figured it would be more easy for him to control.

For our elevator, the motor that acted as the winch was a small CIM with a BaneBots gearhead/encoder on it, so we used the encoder to have set rack positions (high/med/low) that would be assigned to a single button on the Guitar Hero controller. We then had a limit switch at the bottom (load position) that would reset the encoder count to 0 to account for slight variations that would occur....obviously not the best method, but it was accurate to about an inch, so good enough since we lower the tube onto the rack to score.
__________________
Team 1261 - Motorola/Cognex/EMD Software & Peachtree Ridge High School
- 2005 Peachtree Regional Champions
(Thanks 281 and 801)
- 2006 Peachtree Regional Champions (Thanks 1414 and 1057)
- 2006 Peachtree Regional Delphi "Driving Tomorrow's Technology" Award
- 2006 Peachtree Regional Underwriters Laboratories Safety Award
- 2007 Peachtree Regional Innovation In Control Award
(Guitar Hero controller )
- 2007 Peachtree Regional Semi-Finalists (Thanks 1746 and 1057)
 


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Former FIRST student and mentor dies in a tragic rocket attack in Iraq today. Munkaboo General Forum 48 19-04-2005 12:21
Off-season competetions and former teams Venkatesh Off-Season Events 5 10-12-2004 17:23
Harry Potter and the Chamber of Secrets Ryan Dognaux Chit-Chat 33 01-12-2002 19:57
scouting tips and tricks Rick Scouting 1 08-01-2002 00:52


All times are GMT -5. The time now is 18:06.

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