View Single Post
  #7   Spotlight this post!  
Unread 01-04-2013, 14:23
apalrd's Avatar
apalrd apalrd is offline
More Torque!
AKA: Andrew Palardy (Most people call me Palardy)
VRC #3333
Team Role: College Student
 
Join Date: Mar 2009
Rookie Year: 2009
Location: Auburn Hills, MI
Posts: 1,347
apalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond repute
Re: RobotBuilder Subsystems with multiple PID loops

If you are seriously limited in your control system design by arbitrary limitations imposed by an autocoding tool or framework, then maybe the autocoding tool or framework is not the correct way to write the code you need.

Basically, you should just write the code manually. The code itself is only a few lines long (including the PID control math) and should be small enough to fit in a single function.

I've always seen the RobotBuilder and command-based frameorks as large inefficient beasts which impose so many design limitations on algorithm code that in almost all cases you are better off without them.
__________________
Kettering University - Computer Engineering
Kettering Motorsports
Williams International - Commercial Engines - Controls and Accessories
FRC 33 - The Killer Bees - 2009-2012 Student, 2013-2014 Advisor
VEX IQ 3333 - The Bumble Bees - 2014+ Mentor

"Sometimes, the elegant implementation is a function. Not a method. Not a class. Not a framework. Just a function." ~ John Carmack