Go to Post The game is as much a competition of strategies as it is of robots. There is never any one "best strategy." If teams choose to use this as their strategy, find one that will beat them. - srjjs [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 01-07-2016, 09:55 PM
lakecat's Avatar
lakecat lakecat is offline
Cat Expert
AKA: Tristan Thompson
FRC #2635 (Lake Monsters)
Team Role: Programmer
 
Join Date: Jan 2014
Rookie Year: 2012
Location: Lake Oswego, OR
Posts: 15
lakecat is an unknown quantity at this point
Recycle Rush Code

We decided to switch from LabView to Java for this upcoming season. We ended up reprogramming all the robots from 2013-2015, and through this process found much success using the Strategy Pattern for our software architecture. Our Recycle Rush code offers a good example of this:

GitHub: https://github.com/ultr4son/LiftBotJavaV2.git

We also compiled a library of commonly used objects, called LakeLib.

Github: https://github.com/2635Lakemonsters/LakeLib

Teams are free to use this library and give suggestions on its improvement.
Reply With Quote
  #2   Spotlight this post!  
Unread 01-07-2016, 10:51 PM
c0d3rman's Avatar
c0d3rman c0d3rman is offline
Programming Captain
AKA: Yoni Lerner
FRC #4904 (Bot Provoking)
Team Role: Programmer
 
Join Date: Jan 2016
Rookie Year: 2014
Location: US
Posts: 8
c0d3rman is an unknown quantity at this point
Re: Recycle Rush Code

That's really cool! Have you seen Command Based programming with wpilib? It looks like that's along the lines of some of the stuff you're doing here.
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 07:27 AM.

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