Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   autonomous help (http://www.chiefdelphi.com/forums/showthread.php?t=113918)

akash992391 18-02-2013 23:16

autonomous help
 
hii
can someone plese help me with autonoumous programming i dont know wat to do?/?

Kevin Sevcik 18-02-2013 23:17

Re: autonomous help
 
First and most important, are you using Labview, C++, CommandBased C++, Java, or CommandBased Java?

akash992391 18-02-2013 23:20

Re: autonomous help
 
LabVIEW

RyanN 18-02-2013 23:40

Re: autonomous help
 
What do you want your code to do?

Spend a little time asking a question first. Saying you need help with autonomous doesn't help us help you at all. We have a subject of this thread, but where is the body?

akash992391 18-02-2013 23:59

Re: autonomous help
 
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

RyanN 19-02-2013 00:20

Re: autonomous help
 
Quote:

Originally Posted by akash992391 (Post 1236054)
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.


All times are GMT -5. The time now is 03:02.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi