Go to Post Maybe we should put one of those advisory signs: "Don't try this at home ... or at Robotics competitions" - Franchesca [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
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 02-05-2014, 13:27
Domenic Rodriguez's Avatar
Domenic Rodriguez Domenic Rodriguez is offline
Registered User
FRC #0316 (LuNaTeCs)
Team Role: College Student
 
Join Date: Sep 2010
Rookie Year: 2011
Location: Grove City, PA
Posts: 213
Domenic Rodriguez has a spectacular aura aboutDomenic Rodriguez has a spectacular aura aboutDomenic Rodriguez has a spectacular aura about
Team 316 2014 Code Release

Now that the 2014 season is officially over, I thought I'd share our code with the CD community. You can find our robot code here: https://github.com/LuNaTeCs-316/2014-Robot, and our vision code here: https://github.com/LuNaTeCs-316/LuNaCV. Any thoughts, comments or questions are appreciated!

This was our first year using Java, and I'm glad we made that decision. The shorter deployment times and ease of use allowed us to reach further and accomplish more, such as reading constants from a text file and more advanced autonomous modes.

This was also our first year using fully custom vision software. We wrote a standalone Java application using the Java bindings of OpenCV and the desktop NetworkTables library, and were able to successfully detect the hot goal (barring field issues). Special thanks to Team 341 for releasing their 2012 vision system DaisyCV; it was a huge inspiration for what we wrote this year!
__________________

LuNaTeCs - Learning Under Nurturing Adults Teaching Engineering Concepts and Skills - Small and Mighty!

FRC 316 LuNaTeCs - Student (2011-2014), Lead Programmer (2011-2014), Team Captain (2013-2014), Operator (2013), Drive Coach (2014), Mentor (2015-????)
'11 Philly Regional Finalists, '13 Chestnut Hill Finalists, '13 Lenape Champions, '13 Archimedes Division, '14 Chestnut Hill Champions, '14 Lenape Champions
FTC 7071 EngiNerds - Founding Advisor (2013-2014) | FRC 5420 Velocity - Founding Advisor (2015)
Grove City College Class of '18, Electrical/Computer Engineering (B.S.E.E)

Reply With Quote
  #2   Spotlight this post!  
Unread 02-05-2014, 17:14
CreativeName55 CreativeName55 is offline
Registered User
FRC #2729 (Storm Robotics)
Team Role: Programmer
 
Join Date: Jan 2014
Rookie Year: 2011
Location: Marlton
Posts: 17
CreativeName55 is an unknown quantity at this point
Re: Team 316 2014 Code Release

That is a really nice looking vision system. One suggestion though, if I may, may be to look into properties, as it looks like you're using SmartDashboard? Properties, such as IntegerProperties and DoubleProperties, allow you to easily change the constants being used without redeploying code. Found out about them, and they are super useful for fixing little quirks in things like vision
Reply With Quote
  #3   Spotlight this post!  
Unread 03-05-2014, 21:59
Domenic Rodriguez's Avatar
Domenic Rodriguez Domenic Rodriguez is offline
Registered User
FRC #0316 (LuNaTeCs)
Team Role: College Student
 
Join Date: Sep 2010
Rookie Year: 2011
Location: Grove City, PA
Posts: 213
Domenic Rodriguez has a spectacular aura aboutDomenic Rodriguez has a spectacular aura aboutDomenic Rodriguez has a spectacular aura about
Re: Team 316 2014 Code Release

Quote:
Originally Posted by CreativeName55 View Post
That is a really nice looking vision system. One suggestion though, if I may, may be to look into properties, as it looks like you're using SmartDashboard? Properties, such as IntegerProperties and DoubleProperties, allow you to easily change the constants being used without redeploying code. Found out about them, and they are super useful for fixing little quirks in things like vision
Thanks! To clarify, our vision code runs on the Driver Station as a standalone Java app. We do use SmartDashboard, but we decided that keeping our vision code separate from the dashboard allowed for more flexibility. I have been looking into using Java Properties for configuration, but I haven't gotten around to implementing it yet.
__________________

LuNaTeCs - Learning Under Nurturing Adults Teaching Engineering Concepts and Skills - Small and Mighty!

FRC 316 LuNaTeCs - Student (2011-2014), Lead Programmer (2011-2014), Team Captain (2013-2014), Operator (2013), Drive Coach (2014), Mentor (2015-????)
'11 Philly Regional Finalists, '13 Chestnut Hill Finalists, '13 Lenape Champions, '13 Archimedes Division, '14 Chestnut Hill Champions, '14 Lenape Champions
FTC 7071 EngiNerds - Founding Advisor (2013-2014) | FRC 5420 Velocity - Founding Advisor (2015)
Grove City College Class of '18, Electrical/Computer Engineering (B.S.E.E)

Reply With Quote
  #4   Spotlight this post!  
Unread 07-05-2014, 17:06
pastelpony's Avatar
pastelpony pastelpony is offline
Programmer/Electrical
AKA: Zach M
FRC #3525 (Nuts and Bolts of Fury)
Team Role: Programmer
 
Join Date: Feb 2014
Rookie Year: 2013
Location: Waterbury, Connecticut
Posts: 152
pastelpony will become famous soon enough
Re: Team 316 2014 Code Release

Thank you for your code. While my team primarily uses LabVIEW, I want to learn to use Java for FRC (have some experience with it, but none with FRC) as a secondary language. I learn best off example (such as reading example code,) so this helps. Thank you!
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 12:42.

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