Go to Post Being involved with FIRST is a privilege, not a right. - Katie Reynolds [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 04-02-2013, 19:55
KissMySass3763 KissMySass3763 is offline
3763
AKA: Madeline Mapes
FRC #3763 (Wild Cards)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2012
Location: Richlands
Posts: 13
KissMySass3763 is an unknown quantity at this point
Autonomous... Again

Speaking as someone who, through countless tutorials and trials, still fails to grasp the basic understanding of autonomous programming, what are my very very basic steps needed to program autonomously? What are the bases that I need to know in order to program simple operations, and how would I format this?

Thank you,
Madeline
Reply With Quote
  #2   Spotlight this post!  
Unread 04-02-2013, 20:04
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,795
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... Again

Does this style make any sense to you?
It's called a flat sequence structure.
Everything within a box gets completed before moving on to the next box.

__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #3   Spotlight this post!  
Unread 04-02-2013, 20:23
James H James H is offline
Registered User
FRC #4256
 
Join Date: Feb 2013
Location: United States
Posts: 9
James H is an unknown quantity at this point
Re: Autonomous... Again

It depends on what you are planning to do in autonomous. If you are looking simply for a simple hard-coded autonomous period, the above post is what you're looking for. If you're wanting a less rigid format such as being able to record a session, then it gets much harder.

The basic idea behind autonomous is to let the code do what the joysticks or user controls do in TeleOp. If you have a certain button that, say, turns on a window motor, in autonomous you either have to set up a condition that the computer can determine without the joystick or a time period for which it should run. It's hard to explain further examples without getting too detailed.
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


All times are GMT -5. The time now is 12:06.

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