Log in

View Full Version : FRC Team 1241 - Code Release (2016)


Mahrus Kazi
12-10-2016, 22:35
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"!

https://c6.staticflickr.com/9/8418/30206022061_b06d3bfcbe_c.jpg
"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

SpaceOsc
12-10-2016, 22:49
Great work!

414cnewq
13-10-2016, 10:23
How did you determine the points for the Bezier Curve in Auto?

virtuald
13-10-2016, 12:36
Added code link to FIRSTwiki (https://firstwiki.github.io/frc1000/1241). :)

AlexanderTheOK
13-10-2016, 14:26
That programmer looks like he could use a USB monitor.

Mahrus Kazi
13-10-2016, 19:44
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 (https://www.facebook.com/frc1241/?fref=ts)
Follow us on Twitter (https://twitter.com/frc1241)

TheBoulderite
14-10-2016, 10:41
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!