|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
We Need a Little Bit Of Help...
its something so simple that its going over our heads...
we are wondering how to set up the robot's attonomous to drive forward for 5 seconds, and drive in a circle for 10 seconds.. something so simple that, i cant even grasp the idea where to start.... ![]() |
|
#2
|
|||
|
|||
|
Re: We Need a Little Bit Of Help...
Will you be at NYC regional tomorrow? If so come and find Team 237 from CT and we'll get you going.
|
|
#3
|
|||
|
|||
|
Re: We Need a Little Bit Of Help...
Quote:
![]() |
|
#4
|
|||
|
|||
|
Re: We Need a Little Bit Of Help...
Okay, well just to get started, take a glance over at the thread over at http://www.chiefdelphi.com/forums/sh...ad.php?t=75273 to get an idea how to start.
Or, you can just take the attached vi and modify it yourself. It's pretty messy as it is, but it has the basic framework you need. All you need to do is change the case statement to x..y where x and y are the start and end time in ms (0..15000 means 0-15 s), then put what you want to do in the cases. While the attached should be functional, I strongly recommend looking over it until you understand it. I'm not saying don't use it, but you need to understand (or at least think you understand) exactly what is going into your code. Last edited by gwytheyrn : 05-03-2009 at 16:42. |
|
#5
|
|||
|
|||
|
Re: We Need a Little Bit Of Help...
OK. If you need help later in the day we'll be there.
|
|
#6
|
|||
|
|||
|
Re: We Need a Little Bit Of Help...
If you open the default Autonomous Independent VI, it contains commented code that loops around in time-based pattern.
The diagram uses two primary VIs, the Drive VI to set the motor speeds, and the Wait and Feed. You can use sequences of these to carry out all sorts of patterns. You can do the pattern you describe with as little as four VIs, two drives and two waits. Think about what happens when driving the pattern in tele. What joystick values will flow into the drive. What would be the joystick positions for the first movement, and the next. Each time you want to change the motor speeds, execute a Drive, and to leave it that way for some time, use a Wait and Feed. After you get the hang of it, you may want to modify this a bit to accelerate more slowly using either a few more blocks or a loop, but there is nothing complicated about the simple dead reckoning driving. Greg McKaskle |
|
#7
|
|||
|
|||
|
Re: We Need a Little Bit Of Help...
team 56 helped us at nyc regionals.
they dont have any internet there :facepalm: so thanks for the help greg. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Need A little Help | Xenozero | General Forum | 3 | 18-01-2008 17:59 |
| A little bit of fame close to home... | Greg Perkins | Dean Kamen's Inventions | 1 | 13-04-2004 20:50 |
| Need a little help on somthing | 157#1Driver | General Forum | 4 | 03-12-2002 22:07 |
| I need a little help... | Sachiel7 | Technical Discussion | 5 | 25-09-2002 21:49 |
| We need a little help | Justin Howard | General Forum | 3 | 23-02-2002 11:41 |