Go to Post Would FIRST be as amazing if not for CD? I mean it would still be this amazing place for students and mentors to be but the explosion of innovation and gathering of people together across communities has to have been greatly effected by CD. - dodar [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 15-02-2006, 16:42
EricWilliams EricWilliams is offline
Registered User
FRC #2039 (Rockford Robotics)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2001
Location: Rockford, IL
Posts: 103
EricWilliams is a glorious beacon of lightEricWilliams is a glorious beacon of lightEricWilliams is a glorious beacon of lightEricWilliams is a glorious beacon of lightEricWilliams is a glorious beacon of lightEricWilliams is a glorious beacon of light
Question Autonomous Mode

How many times is User_Autonomous_Code called? (Please say only once )
  #2   Spotlight this post!  
Unread 15-02-2006, 16:48
kaszeta's Avatar
kaszeta kaszeta is offline
Registered User
FRC #0095 (Grasshoppers)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2002
Location: Lebanon, NH
Posts: 334
kaszeta is a glorious beacon of lightkaszeta is a glorious beacon of lightkaszeta is a glorious beacon of lightkaszeta is a glorious beacon of lightkaszeta is a glorious beacon of light
Re: Autonomous Mode

Quote:
Originally Posted by Ewilliams2006
How many times is User_Autonomous_Code called? (Please say only once )
Look in main.c. It's called every time that (statusflag.NEW_SPI_DATA) is set and autonomous mode is active (i.e. nominally every 26.2 milliseconds).
  #3   Spotlight this post!  
Unread 15-02-2006, 17:09
ida_noeman's Avatar
ida_noeman ida_noeman is offline
Registered User
AKA: phobbs
FRC #1719 (Umbrella Corp.)
Team Role: Mechanical
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Baltimore, MD
Posts: 129
ida_noeman is on a distinguished road
Re: Autonomous Mode

Quote:
Originally Posted by kaszeta
(i.e. nominally every 26.2 milliseconds).
Well, actually, if you look in user_routines_fast.c, you will see "while(autonomous_mode)". This means that it will only call User_Autonomous_Code() once, and will keep looping until you disable autonomous.
__________________
--
"Weeks of coding can save you hours of planning"
"If the code was hard to write, I'm dam well going to make it hard to read!"
  #4   Spotlight this post!  
Unread 15-02-2006, 17:14
kaszeta's Avatar
kaszeta kaszeta is offline
Registered User
FRC #0095 (Grasshoppers)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2002
Location: Lebanon, NH
Posts: 334
kaszeta is a glorious beacon of lightkaszeta is a glorious beacon of lightkaszeta is a glorious beacon of lightkaszeta is a glorious beacon of lightkaszeta is a glorious beacon of light
Re: Autonomous Mode

Quote:
Originally Posted by ida_noeman
Well, actually, if you look in user_routines_fast.c, you will see "while(autonomous_mode)". This means that it will only call User_Autonomous_Code() once, and will keep looping until you disable autonomous.
I stand corrected.
  #5   Spotlight this post!  
Unread 16-02-2006, 13:35
Ryan M. Ryan M. is offline
Programming User
FRC #1317 (Digital Fusion)
Team Role: Programmer
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Ohio
Posts: 1,508
Ryan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud of
Re: Autonomous Mode

It is possible, however, for the robot to go back into autonomous mode after leaving it. This will never happen in a match, but could if you are using a dongle on the competition port.
__________________

  #6   Spotlight this post!  
Unread 20-02-2006, 11:28
1337pcgamer's Avatar
1337pcgamer 1337pcgamer is offline
Son of Plunder
FRC #1843 (Trobots)
Team Role: Webmaster
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Idaho
Posts: 42
1337pcgamer has a spectacular aura about1337pcgamer has a spectacular aura about
Send a message via MSN to 1337pcgamer
Re: Autonomous Mode

What is this "dongle" you speak of?
  #7   Spotlight this post!  
Unread 20-02-2006, 11:33
Mike's Avatar
Mike Mike is offline
has common ground with Matt Krass
AKA: Mike Sorrenti
FRC #0237 (Sie-H2O-Bots (See-Hoe-Bots) [T.R.I.B.E.])
Team Role: Programmer
 
Join Date: Dec 2004
Rookie Year: 2004
Location: Watertown, CT
Posts: 1,003
Mike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond repute
Re: Autonomous Mode

Quote:
Originally Posted by 1337pcgamer
What is this "dongle" you speak of?
A dongle is a little switch that connects to your OI's competition port and lets you change between disabled, autonomous and user controlled mode. It's used for testing and is fairly easy to build, however AndyMark also sells one for $30.
__________________
http://www.mikesorrenti.com/
  #8   Spotlight this post!  
Unread 09-01-2007, 15:27
bcieslak
 
Posts: n/a
Re: Autonomous Mode

Make sure reset counters and flags when you come out of autonomous for any reason. So many false starts last year forced teams to have to run out on the field to reset their robots in order to reset their automonous routines.

BC
  #9   Spotlight this post!  
Unread 10-01-2007, 10:58
1337pcgamer's Avatar
1337pcgamer 1337pcgamer is offline
Son of Plunder
FRC #1843 (Trobots)
Team Role: Webmaster
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Idaho
Posts: 42
1337pcgamer has a spectacular aura about1337pcgamer has a spectacular aura about
Send a message via MSN to 1337pcgamer
Re: Autonomous Mode

Alright
Closed Thread


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
a simple autonomous mode question chippermonky Programming 3 18-02-2005 01:54
A little question about the autonomous mode Anton Programming 4 18-01-2005 14:08
Future of Autonomous Mode FadyS. Programming 41 24-05-2004 19:45
autonomous mode problem on field Chris_C Programming 17 26-03-2003 19:11


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

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