Go to Post Almost fell out of my chair in the CAD room once. - ChristopherSD [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 Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 06-01-2017, 09:28
Ken Streeter's Avatar
Ken Streeter Ken Streeter is offline
Let the MAYHEM begin!
FRC #1519 (Mechanical Mayhem)
Team Role: Engineer
 
Join Date: Feb 2005
Rookie Year: 2005
Location: Team: Milford, NH; Me: Bedford, NH
Posts: 469
Ken Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond repute
Team 1519 - 2016 Code Release (Java)

As always, we on Team 1519 had great aspirations of polishing our code over the summer and fall this year in order to do a fall 2016 code release with some nice, well-commented software.

However, just like last year, the summer came and went with off-season tournaments, demonstrations and some downtime. Our fall was spent on shop training activities, so we never really made the time to clean up the 2016 robot code so that we could post it.

So now, here we are again, the day before kickoff, and all we can share is the code we had in the robot during the competition season - complete with warts, spaghetti, dead code, and all. It also lacks as many comments and design documentation as it should have.

Nonetheless, maybe it will be of help to some other teams. Autonomous remains one of our areas of focus, with programs that allowed us to select different autonomous program pieces to cross 7 of 9 defenses (no sally port or drawbridge), but including the CDF, from any of the 5 defense positions, with various scoring options, and returning to the neutral zone after shooting. We had a prototype two-ball autonomous program which could score both balls, but required at least 5-7 seconds too long. Since we had no hope of trimming that much time off the program, we never completed it. Still impressed by those teams that accomplished the 2-ball auto in the limited time! (Shout out to 195 - the only NE team to do so at NECMP!)

We also aimed the robot to the target in both autonomous and teleop modes using results of vision processing (running on the driver station). The code to control the robot is herein - we employed a "trick" of having the robot move slowly forward or backwards while aiming to allow more precise heading control instead of spinning in place, particularly for a robot with very high traction (8WD with moderately-inflated 8" pneumatic wheels).

We used TalonSRX controllers exclusively. They were great for PID control of the robot's arm, including switching PID constants on the fly depending upon whether the arm is moving up or down using the "slots" feature of the TalonSRX.

Oh, and the robot's name was "Lady Launch-a-lot." If you'd like to see the robot in action, we have an autonomous video montage on YouTube.

Feel free to post questions here or to email or PM me if I don't seem to be paying attention to this thread during the build season...
Attached Files
File Type: zip Team-1519-Lady-Launch-a-lot-2016-src-code.zip (183.6 KB, 22 views)
File Type: zip Team1519-StrongholdCamera.zip (10.3 KB, 16 views)
__________________
Ken Streeter - Team 1519 - Mechanical Mayhem (Milford Area Youth Homeschoolers Enriching Minds)
2015 NE District Winners with 195 & 2067, 125 & 1786, 230 & 4908, and 95 & 1307
2013 World Finalists & Archimedes Division Winners with 33 & 469
2013 & 2012 North Carolina Regional Winners with teams 435 & 4828 and 1311 & 2642
2011, 2010, 2006 Granite State Regional Winners with teams 175 & 176, 1073 & 1058, and 1276 & 133
Team 1519 Video Gallery - including Chairman's Video, and the infamous "Speed Racer!"
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 01:50.

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