Go to Post According to a 6 year old I once met at a demo, our FRC machine was not a robot because, "How can it be a robot if it doesn't have a face?" - Jared Russell [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
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 05-04-2010, 00:00
virtuald's Avatar
virtuald virtuald is offline
RobotPy Guy
AKA: Dustin Spicuzza
FRC #1418 (), FRC #1973, FRC #4796, FRC #6367 ()
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2003
Location: Boston, MA
Posts: 1,050
virtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant future
KwarQs 2010 C++ Code Released

Team 2423 strongly believes in sharing techniques and resources with other teams, and we release our source code out for others to see/use as example code each year. Our team programmed our bot in C++ yet again this year.

This year our code was mostly done by our students (except I went in and cleaned it up a bit). In particular our kicker mechanism and our autonomous mode was almost entirely developed by students, and they did an excellent job. This was our best year yet, we had a very consistent robot.

Some things that are useful to point out that you might be interested in:
  • Wheel configuration is 100% compatible with the default kitbot configuration
  • Heavily modified the FRC Vision processing code from this year. Vision processing placed in its own low-priority thread (so it sends pictures to your dashboard in disabled/autonomous also)
  • Autonomous mode that *used* to rely on vision processing, but our Gyro failed. However, we modified it so it still works (the vision stuff is still in comments). At the Boston Regional we consistently scored 1 or 2 goals autonomously most matches.
  • Useful 'NosePointer' class to allow multiple things to control where the robot is pointing via PID control
  • X/Y coordinate position tracking using encoders (didn't really use it though, but it mostly works)
  • Heavily integrated with WebDMA for more effective tuning/debugging
  • BSD-style license, feel free to use our code!

Download it from my website at http://www.virtualroadside.com/FRC/#Kwarqs2010
__________________
Maintainer of RobotPy - Python for FRC
Creator of pyfrc (Robot Simulator + utilities for Python) and pynetworktables/pynetworktables2js (NetworkTables for Python & Javascript)

2017 Season: Teams #1973, #4796, #6369
Team #1418 (remote mentor): Newton Quarterfinalists, 2016 Chesapeake District Champion, 2x Innovation in Control award, 2x district event winner
Team #1418: 2015 DC Regional Innovation In Control Award, #2 seed; 2014 VA Industrial Design Award; 2014 Finalists in DC & VA
Team #2423: 2012 & 2013 Boston Regional Innovation in Control Award


Resources: FIRSTWiki (relaunched!) | My Software Stuff
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
2423 The KwarQs AmoryG Robot Showcase 3 31-03-2010 18:17
Team 1676-2006 Source Code Released! nukem Programming 21 26-03-2006 23:17
Example gyro code released. Kevin Watson Programming 60 17-03-2005 18:32
Example accelerometer code released. Kevin Watson Programming 0 20-01-2005 03:45
Infrared Beacon and Sensor Diagnostics Code Released Kevin Watson Programming 3 25-02-2004 17:50


All times are GMT -5. The time now is 13: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