|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#16
|
|||||
|
|||||
|
Re: Autonomous
Yes, you can just highlight everything and paste it a couple of times.
Just like the three separate loops in Basic Robot Main.vi Do make sure that only one of the loops is active at any time. It could get pretty random if two were active at the same time. An alternate is to drop all three into an enumerated case statement, so only one can possible be active. In Basic Robot Main.vi you can delete the camera and periodic loops if you aren't using them. |
|
#17
|
|||
|
|||
|
Re: Autonomous
Quote:
We are not using a camera. I'll try turning two off as I am not sure how to do the enumerated case statement yet. More lessons to learn... |
|
#18
|
|||||
|
|||||
|
Re: Autonomous
The periodic loop doesn't do anything the way it comes.
It's an empty template for users to see how to add something that requires a very regular, timed period. Something that has to be clocked, such as, collecting sensors requiring a particular frequency or oscillation. Feedback control loops might require a regular period to work predictably. Doing the three loops is a good place to start. It's easy to visualize what's going on. An enumerated case is a variation on that, but time enough for that later. These three loops can easily be moved into a case statement at a later time. P.S. The next step would be to convince you to add a 3-position switch to your robot, so you can decide on the fly... Last edited by Mark McLeod : 23-02-2009 at 23:08. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Autonomous | Whitetail Freak | Programming | 5 | 14-02-2009 07:35 |
| Autonomous | hedgehogger | Programming | 1 | 22-01-2004 18:29 |
| R.A.G.E. Autonomous? | DarkJedi613 | Regional Competitions | 7 | 17-03-2003 21:33 |
| Autonomous | Jestin Hashop | Rules/Strategy | 2 | 11-02-2003 19:24 |