Go to Post The FIRST World has your back. - MishraArtificer [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 28-01-2004, 11:12
Hop_of_752 Hop_of_752 is offline
Registered User
#0752 (Knights of Fury)
Team Role: Programmer
 
Join Date: Jan 2004
Location: Newark
Posts: 11
Hop_of_752 is an unknown quantity at this point
Send a message via AIM to Hop_of_752
Needs Help Right here

Hey, I need some serious help with the auto programming. I just dont know where to start can anyone point me in the right direction.
  #2   Spotlight this post!  
Unread 28-01-2004, 11:30
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,517
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: Needs Help Right here

Well, the other threads in the "Programming" forum and the documentation on the Innovation First website would be a good place to start.
__________________
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 28-01-2004, 11:57
ShadowKnight's Avatar
ShadowKnight ShadowKnight is offline
Registered User
FRC #1719 (Umbrella Corporation)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2003
Location: Alexandria, VA
Posts: 142
ShadowKnight has a spectacular aura aboutShadowKnight has a spectacular aura about
Re: Needs Help Right here

what kinda help do you need? Like is the C language teh issue or do you have no concept for what to do and how to do it in Autonomous?
  #4   Spotlight this post!  
Unread 28-01-2004, 20:55
Astronouth7303's Avatar
Astronouth7303 Astronouth7303 is offline
Why did I come back?
AKA: Jamie Bliss
FRC #4967 (That ONE Team)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Grand Rapids, MI
Posts: 2,071
Astronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud of
Re: Needs Help Right here

Quote:
Originally Posted by Hop_of_752
Hey, I need some serious help with the auto programming. I just dont know where to start can anyone point me in the right direction.
Well, One way is to do 'dumb reckoning': hard code directions to go through w/timing. Of course, this doesn't even compensate for left/right, not that THAT's difficult.
  #5   Spotlight this post!  
Unread 28-01-2004, 22:14
matt111 matt111 is offline
Registered User
#1024 (McKenzie Kilabytes)
 
Join Date: Jan 2003
Location: indianapolis, IN
Posts: 171
matt111 will become famous soon enough
Re: Needs Help Right here

Quote:
Originally Posted by Astronouth7303
Well, One way is to do 'dumb reckoning': hard code directions to go through w/timing. Of course, this doesn't even compensate for left/right, not that THAT's difficult.

u mean dead reckoning yea that is probably the easiest to do. i think (im not the programmer) that u need to find how far u will go with one wheel revoultion and find out how far u want to go etc etc. good luck
__________________
  #6   Spotlight this post!  
Unread 28-01-2004, 22:48
Hop_of_752 Hop_of_752 is offline
Registered User
#0752 (Knights of Fury)
Team Role: Programmer
 
Join Date: Jan 2004
Location: Newark
Posts: 11
Hop_of_752 is an unknown quantity at this point
Send a message via AIM to Hop_of_752
Re: Needs Help Right here

Well basically I want to know how to write my code for the auto program. An example if i was to use the beacon , do i just place the default beacon in there or wut exactly do I modify.
  #7   Spotlight this post!  
Unread 29-01-2004, 13:38
Astronouth7303's Avatar
Astronouth7303 Astronouth7303 is offline
Why did I come back?
AKA: Jamie Bliss
FRC #4967 (That ONE Team)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Grand Rapids, MI
Posts: 2,071
Astronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud of
Re: Needs Help Right here

Quote:
Originally Posted by matt111
u mean dead reckoning yea that is probably the easiest to do. i think (im not the programmer) that u need to find how far u will go with one wheel revoultion and find out how far u want to go etc etc. good luck
No, I mean dumb. the simplest way is no sensors and just hard-code. Execute series of instructions with timing.
  #8   Spotlight this post!  
Unread 29-01-2004, 17:28
Hop_of_752 Hop_of_752 is offline
Registered User
#0752 (Knights of Fury)
Team Role: Programmer
 
Join Date: Jan 2004
Location: Newark
Posts: 11
Hop_of_752 is an unknown quantity at this point
Send a message via AIM to Hop_of_752
Re: Needs Help Right here

So how would I go about this Dumb reckoning basically tell me the how to start im sorry but for a programmer I basically dont know anything
  #9   Spotlight this post!  
Unread 29-01-2004, 17:52
Astronouth7303's Avatar
Astronouth7303 Astronouth7303 is offline
Why did I come back?
AKA: Jamie Bliss
FRC #4967 (That ONE Team)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Grand Rapids, MI
Posts: 2,071
Astronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud of
Re: Needs Help Right here

It's a simple concept, and one of the easiest to do. One of my first programs was that. Of couse, I wouldn't recomend doing for competition, but it is a method. I call it dumb because it uses NO sensory input, and when you start it, it goes until it finishes.

try something like:
Code:
const int gTime = 75;

//...

void Default_Routine(void)
{ 
 static unsigned int i_Count;

  if (i_Count > 6*gTime)
   {
//    Set-up for Mode 6
    i_Count = 0;
   }
  else if (i_Count > 5*gTime)
   {
//    Set-up for Mode 6
   }
  else if (i_Count > 4*gTime)
   {
//    Set-up for Mode 4
   }
  else if (i_Count > 3*gTime)
   {
//    Set-up for Mode 3
   }
  else if (i_Count > 2*gTime)
   {
//    Set-up for Mode 2
   }
  else if (i_Count > 1*gTime)
   {
//    Set-up for Mode 1
   }

    i_Count = i_Count + 1;
  
  printf("i_cCount=%d\n",(int)i_cCount);
} // END Default_Routine();
to expand this, just put in more else if's. Be shure to put the HIGHEST first. The sample should be enough to get you started. Of course, it will loop through this forever. To get it to stop I'll leave to YOU . (you can roll your eyes and be a little sarcastic when you respond to that)

If you want to know more about DEAD reckoning, check What to do with autonomous. Dead reckoning has been discussed there to the ends of posibility, then a considerate bit more.

Don't worry, this my first year too.

p.s. Can you use periods? PLEASE?
  #10   Spotlight this post!  
Unread 29-01-2004, 20:30
matt111 matt111 is offline
Registered User
#1024 (McKenzie Kilabytes)
 
Join Date: Jan 2003
Location: indianapolis, IN
Posts: 171
matt111 will become famous soon enough
Re: Needs Help Right here

well ive heard it called dead reckoning because ur robot has no sensor inputs so if u screw up its dead nice post though should be a big help to all teams in need.
__________________
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


All times are GMT -5. The time now is 00:01.

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