Go to Post ... it's us against all the bad-grammar-usin', "ya know"-slingin', graciously excepting, "congradulations"-totin', "nu kU ler"-spoutin' linguistic Luddites out there. We'll see who wins! :D - dlavery [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 Rating: Thread Rating: 3 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 30-01-2013, 00:05
jfitz0807 jfitz0807 is offline
Registered User
FRC #2877 (Ligerbots)
Team Role: Parent
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Newton, MA
Posts: 67
jfitz0807 is an unknown quantity at this point
I'm new to using java for the robot this year. When people talk about a "command based" robot are they referring to the IterativeRobot or is there another extension?
Reply With Quote
  #2   Spotlight this post!  
Unread 30-01-2013, 00:18
BigJ BigJ is offline
Registered User
AKA: Josh P.
FRC #1675 (Ultimate Protection Squad)
Team Role: Engineer
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Milwaukee, WI
Posts: 945
BigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond repute
Re: Command Based vs Simple Robot

Quote:
Originally Posted by jfitz0807 View Post
I'm new to using java for the robot this year. When people talk about a "command based" robot are they referring to the IterativeRobot or is there another extension?
"Command-based" is a seperate architectural template from Simple and Iterative.

Check it out here. (Java uses the same stuff basically)
Reply With Quote
  #3   Spotlight this post!  
Unread 30-01-2013, 08:14
heya101 heya101 is offline
Registered User
FRC #3699
 
Join Date: Mar 2011
Location: Minnesota
Posts: 11
heya101 is an unknown quantity at this point
Re: Command Based vs Simple Robot

Do you think with four subsystems (DriveTrain, Intake, Elevator, and Shooter) Command would be redundant? Also is it possible to integrate, say 1 subsystem and command, into a simpleRobot template?
Reply With Quote
  #4   Spotlight this post!  
Unread 30-01-2013, 10:10
gixxy's Avatar
gixxy gixxy is offline
Programming and Arduino Mentor
AKA: Gustave Michel III
FRC #3946 (Tiger Robotics)
Team Role: Mentor
 
Join Date: Nov 2011
Rookie Year: 2012
Location: Ruston, LA
Posts: 207
gixxy is on a distinguished road
Re: Command Based vs Simple Robot

I was against the Command Based Template at the beginning for the same reason. However looking back on it, the time saved and time using the CommandBased Structure was great. It is a great structure well built and simple to use once you know some basic Java.

The programming team is always the one on crunch time at the end when the physical design is done. Unless you are able to really get a format/structure together on your own (Probably would have had to been done offseason) then go ahead with it, otherwise I would highly stress the Command Based Structure.
__________________
Programmer - A creature known for converting Caffeine into Code.
Studying Computer Science @ Louisiana Tech University
Associate Consultant @ Fenway Group

2012-13: 3946 - Head of Programming, Electrical and Web
2014 - 3468 - Programming Mentor
2015 - Present - Lurker
Reply With Quote
  #5   Spotlight this post!  
Unread 30-01-2013, 12:23
jwiederspan jwiederspan is offline
Registered User
FRC #3663
 
Join Date: Oct 2012
Location: Washington
Posts: 5
jwiederspan is an unknown quantity at this point
Re: Command Based vs Simple Robot

We moved to Command-based this season, and it is a little more difficult for the new programmers to get used to but MUCH better for a team to work on and much more flexible than our old code.
1) Having subsystems (and commands) in separate files made it much easier to separate out the work. We agreed on the public interfaces and then each person could tweak and improve behind the scenes as needed;
2) The subsystems become somewhat modular, so you will probably find yourself each year picking and choosing from those used in previous years and they will be easier to incorporate;
3) It is much more flexible because your commands compete individually for resources instead of having the entire code base need to know what state things are currently in; and
4) It is better programming - since our goal is to get the kids excited about programming, telling them that they are using programming concepts that don't get introduced until the second year of computer science classes at most colleges usually gets them very excited.
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 10:03.

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