View Single Post
  #2   Spotlight this post!  
Unread 11-02-2015, 15:18
cstelter cstelter is offline
Programming Mentor
AKA: Craig Stelter
FRC #3018 (Nordic Storm)
Team Role: Mentor
 
Join Date: Apr 2012
Rookie Year: 2012
Location: Mankato, MN
Posts: 77
cstelter will become famous soon enough
Re: Pd loop autonomous

Are you using command based robot? Simple robot? Iterative Robot? Answers will vary depending on your situation.

Our team has not gotten to actual autonomous code because the build team is behind yet. So far we have only a practice chassis with mecanum. Using Commands we created one command for DriveForTime that takes for its constructor magnitude, direction, rotation, whether or not to use field-centric motion, and a timeout. We have another command for RotateToAngle. With just those commands they can be sequenced to drive straight for 1s, rotate 90 degrees, over and over 4 times such that it is ending up within an inch of its starting position.

We're hoping once we have a bit more of a robot that we can continue to add commands for raising/lowering forks, etc to collect containers or totes.
Reply With Quote