|
|
|
![]() |
|
|||||||
|
||||||||
This is Team 237 (Sie-H20-Bots)'s code for the 2005 season. This is the exact code, ripped directly from our laptops C drive 
It includes:
- Autonomous code that we used to cap vision tetra
- Auto Positioning system to set our arm/wrist into a certain position with a push of a button
etc....
This is Team 237 (Sie-H20-Bots)'s code for the 2005 season. This is the exact code, ripped directly from our laptops C drive 
It includes:
- Autonomous code that we used to cap vision tetra
- Auto Positioning system to set our arm/wrist into a certain position with a push of a button
etc.
Most people release code under some open source license, with this code please just use common sense. You can learn from it, use it, and all that stuff but don't take credit for it. We are releasing it to help the community and we're hoping that it won't be abused.
If you need any help talk to me on AIM, my screen name is MikeWasHere05. Do NOT ask anybody else on Team 237. All they will do is direct you to me, I am the only programmer on our team and the only person who knows the code.
Good luck.
1114718988code.zip
29-04-2005 10:49
stevegHey Mike,
I want to congratulate you on your working Tetra finding/grabbing/capping code. Reading through it, it's logical, easy to follow, and well commented. Nice job.
I'm curious, what did you use for pots on the wrist and arm? How much time did the Shaws and the rest of the Mechies give you to test it out?
Cheers,
Steve
(237 Alum)
29-04-2005 15:59
Mike
Not sure what kind of pots we used, I only do some electrical. I'll ask Ted (our electrical guy) later though.
Most of my user-controlled code could be tested in a short time, so I would test that during the build process. The autonomous took longer to setup, so I had to wait until it was built to test it.
The autonomous code's framework was done before I got to test it, I got about 2 weekend days and a weekday to test/re-write it.
29-04-2005 22:20
Gamer930
VERY VERY NICE CODE. . . . . . .
Thanks a lot for posting what actual nice code looks like.
Our code was just all messed together.
We are going to rewrite our code to try and track the vision tetra when school is out and use it for presentations. Will be interesting what cool things happens with the fun new camera.
30-04-2005 13:06
Mike
|
Originally Posted by Gamer2028
VERY VERY NICE CODE. . . . . . .
Thanks a lot for posting what actual nice code looks like. Our code was just all messed together. We are going to rewrite our code to try and track the vision tetra when school is out and use it for presentations. Will be interesting what cool things happens with the fun new camera. |
30-04-2005 20:11
Elgin Clock
I hope I am not stepping on Mike's toes with this post but:
By using the CMU cam this year to try to accomplish one of the very difficult tasks in the game this year, we have risen the bar and achieved what our team motto proclaims (Taking Robotics Into Bold Experiences) T.R.I.B.E.
With the release of our code to the general FIRST public, we hope to level the playing field since only a few teams were sucessful capping in autonomous using this system.
I hope now that since regionals and the championship event is over, that all the teams who did not try to use the CMU cam this year (wheter due to time constraints, or lack of resources ie: programmers) can learn from Mike's awesome program, and try to take on this challenge to have a sucessful code of their own, if not for a competition, then at least for the experience of learning something new.
I hope see video (or hear) of more teams capping in the off-season competitions than have done in the regular season.
I believe this technology is way cool, and if it seems impossible for teams to use, then I fear it will be dropped in next year's kit..
Good luck learning the code, hardware, and good luck capping this summer/fall. 
02-05-2005 21:14
Mike
Just talked to Ted:
We are using 100ohm pots from RadioShack. They're cheap, simple and reliable.
03-05-2005 10:02
Sara Milton
|
Originally Posted by MikeWasHere05
Just talked to Ted:
We are using 100ohm pots from RadioShack. They're cheap, simple and reliable. |
03-05-2005 13:00
Alan Anderson
|
Originally Posted by MikeWasHere05
We are using 100ohm pots from RadioShack. They're cheap, simple and reliable.
|
04-05-2005 19:59
Mike
|
Originally Posted by Alan Anderson
They would also have quite a bit lower resistance than desired. Are you sure you're not using 100kΩ potentiometers? Those are more typical on a FIRST robot.
|
).