Thread: autonomous help
View Single Post
  #6   Spotlight this post!  
Unread 19-02-2013, 00:20
RyanN's Avatar
RyanN RyanN is offline
RyanN
AKA: Ryan Nazaretian
FRC #4901 (Garnet Squadron)
Team Role: Mentor
 
Join Date: Jun 2006
Rookie Year: 2005
Location: Columbia, SC
Posts: 1,126
RyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond repute
Re: autonomous help

Quote:
Originally Posted by akash992391 View Post
Ok so I autonomous mode I want my two CIM motor shooter to spin constantly and then I want my hooper tire to drop Frishbee and I have an arm connected to DC motor that spins and shoots so basically I want tires to Spin it drop arm spins it pushed that Frishbee to tires and shoot
That's one large mass of text with no punctuation. I have no idea what you're talking about. Are you repeating what you're saying or something?

Create a step-by-step list of what you need it to do in autonomous.

Example:
Quote:
I have 4 motors on my robot:
  1. Shooter Motor 1
  2. Shooter Motor 2
  3. Hopper Tire
  4. Arm

In autonomous, I want my shooter motors to spin up for full speed. They take a few seconds to do this.

Once the wheels are at full speed, I need my hopper tire to rotate for 1/2 a second to feed a Frisbee into the shooter. I have 3 Frisbees to shoot, so I need to feed, wait for a second, feed, wait for a second, feed, and then turn off the motor.

In order to feed a Frisbee into the, I must lower my arm and then rotate the hopper tire.

To sum up the sequence:
  1. Set shooter motor 1 to 1.
  2. Set shooter motor 2 to 1.
  3. Wait 3 seconds for shooter motor spinup.
  4. Set arm motor to -1.
  5. Wait 1 second.
  6. Set arm motor to 0.
  7. Set hopper motor to 1.
  8. Wait 1 second.
  9. DISK 1 FIRES
  10. Set hopper motor to 0.
  11. Set arm motor to 1.
  12. Wait 1 second.
  13. Set arm motor to -1.
  14. Wait 1 second.
  15. Set arm motor to 0.
  16. Set hopper motor to 1.
  17. Wait 1 second.
  18. DISK 2 FIRES
  19. Set hopper motor to 0.
  20. Set arm motor to 1.
  21. Wait 1 second.
  22. Set arm motor to -1.
  23. Wait 1 second.
  24. Set arm motor to 0.
  25. Set hopper motor to 1.
  26. Wait 1 second.
  27. DISK 3 FIRES
  28. Set hopper motor to 0.
  29. Set arm motor to 1.
  30. Wait 1 second.
  31. Set arm motor to 0.
  32. Set shooter motor 1 to 0.
  33. Set shooter motor 2 to 0.
Create a list of events that needs to happen.

Everyone's robot is different. That's one of the great things about FIRST. No two teams does the same thing, but they all design a robot to compete in the same game.

Without ever seeing your robot, seeing your programming, or knowing anything about your robot, how do you expect a guy in Mississippi or Texas to know what you in New York is trying to do? I'm not trying to be rude, but you've started a few threads on Chief Delphi and you've basically started quite a few of those threads with an ambiguous question.
__________________
Garnet Squadron
FRC 4901
Controls Mentor
@rnazaretian

Previous mentor and student from Team Fusion, FRC 364

Last edited by RyanN : 19-02-2013 at 00:25.