Go to Post IRI seeks to invite the very best robots to play the FIRST game, achieving the highest level of play, while keeping in place the FIRST atmosphere. - Nathan Streeter [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 12-01-2011, 05:30
spartango spartango is offline
Registered User
FRC #0192 (GRT)
Team Role: Alumni
 
Join Date: Nov 2009
Rookie Year: 2008
Location: Palo Alto, CA
Posts: 43
spartango is an unknown quantity at this point
GRTFramework v5

Well hello again!

A brief, but potentially useful shameless plug:
For programming in Java in this year's competition, you should check out the GRTFramework:

http://code.google.com/p/grtframework/

Why?
It's free.
It provides asynchronous, event-driven API's for all robot hardware.
It supports an MVC-like abstraction and encapsulation system for clean, elegant code.
It's easy to learn use, with loads of documentation and active support.
It has a simulation/emulation environment for time away from the 'bot.
It's been in use on multiple robots for over 1.5 years, with lots of utilities to make development easier (network API, file logging, switchable modules).

and...because you wish your Main looked like this:

http://code.google.com/p/grt192/sour...MainRobot.java

(team 192, 2010)

Tasty morsel of what development looks like:

http://code.google.com/p/grtframewor...pplicationFlow

Examples of where its been used in various bots

http://code.google.com/p/grt192/

Enjoy!
Reply With Quote
  #2   Spotlight this post!  
Unread 12-01-2011, 12:29
jhabersat jhabersat is offline
mentor Team 614
AKA: James Habersat
FRC #0614 (614)
Team Role: Mentor
 
Join Date: Dec 2010
Rookie Year: 2003
Location: Woodbridge, VA
Posts: 1
jhabersat is an unknown quantity at this point
Re: GRTFramework v5

The GRTFramework looks really interesting. Can the code actually be run/debugged without the cRIO being physically present via IP address?

We have a problem with limited class time. Presently we cannot debug code outside of class time because the code must be 'deployed' to the cRIO.

James Habersat
mentor, Team 614
Alexandria, VA
Reply With Quote
  #3   Spotlight this post!  
Unread 12-01-2011, 12:29
mwtidd's Avatar
mwtidd mwtidd is offline
Registered User
AKA: mike
FRC #0319 (Big Bad Bob)
Team Role: Mentor
 
Join Date: Feb 2005
Rookie Year: 2003
Location: Boston, MA
Posts: 714
mwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond repute
Re: GRTFramework v5

Has it been tested on the 2011 system yet?
__________________
"Never let your schooling interfere with your education" -Mark Twain
Reply With Quote
  #4   Spotlight this post!  
Unread 12-01-2011, 16:29
spartango spartango is offline
Registered User
FRC #0192 (GRT)
Team Role: Alumni
 
Join Date: Nov 2009
Rookie Year: 2008
Location: Palo Alto, CA
Posts: 43
spartango is an unknown quantity at this point
Re: GRTFramework v5

@lineskier: yes its running on a robot built in the last 4 days, using the 2011 SDK and hardware. Robot has all the normal things (4CIM drive by jaguars, line followers, camera, accelerometer + gyro, encoders etc).

@jhabersat: the way the "emulation" works is by taking the code that you write on top of the framework, and simply not making calls/importing WPIlibJ (which is what the hardware is dependent on). Instead, these hardware bindings are made to the EDemoBoard part of the Sun SPOT hardware platform, which has a hardware emulator called "Solarium". Obviously there's no physics simulation, but it does allow you to run your code in some capacity without the actual robot. Get the silly runtime errors out and such.
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:02.

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