Go to Post I volunteered to be the person responsible for the electronics and raised my hand before realizing that I have had almost no electronics experience. I hope our robot turns out alright... - Blue_Mist [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

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 12-10-2016, 22:35
Mahrus Kazi Mahrus Kazi is offline
Registered User
FRC #1241 (Theory 6)
Team Role: Mentor
 
Join Date: Mar 2016
Rookie Year: 2012
Location: Mississauga, Canada
Posts: 2
Mahrus Kazi is a jewel in the roughMahrus Kazi is a jewel in the roughMahrus Kazi is a jewel in the rough
FRC Team 1241 - Code Release (2016)

Before we dive into our off-season events, Team 1241 has decided to officially release our 2016 code that ran on our robot,
"Black Mamba"!


"1 Programmer, 4 Computers"

It contains the code we used for camera tracking, however the image processing was done off-board on our Kangaroo mobile desktop running RoboRealm (mainly due it being our first year fully implementing vision processing, we are working on possibly using OpenCV next year).

We have tried our best to add comments to all the classes, but if you have any questions please feel free to ask.
Any tips are always welcome, we are still learning!

Code: https://github.com/RickHansenRobotics/FRC-2016-1241-SH
Reply With Quote
  #2   Spotlight this post!  
Unread 12-10-2016, 22:49
SpaceOsc's Avatar
SpaceOsc SpaceOsc is offline
16 Years of FIRST!
AKA: Oscar Vasquez
FRC #4501 (Humans)
Team Role: Coach
 
Join Date: Feb 2002
Rookie Year: 2001
Location: Culver City, CA
Posts: 441
SpaceOsc has a brilliant futureSpaceOsc has a brilliant futureSpaceOsc has a brilliant futureSpaceOsc has a brilliant futureSpaceOsc has a brilliant futureSpaceOsc has a brilliant futureSpaceOsc has a brilliant futureSpaceOsc has a brilliant futureSpaceOsc has a brilliant futureSpaceOsc has a brilliant futureSpaceOsc has a brilliant future
Send a message via AIM to SpaceOsc Send a message via Yahoo to SpaceOsc
Re: FRC Team 1241 - Code Release (2016)

Great work!
__________________

2014-2017: Team 4501 Coach/Lead Mentor
2002-2011: Team 702, Mentor
2001-2002: Team 702 Captain
Reply With Quote
  #3   Spotlight this post!  
Unread 13-10-2016, 10:23
414cnewq 414cnewq is offline
Registered User
FRC #3844 (Kentucky Wildbots)
Team Role: Alumni
 
Join Date: Jul 2014
Rookie Year: 2014
Location: KY
Posts: 85
414cnewq has much to be proud of414cnewq has much to be proud of414cnewq has much to be proud of414cnewq has much to be proud of414cnewq has much to be proud of414cnewq has much to be proud of414cnewq has much to be proud of414cnewq has much to be proud of414cnewq has much to be proud of414cnewq has much to be proud of
Re: FRC Team 1241 - Code Release (2016)

How did you determine the points for the Bezier Curve in Auto?
Reply With Quote
  #4   Spotlight this post!  
Unread 13-10-2016, 12:36
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,032
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
Re: FRC Team 1241 - Code Release (2016)

Added code link to FIRSTwiki.
__________________
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
  #5   Spotlight this post!  
Unread 13-10-2016, 14:26
AlexanderTheOK AlexanderTheOK is offline
Guy
no team
 
Join Date: Jan 2014
Rookie Year: 2012
Location: Los Angeles
Posts: 146
AlexanderTheOK is just really niceAlexanderTheOK is just really niceAlexanderTheOK is just really niceAlexanderTheOK is just really nice
Re: FRC Team 1241 - Code Release (2016)

That programmer looks like he could use a USB monitor.
Reply With Quote
  #6   Spotlight this post!  
Unread 13-10-2016, 19:44
Mahrus Kazi Mahrus Kazi is offline
Registered User
FRC #1241 (Theory 6)
Team Role: Mentor
 
Join Date: Mar 2016
Rookie Year: 2012
Location: Mississauga, Canada
Posts: 2
Mahrus Kazi is a jewel in the roughMahrus Kazi is a jewel in the roughMahrus Kazi is a jewel in the rough
Re: FRC Team 1241 - Code Release (2016)

Quote:
Originally Posted by 414cnewq View Post
How did you determine the points for the Bezier Curve in Auto?
Our start point is always (0, 0) ie. the robot starts at the center of the cartesian plane. The end point is determined on where we want the robot to end [ex. (100, 80) - in inches]. The two control points depend on the type of path we want the robot to follow. We usually use this handy calculator we found online to find these points.

https://www.desmos.com/calculator/cahqdxeshd



Like us on Facebook
Follow us on Twitter
Reply With Quote
  #7   Spotlight this post!  
Unread 14-10-2016, 10:41
TheBoulderite's Avatar
TheBoulderite TheBoulderite is offline
Director of Communications
AKA: Warren Bartlett
FRC #1619 (Up-A-Creek Robotics)
Team Role: Leadership
 
Join Date: Dec 2014
Rookie Year: 2015
Location: Longmont, CO
Posts: 290
TheBoulderite has a reputation beyond reputeTheBoulderite has a reputation beyond reputeTheBoulderite has a reputation beyond reputeTheBoulderite has a reputation beyond reputeTheBoulderite has a reputation beyond reputeTheBoulderite has a reputation beyond reputeTheBoulderite has a reputation beyond reputeTheBoulderite has a reputation beyond reputeTheBoulderite has a reputation beyond reputeTheBoulderite has a reputation beyond reputeTheBoulderite has a reputation beyond repute
Re: FRC Team 1241 - Code Release (2016)

Wow. Awesome bot, guys! It was fun to watch you guys compete in regionals, and an honor to play with you all at IRI this year. Keep up the good work!
__________________

2015-now: 1619 (Up-A-Creek Robotics)
???: 2017 Utah Regional, ???: 2017 Colorado Regional

Thanks to all of our alliance partners over the years!
(1583, 1667, 937, 1332, 1158, 1348, 2543, 2261, 1777, 2240, 2036, 3648, 1410, 3200, 3807, 4550, 399, 2594, 1987, 4153, 624, 4334, 1730, 4593, 3618, 3026, 967, 4499, 3009, 1011, 525, 4028, 3352)
Reply With Quote
Reply


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:48.

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