Go to Post Legos rock! - Kyle Love [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
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-03-2016, 03:30 PM
Mitchell C Mitchell C is offline
Registered User
FRC #0313
 
Join Date: Jan 2016
Location: Michigan
Posts: 8
Mitchell C is an unknown quantity at this point
Re: CommandBasedRobot v. IterativeRobot

If you have been using iterative and understand it, i would recommend sticking with it at least till off-season just so that you don't need to learn anything too new in the middle of build season.
Reply With Quote
  #2   Spotlight this post!  
Unread 02-03-2016, 06:33 PM
Kevin Sevcik's Avatar
Kevin Sevcik Kevin Sevcik is online now
(Insert witty comment here)
FRC #0057 (The Leopards)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Houston, Texas
Posts: 3,569
Kevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond repute
Send a message via AIM to Kevin Sevcik Send a message via Yahoo to Kevin Sevcik
Re: CommandBasedRobot v. IterativeRobot

Quote:
Originally Posted by Mitchell C View Post
If you have been using iterative and understand it, i would recommend sticking with it at least till off-season just so that you don't need to learn anything too new in the middle of build season.
This is sound advice. I think Command-Based is pretty nifty as if you have a robust set of basic actions/commands programmed, it makes building automations and autonomous routines pretty easy. But there's definitely quirks to the framework that can hang you up.
__________________
The difficult we do today; the impossible we do tomorrow. Miracles by appointment only.

Lone Star Regional Troubleshooter
Reply With Quote
  #3   Spotlight this post!  
Unread 02-19-2016, 09:06 PM
King Nerd III's Avatar
King Nerd III King Nerd III is offline
Chief Programmer/Head of Autonomous
AKA: Isaac
FRC #1410 (The Kraken)
Team Role: Programmer
 
Join Date: Jan 2014
Rookie Year: 2014
Location: Denver, CO
Posts: 113
King Nerd III is an unknown quantity at this point
Re: CommandBasedRobot v. IterativeRobot

I definitely prefer CommandBased because of having commands and subsystems split out into separate files. Yes, managing all the files can be a little hard and the structure can get confusing (most of the time it's me going "wait, did I declare that in this subsystem or that one??") but overall, it keeps everything clean and spread out so that if you break something it's easier to fix.
Not sure if you've read it, but this is the reading the previous head of programming had me read that inspired the use of the CommandBased robot: http://www.laputan.org/mud/ It's an interesting read, I suggest you take a look.
__________________
Isaac
Chief of Programming and Head of Autonomous Control
FRC Team 1410
Reply With Quote
  #4   Spotlight this post!  
Unread 02-27-2016, 11:02 PM
JefferMC JefferMC is offline
Registered User
AKA: Jeff Corbett
FRC #1319 (Flash)
Team Role: Mentor
 
Join Date: Nov 2012
Rookie Year: 2005
Location: United States
Posts: 44
JefferMC will become famous soon enough
Re: CommandBasedRobot v. IterativeRobot

Iterative is more straightforward. Once you chafe at the restrictions that iterative imposes on you, switching to CommandBased will probably feel like a breath of fresh air. Before these frameworks came out, it was really hard for a student programmer just learning programming to do anything with coding. Now, with a rudimentary understanding of C++, they can successfully create new commands and work on Subsystems. More experienced student programmers can do the whole thing.

Doing more than one thing at a time in Iterative is complicated (i.e. driving while moving an arm). In CommandBased, it's easy.

I tend to avoid the RobotBuilder because I want to explain what we're doing as we go along, but the code it emits is not all that different from what I would code by hand (that is, before you have to put your logic in).
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:25 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