View Single Post
  #12   Spotlight this post!  
Unread 27-02-2014, 11:36
adciv adciv is offline
One Eyed Man
FRC #0836 (RoboBees)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2010
Location: Southern Maryland
Posts: 478
adciv is a name known to alladciv is a name known to alladciv is a name known to alladciv is a name known to alladciv is a name known to alladciv is a name known to all
Re: Impressions: Command Based Robot

We use LabView but try to do the same thing. We categorize the behaviors we want the robots to perform. One advantage of this is we typically have some pretty complex autonomous & teleop routines and this makes it easier to develop both.

2012 Rebound Rumble Routines (for example)
1) Ball Management - Statemachine manages the inventory and location of balls in the robot, ensuring we never went over the limit and that all balls were under positive control at all times. Balls were automatically routed through the system to provide a ball as soon as possible to the shooter.

2) Shooter Management - Managed Shooter RPM and inhibited firing if RPM was not within tollerance

3) Shooter Targeting - Recieved location of target and automatically moved the turret to target

4) Ball Detection (implemented after season) - Could find balls automatically and provide the location to the drive system for pickup

5) Driver System - Could take the location of balls and drive towards them until they were picked up to be handled bythe Ball Mangement System

This could be considered a "System of Systems" (groan all you want). Each subsystem handles it's task and is connected (as loosely as possible) to others. It's discrete portions of code instead of monolithic items. We're working on re-implementing this years code in a similar manner. It also makes it easier to maintain/troubleshoot.
__________________
Quote:
Originally Posted by texarkana View Post
I would not want the task of devising a system that 50,000 very smart people try to outwit.