Log in

View Full Version : autonomous help


akash992391
18-02-2013, 23:16
hii
can someone plese help me with autonoumous programming i dont know wat to do?/?

Kevin Sevcik
18-02-2013, 23:17
First and most important, are you using Labview, C++, CommandBased C++, Java, or CommandBased Java?

akash992391
18-02-2013, 23:20
LabVIEW

RyanN
18-02-2013, 23:40
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
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
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:
I have 4 motors on my robot:

Shooter Motor 1
Shooter Motor 2
Hopper Tire
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:

Set shooter motor 1 to 1.
Set shooter motor 2 to 1.
Wait 3 seconds for shooter motor spinup.
Set arm motor to -1.
Wait 1 second.
Set arm motor to 0.
Set hopper motor to 1.
Wait 1 second.
DISK 1 FIRES
Set hopper motor to 0.
Set arm motor to 1.
Wait 1 second.
Set arm motor to -1.
Wait 1 second.
Set arm motor to 0.
Set hopper motor to 1.
Wait 1 second.
DISK 2 FIRES
Set hopper motor to 0.
Set arm motor to 1.
Wait 1 second.
Set arm motor to -1.
Wait 1 second.
Set arm motor to 0.
Set hopper motor to 1.
Wait 1 second.
DISK 3 FIRES
Set hopper motor to 0.
Set arm motor to 1.
Wait 1 second.
Set arm motor to 0.
Set shooter motor 1 to 0.
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.