Go to Post I love FIRST because it makes the dreams of tomorrow seem so much closer. - WakeZero [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 07-03-2010, 14:35
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
Autonomous Help?

With New York Regionals Next Friday, im trying to cram a load of work before saturday
we got our teleop all setup but we gotta program encoders for autonomous. any body willing to help us on a more detailed and able to describe or "dumb down" certain things?
I understand we have to use state machines.
Thanks in Advance
Reply With Quote
  #2   Spotlight this post!  
Unread 07-03-2010, 17:40
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Autonomous Help?

Quote:
Originally Posted by Must Be Drama View Post
I understand we have to use state machines.
Not necessarily. It depends on what you want the robot to do.

Our autonomous mode drives forward, turning on and off the ball magnet roller, arming the kicker, and kicking, multiple times, in a specific sequence at specific locations on the field. It uses only the wheel encoder values to control what it does, by turning the encoder counts into a number of inches and feeding the inch value into a case structure.

What sequence of events do you want your robot to follow, and how do you want to meter that sequence?
Reply With Quote
  #3   Spotlight this post!  
Unread 09-03-2010, 19:55
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: Autonomous Help?

Quote:
Originally Posted by Alan Anderson View Post
Not necessarily. It depends on what you want the robot to do.

Our autonomous mode drives forward, turning on and off the ball magnet roller, arming the kicker, and kicking, multiple times, in a specific sequence at specific locations on the field. It uses only the wheel encoder values to control what it does, by turning the encoder counts into a number of inches and feeding the inch value into a case structure.

What sequence of events do you want your robot to follow, and how do you want to meter that sequence?
well our idea for autonomous is drive forward; crab to the left; pull back kicker with a supershifter with a piston to switch to neutral and regular; then kick when the piston releases and repeat. thanks in advance!
Reply With Quote
  #4   Spotlight this post!  
Unread 09-03-2010, 22:47
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Autonomous Help?

Quote:
Originally Posted by Must Be Drama View Post
well our idea for autonomous is drive forward; crab to the left; pull back kicker with a supershifter with a piston to switch to neutral and regular; then kick when the piston releases and repeat. thanks in advance!
Maybe my phrasing ("how do you want to meter that sequence?") was unclear. I was asking what you want to use as an indication that it's time to move to the next step. Do you have wheel encoders that can tell you how far you've driven, and can you use that distance to decide what to do next? Are there sensors that let you know when the kicker is pulled back an appropriate amount? Do you just want to rely on elapsed time?

A simple flat sequence in Autonomous Independent might be the easiest solution, with each frame doing one step of your autonomous process and waiting for the right condition before letting it move to the next frame.
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
HELP!!!! we need help w/ compressors/pneumatics for teleop/autonomous in LABVIEW rokenboker NI LabVIEW 9 05-02-2010 17:10
Autonomous help rsegrest Programming 9 13-03-2009 00:10
Autonomous help csshakka NI LabVIEW 3 15-02-2009 13:21
Autonomous Help sudeepr71 Programming 14 10-03-2004 22:14
Autonomous Help mightywombat Programming 11 07-01-2004 10:45


All times are GMT -5. The time now is 08:40.

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