Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   FRC Team 1241 - Code Release (2016) (http://www.chiefdelphi.com/forums/showthread.php?t=151863)

Mahrus Kazi 12-10-2016 22:35

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

SpaceOsc 12-10-2016 22:49

Re: FRC Team 1241 - Code Release (2016)
 
Great work!

414cnewq 13-10-2016 10:23

Re: FRC Team 1241 - Code Release (2016)
 
How did you determine the points for the Bezier Curve in Auto?

virtuald 13-10-2016 12:36

Re: FRC Team 1241 - Code Release (2016)
 
Added code link to FIRSTwiki. :)

AlexanderTheOK 13-10-2016 14:26

Re: FRC Team 1241 - Code Release (2016)
 
That programmer looks like he could use a USB monitor.

Mahrus Kazi 13-10-2016 19:44

Re: FRC Team 1241 - Code Release (2016)
 
Quote:

Originally Posted by 414cnewq (Post 1611626)
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

TheBoulderite 14-10-2016 10:41

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!


All times are GMT -5. The time now is 10:02.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi