Go to Post Those chief delphi kids...they think they're so pimp... - Eugenia Gabrielov [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 22-01-2005, 11:30
rcubes85 rcubes85 is offline
Registered User
no team (TBD)
Team Role: College Student
 
Join Date: Feb 2003
Rookie Year: 1999
Location: Troy NY
Posts: 39
rcubes85 is on a distinguished road
Send a message via AIM to rcubes85
FIRST Time Autonomus Help

Hello peeps first time doing the autonomous in first but doing it for really long now. have a couple question that you guys might be ables to help me on

1. Do we need something on the robot or the controls that is like a switch that will allow you to switch to human controls ones the autonomous is done, or once it is done the control is now turn over to the human or how does the robot know to switch from the autonomous to Drivers Control

2. And how do i set up autonomous so that the when the period starts it actually works. Yes i know someone reading this say what they guy being doing in first but i was mechanical and website in HS and wiring not autonomous

thank you
__________________
you can run from the past
you can change the present
but you can't outrun the future
becuase what you do in the presents depicts your future
  #2   Spotlight this post!  
Unread 22-01-2005, 11:52
jgannon's Avatar
jgannon jgannon is offline
I ᐸ3 Robots
AKA: Joey Gannon
no team
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Pittsburgh, PA
Posts: 1,467
jgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond repute
Re: FIRST Time Autonomus Help

1. Just before a match, you will find a cable at the driver station that plugs into the Competition port on your OI. This is how FIRST tells your robot to go into autonomous at the start of a match, and to switch to driver control later on. FIRST can also disable your robot remotely if they deem it necessary.

2. In user_routines_fast.c, you will find the following block of code:
Code:
while (autonomous_mode)
{
	if (statusflag.NEW_SPI_DATA)
	{
		Getdata(&rxdata);   // bad things will happen if you move or delete this

		// Autonomous code goes here.

		Generate_Pwms(pwm13,pwm14,pwm15,pwm16);

		Putdata(&txdata);   // even more bad things will happen if you mess with this
	}
}
If you put your autonomous code where it says "Autonomous code goes here", your code will execute in autonomous mode, and switch to driver control at the appropriate time. Good luck with your programming.
__________________
Team 1743 - The Short Circuits
2010 Pittsburgh Excellence in Design & Team Spirit Awards
2009 Pittsburgh Regional Champions (thanks to 222 and 1218)
2007 Pittsburgh Website Award
2006 Pittsburgh Regional Champions (thanks to 395 and 1038)
2006 Pittsburgh Rookie Inspiration & Highest Rookie Seed

Team 1388 - Eagle Robotics
2005 Sacramento Engineering Inspiration
2004 Curie Division Champions (thanks to 1038 and 175)
2004 Sacramento Rookie All-Star

_
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
Aspartame shyra1353 Chit-Chat 8 20-01-2004 22:41
Actual execution time measurement Dan Technical Discussion 5 24-03-2003 11:36
time archiver 2000 3 23-06-2002 22:58
Just in time for Nats! DanL General Forum 0 22-04-2002 21:53
need help with time zone! Ken Leung General Forum 6 25-06-2001 12:44


All times are GMT -5. The time now is 23:37.

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