Go to Post yes, we've gone over every possible idea multiple times. No, we're not going to stop. Welcome to FIRST. - logicalyrandom [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 20-03-2004, 23:06
dddriveman's Avatar
dddriveman dddriveman is offline
Former Driver 1038, 979
AKA: Driveman
FRC #1038 (Thunderhawks)
Team Role: Alumni
 
Join Date: Feb 2003
Rookie Year: 2001
Location: Dayton
Posts: 142
dddriveman has a spectacular aura aboutdddriveman has a spectacular aura about
Send a message via AIM to dddriveman
One last question about our code

WE got our code from kevin.org this year. When we run our final copy of the autonomous code the recievers move back and forth on our servos to find the beacons since i do not have the beacons i am not sure if it then switchs back to the navigate part of the program or just stops and says sensor 1 found . The thing that i want to know the most is why doe our sensors move back and forth when we are in normal mode but when we are in autonomous they stop and no other functions seem to happen like our navigate code. Also the default is included in the assembly file but it does not seem to work in our normal mode. Any help will be gladly accepted
__________________
"I'm sorry, after all he is just a wookie!"
  #2   Spotlight this post!  
Unread 20-03-2004, 23:20
sanddrag sanddrag is offline
On to my 16th year in FRC
FRC #0696 (Circuit Breakers)
Team Role: Teacher
 
Join Date: Jul 2002
Rookie Year: 2002
Location: Glendale, CA
Posts: 8,510
sanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond repute
Re: One last question about our code

You could e-mail or PM Kevin himself and I bet he'd get you a good answer real fast.
__________________
Teacher/Engineer/Machinist - Team 696 Circuit Breakers, 2011 - Present
Mentor/Engineer/Machinist, Team 968 RAWC, 2007-2010
Technical Mentor, Team 696 Circuit Breakers, 2005-2007
Student Mechanical Leader and Driver, Team 696 Circuit Breakers, 2002-2004
  #3   Spotlight this post!  
Unread 20-03-2004, 23:54
Kevin Karan's Avatar
Kevin Karan Kevin Karan is offline
Linux Guy
AKA: maxdamage
None #0174 (Arctic Warriors)
Team Role: Alumni
 
Join Date: Jan 2003
Location: Liverpool, NY
Posts: 141
Kevin Karan will become famous soon enoughKevin Karan will become famous soon enough
Send a message via AIM to Kevin Karan
Re: One last question about our code

Quote:
Originally Posted by dddriveman
WE got our code from kevin.org this year. When we run our final copy of the autonomous code the recievers move back and forth on our servos to find the beacons since i do not have the beacons i am not sure if it then switchs back to the navigate part of the program or just stops and says sensor 1 found . The thing that i want to know the most is why doe our sensors move back and forth when we are in normal mode but when we are in autonomous they stop and no other functions seem to happen like our navigate code. Also the default is included in the assembly file but it does not seem to work in our normal mode. Any help will be gladly accepted
make sure whatevers in process_data_from_local_IO is being called durring autonomous mode
__________________
It isnt ALWAYS the programmers falt!
2004: Buckeye team website award
2002: Rutgers semi-finalists
2001: National semi-finalists
2001: Rutgers semi-finalists
1998: Manchester Rookie All-Star Award
  #4   Spotlight this post!  
Unread 21-03-2004, 12:34
dddriveman's Avatar
dddriveman dddriveman is offline
Former Driver 1038, 979
AKA: Driveman
FRC #1038 (Thunderhawks)
Team Role: Alumni
 
Join Date: Feb 2003
Rookie Year: 2001
Location: Dayton
Posts: 142
dddriveman has a spectacular aura aboutdddriveman has a spectacular aura about
Send a message via AIM to dddriveman
Re: One last question about our code

Quote:
Originally Posted by Kevin Karan
make sure whatevers in process_data_from_local_IO is being called durring autonomous mode
i don't know how to do that
__________________
"I'm sorry, after all he is just a wookie!"
  #5   Spotlight this post!  
Unread 21-03-2004, 14:38
warpspeed warpspeed is offline
Registered User
#0038 (Nonnebots)
Team Role: Programmer
 
Join Date: Mar 2004
Location: Middlebury, CT
Posts: 3
warpspeed is on a distinguished road
Re: One last question about our code

Quote:
Originally Posted by dddriveman
i don't know how to do that
underneath the "//add autonomus code here"
put
"Process_Data_From_Local_IO();"

then move your tracker code to the process_data_from_local_IO function at the end of the file.
Or you can call the tracker function from where ever it is. Like if the tracker code is named Track_Beacon(void). Then under process_data_from_local_IO put "Track_Beacon();"
that shuold take care of it.
__________________
void User_Autonomus_Code();
{
//add code here
pwm01 = pwm02 = 254;
(Broke_Bot == 1) ? (Turn_And_Run = 1) : (Smile_And_Nod = 1);
}

Last edited by warpspeed : 21-03-2004 at 14:42. Reason: left out some information
  #6   Spotlight this post!  
Unread 22-03-2004, 09:49
dddriveman's Avatar
dddriveman dddriveman is offline
Former Driver 1038, 979
AKA: Driveman
FRC #1038 (Thunderhawks)
Team Role: Alumni
 
Join Date: Feb 2003
Rookie Year: 2001
Location: Dayton
Posts: 142
dddriveman has a spectacular aura aboutdddriveman has a spectacular aura about
Send a message via AIM to dddriveman
Re: One last question about our code

Thanx i'll try that.
__________________
"I'm sorry, after all he is just a wookie!"
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
Interrupt timer, executing code asap? SeanCassidy Programming 10 07-03-2004 01:47
Need interupts help, and another question... Kevin Karan Programming 7 22-02-2004 11:20
navigate and default code newbie question alan koch Programming 2 17-02-2004 22:25
Inserting Naviagation code into Default code? actorindp Programming 3 28-01-2004 18:12
Rookie Programmer has question about the default code DanL Programming 3 26-01-2002 19:59


All times are GMT -5. The time now is 02:51.

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