View Single Post
  #1   Spotlight this post!  
Unread 30-03-2013, 10:33
mkadonoff's Avatar
mkadonoff mkadonoff is offline
Programming Mentor
AKA: Mark Kadonoff
FRC #0620 (Warbots)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Vienna, VA
Posts: 6
mkadonoff is an unknown quantity at this point
RobotBuilder Subsystems with multiple PID loops

We used RobotBuilder to generate CommandRobot java code for Ultimate Ascent 2013, with a gyro in a DriveTrain PIDSubsystem for horizontal angle feedback and a gyro in an Elevator PIDSubsystem for vertical angle feedback.

During build season we also implemented encoder feedback for the drive train, but we couldn't figure out a clean way to include both the encoders and gyro as PIDControllers in one DriveTrain Subsystem.

RobotBuilder only allows one PIDController per subsystem, and no nested Subsystems, so we removed the encoders for this season. However, I'd like to figure out a good way to handle this for next year. Any thoughts on how to implement a CommandRobot Subsystem with multiple PID loops in RobotBuilder?

Mark Kadonoff
Programming Mentor
JMHS Warbots Team 620
__________________
Mark Kadonoff
Programming Mentor
JMHS Warbots Team 620
2009 DC Regional Finalist
2013 Pittsburgh Regional Finalist

Last edited by mkadonoff : 30-03-2013 at 11:04.