Go to Post We talked to a team in Las Vegas and next year there will be another team with a 25 drive train. The west coast may never be the same. - nuggetsyl [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

 
 
 
Thread Tools Rating: Thread Rating: 31 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #6   Spotlight this post!  
Unread 05-01-2010, 11:52
virtuald's Avatar
virtuald virtuald is offline
RobotPy Guy
AKA: Dustin Spicuzza
FRC #1418 (), FRC #1973, FRC #4796, FRC #6367 ()
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2003
Location: Boston, MA
Posts: 1,031
virtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant future
Re: Event Driven Development for FRC-Java

Sorry for the delay. I was mostly referring to things like "e.getSource().getId().equals("left")" ... I'm sure theres a good reason why I have to call getSource(), but it seems a bit redundant. Same thing with the subscription mechanism shown in the example: ((GRTJoystick) ds.getSensor("leftJoystick")).addJoystickListener( this); It just seems like a lot of text to do something simple. Should write some wrappers to do common operations like that (even though I *know* the latter example will only be done once or twice in a program, but I'm the type of person that likes creating lots of tiny programs for testing things, and don't want to remember all of that. )
__________________
Maintainer of RobotPy - Python for FRC
Creator of pyfrc (Robot Simulator + utilities for Python) and pynetworktables/pynetworktables2js (NetworkTables for Python & Javascript)

2017 Season: Teams #1973, #4796, #6369
Team #1418 (remote mentor): Newton Quarterfinalists, 2016 Chesapeake District Champion, 2x Innovation in Control award, 2x district event winner
Team #1418: 2015 DC Regional Innovation In Control Award, #2 seed; 2014 VA Industrial Design Award; 2014 Finalists in DC & VA
Team #2423: 2012 & 2013 Boston Regional Innovation in Control Award


Resources: FIRSTWiki (relaunched!) | My Software Stuff
Reply With Quote
 


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
[BB]: Still not Bill #2 (FRC Java Software Available) Jason Law General Forum 1 07-12-2009 12:27
**FIRST EMAIL**/FRC Java Software Available/Important Site Updates/Deadline Reminders Mark McLeod FIRST E-Mail Blast Archive 0 03-12-2009 22:31
FRC Java 2010 Documentation alivemyst Java 11 07-09-2009 19:03
[VIDEO] Wiimote Driven FRC Bot Greg Marra General Forum 7 22-01-2008 07:56
**FIRST EMAIL**/Get Ready for 2008 FRC Event Registration! Mark McLeod FIRST E-Mail Blast Archive 0 12-09-2007 14:35


All times are GMT -5. The time now is 09:32.

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