Go to Post FIRST has given thousands of young people (like me) a head start in life because it teaches honesty, integrity, and an appreciation of other people's hard work. - Gabe [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
  #1   Spotlight this post!  
Unread 05-03-2009, 16:14
Must Be Drama Must Be Drama is offline
Registered User
no team
 
Join Date: Feb 2009
Rookie Year: 2007
Location: Brooklyn
Posts: 62
Must Be Drama is an unknown quantity at this point
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....
Reply With Quote
  #2   Spotlight this post!  
Unread 05-03-2009, 16:16
JohnBoucher JohnBoucher is offline
Blue Shirt
FRC #0237
 
Join Date: Jan 2004
Rookie Year: 2003
Location: Watertown, CT
Posts: 2,927
JohnBoucher has a reputation beyond reputeJohnBoucher has a reputation beyond reputeJohnBoucher has a reputation beyond reputeJohnBoucher has a reputation beyond reputeJohnBoucher has a reputation beyond reputeJohnBoucher has a reputation beyond reputeJohnBoucher has a reputation beyond reputeJohnBoucher has a reputation beyond reputeJohnBoucher has a reputation beyond reputeJohnBoucher has a reputation beyond reputeJohnBoucher has a reputation beyond repute
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.
Reply With Quote
  #3   Spotlight this post!  
Unread 05-03-2009, 16:27
Must Be Drama Must Be Drama is offline
Registered User
no team
 
Join Date: Feb 2009
Rookie Year: 2007
Location: Brooklyn
Posts: 62
Must Be Drama is an unknown quantity at this point
Re: We Need a Little Bit Of Help...

Quote:
Originally Posted by JohnBoucher View Post
Will you be at NYC regional tomorrow? If so come and find Team 237 from CT and we'll get you going.
thanks but we would try to get it working before we rush in the morning
Reply With Quote
  #4   Spotlight this post!  
Unread 05-03-2009, 16:40
gwytheyrn gwytheyrn is offline
Registered User
AKA: David
FRC #0461 (West Side Boiler Invasion)
Team Role: Programmer
 
Join Date: Dec 2007
Rookie Year: 2004
Location: Indiana
Posts: 44
gwytheyrn is infamous around these parts
Send a message via AIM to gwytheyrn
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.
Attached Files
File Type: vi Autonomous Independent.vi (24.3 KB, 19 views)

Last edited by gwytheyrn : 05-03-2009 at 16:42.
Reply With Quote
  #5   Spotlight this post!  
Unread 05-03-2009, 16:55
JohnBoucher JohnBoucher is offline
Blue Shirt
FRC #0237
 
Join Date: Jan 2004
Rookie Year: 2003
Location: Watertown, CT
Posts: 2,927
JohnBoucher has a reputation beyond reputeJohnBoucher has a reputation beyond reputeJohnBoucher has a reputation beyond reputeJohnBoucher has a reputation beyond reputeJohnBoucher has a reputation beyond reputeJohnBoucher has a reputation beyond reputeJohnBoucher has a reputation beyond reputeJohnBoucher has a reputation beyond reputeJohnBoucher has a reputation beyond reputeJohnBoucher has a reputation beyond reputeJohnBoucher has a reputation beyond repute
Re: We Need a Little Bit Of Help...

Quote:
Originally Posted by Must Be Drama View Post
thanks but we would try to get it working before we rush in the morning
OK. If you need help later in the day we'll be there.
Reply With Quote
  #6   Spotlight this post!  
Unread 05-03-2009, 19:23
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,752
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
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
Reply With Quote
  #7   Spotlight this post!  
Unread 07-03-2009, 20:17
Must Be Drama Must Be Drama is offline
Registered User
no team
 
Join Date: Feb 2009
Rookie Year: 2007
Location: Brooklyn
Posts: 62
Must Be Drama is an unknown quantity at this point
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.
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
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


All times are GMT -5. The time now is 07:17.

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