Thread: Autonomous
View Single Post
  #1   Spotlight this post!  
Unread 18-02-2012, 22:42
Hebrew Hebrew is offline
Registered User
FRC #4228 (iRobotics)
Team Role: Programmer
 
Join Date: Dec 2011
Rookie Year: 2012
Location: Minnesota
Posts: 84
Hebrew is an unknown quantity at this point
Autonomous

Hi there!

I am a rookie programmer (The only one actually) and I am wondering if anyone could give me a bit of help in getting an autonomous program working. First you should know a bit about our robot:
  • We are using a tank drive with the standard wheels given in the KOP
  • We have 4 wheels powered by 2 motors, so 1 motor controls both wheels on each side.
  • We are using the standard frame given in the KOP
  • On the back of our robot is an 'arm'. It is used to lower the bridge.

So, I had a bit of fun playing with autonomous mode the other day, I got the robot to spin a bit. The problem is, I have absolutely NO idea how to specify speeds or how to activate a piston in autonomous. I have 2 days so I REALLY do not want to play with it much, I just want a bit of help getting it done. Could someone give me an example on how to get the robot to move straight for X amount of time/distance and then after that is complete activate a piston?

Thank you very much.

EDIT: I got the robot to move forward, I still cannot get the piston to fire at the correct time.

Last edited by Hebrew : 19-02-2012 at 02:04.
Reply With Quote