Go to Post Enlighten a man who sometimes has difficulty understanding why others stray outside the box, when the box appears to be an optimized and elegant solution. - JVN [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #16   Spotlight this post!  
Unread 23-02-2009, 19:15
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,731
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
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.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #17   Spotlight this post!  
Unread 23-02-2009, 21:14
chinckley chinckley is offline
Winner 2009 West Michigan District
FRC #1254 (Entropy)
Team Role: Teacher
 
Join Date: Jan 2005
Rookie Year: 2003
Location: Lawrence, Michigan
Posts: 204
chinckley is a name known to allchinckley is a name known to allchinckley is a name known to allchinckley is a name known to allchinckley is a name known to allchinckley is a name known to all
Re: Autonomous

Quote:
Originally Posted by Mark McLeod View Post
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.
What does the periodic loop do?
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...
__________________
2009 West Michigan District Winner
Thanks to Team 216 and Team 1918

2009 Traverse City Semifinalist
Thanks to Team 1596 and Team 47
2009 Traverse City UL Safety Award Winners

Attending 2009: West Michigan, Traverse City, & State
Reply With Quote
  #18   Spotlight this post!  
Unread 23-02-2009, 22:37
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,731
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
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...
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 23-02-2009 at 23:08.
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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


All times are GMT -5. The time now is 04:35.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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