Go to Post On day two of build season, I made the mistake of saying "We have six weeks, what could possibly go wrong?" - Zach Herbst [more]
Home
Go Back   Chief Delphi > ChiefDelphi.com Website > Extra Discussion
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 19-01-2003, 17:46
CD47-Bot CD47-Bot is offline
Registered User
FRC #0047 (Chief Delphi)
 
Join Date: Dec 2002
Location: Pontiac, MI
Posts: 1,616
CD47-Bot has a reputation beyond reputeCD47-Bot has a reputation beyond reputeCD47-Bot has a reputation beyond reputeCD47-Bot has a reputation beyond reputeCD47-Bot has a reputation beyond reputeCD47-Bot has a reputation beyond reputeCD47-Bot has a reputation beyond reputeCD47-Bot has a reputation beyond reputeCD47-Bot has a reputation beyond reputeCD47-Bot has a reputation beyond reputeCD47-Bot has a reputation beyond repute
White Paper Discuss: 2003 Automated Dead Reckoning Test Code

Thread created automatically to discuss a document in the White Papers.

2003 Automated Dead Reckoning Test Code by Greg McCoy
Reply With Quote
  #2   Spotlight this post!  
Unread 19-01-2003, 17:50
Goya Goya is offline
Registered User
#0019 (Big Red)
 
Join Date: Jan 2003
Location: Greenwich, CT
Posts: 35
Goya is an unknown quantity at this point
Send a message via AIM to Goya
Its doubtful if anyone will read this, especially if the author will.
Anyways, I'd like to thank the author/programmer for being kind and giving.

Also, I'd like to state that the code could be more productive in PBASIC 2.5. In 2.5, you could use a Do.. While Loop for turning.

One more thing. It would be more practical to use a button, such as a trigger button to determine the autonomous start.

Besides that, very nice job!
Reply With Quote
  #3   Spotlight this post!  
Unread 19-01-2003, 19:34
Greg McCoy's Avatar
Greg McCoy Greg McCoy is offline
boiler up!
FRC #3940 (CyberTooth)
Team Role: Engineer
 
Join Date: Feb 2002
Rookie Year: 2002
Location: Kokomo, IN
Posts: 484
Greg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond repute
Send a message via AIM to Greg McCoy
Thanks Goya,

I agree about the 2.5 being a better solution, I need to do a version in 2.5, but I didn't have it available to me at the time that I wrote this. Sigh, more for the to-do list :-)

I did want to do a thing where you would have to hold both triggers as a safety so that the driver would have to be holding on to both sticks for the robot to run on it's own, but I couldn't get it to work for some reason.
Reply With Quote
  #4   Spotlight this post!  
Unread 19-01-2003, 21:02
Goya Goya is offline
Registered User
#0019 (Big Red)
 
Join Date: Jan 2003
Location: Greenwich, CT
Posts: 35
Goya is an unknown quantity at this point
Send a message via AIM to Goya
Try this

If (p1_sw_top = 0 & p2_sw_top = 0) then SkipAutonomous

'code


SkipAutonomous:


You've really helped a lot of teams out there. Keep up the good work!
Reply With Quote
  #5   Spotlight this post!  
Unread 13-02-2003, 17:57
Jeremy_Mc's Avatar
Jeremy_Mc Jeremy_Mc is offline
GitHubber
no team
Team Role: Mentor
 
Join Date: Feb 2002
Rookie Year: 2002
Location: Orlando, FL
Posts: 496
Jeremy_Mc will become famous soon enoughJeremy_Mc will become famous soon enough
how is using a button/trigger going to work? there's no way to get input from the controller station during auto. mode...right?

*jeremy
__________________
GitHub - Collaborate on code, documentation, etc. - http://github.com
Reply With Quote
  #6   Spotlight this post!  
Unread 14-02-2003, 18:08
Goya Goya is offline
Registered User
#0019 (Big Red)
 
Join Date: Jan 2003
Location: Greenwich, CT
Posts: 35
Goya is an unknown quantity at this point
Send a message via AIM to Goya
To use during practice, and for general safety. Also, the values of the joysticks will be set to 0, as will all digital inputs.

Consequently, that code would work in the match, and during practice.

However, I made a mistake - & is reserved for bit math.

This is the right code:

if ((p1_sw_trig = 0) AND (p1_sw_top = 0)) then

'autonomous code

else

'nonautonomous code

endif
Reply With Quote
  #7   Spotlight this post!  
Unread 16-02-2003, 20:44
Greg McCoy's Avatar
Greg McCoy Greg McCoy is offline
boiler up!
FRC #3940 (CyberTooth)
Team Role: Engineer
 
Join Date: Feb 2002
Rookie Year: 2002
Location: Kokomo, IN
Posts: 484
Greg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond repute
Send a message via AIM to Greg McCoy
Quote:
Originally posted by Jeremy_Mc
how is using a button/trigger going to work? there's no way to get input from the controller station during auto. mode...right?

*jeremy
Yeah, as I've stated before, this code is definately NOT intended to be used for competition, only for learning and practice.
Reply With Quote
  #8   Spotlight this post!  
Unread 07-09-2005, 02:07
altitudeap altitudeap is offline
Registered User
no team
 
Join Date: Sep 2005
Location: arizona
Posts: 2
altitudeap is an unknown quantity at this point
Re: White Paper Discuss: 2003 Automated Dead Reckoning Test Code

is the link to this PBasic file dead or can a guy still get ahold of it?
Reply With Quote
  #9   Spotlight this post!  
Unread 07-09-2005, 06:49
Tom Bottiglieri Tom Bottiglieri is offline
Registered User
FRC #0254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Jan 2004
Rookie Year: 2003
Location: San Francisco, CA
Posts: 3,189
Tom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond repute
Re: White Paper Discuss: 2003 Automated Dead Reckoning Test Code

Holy Old Topic, Batman!



Reply With Quote
  #10   Spotlight this post!  
Unread 07-09-2005, 11:24
altitudeap altitudeap is offline
Registered User
no team
 
Join Date: Sep 2005
Location: arizona
Posts: 2
altitudeap is an unknown quantity at this point
Re: White Paper Discuss: 2003 Automated Dead Reckoning Test Code

may be old but still very interested. Anyone?
Reply With Quote
  #11   Spotlight this post!  
Unread 07-09-2005, 11:25
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,948
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: White Paper Discuss: 2003 Automated Dead Reckoning Test Code

http://www.chiefdelphi.com/forums/pa...le&paperid=172
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
White Paper Discuss: Dual Motor Gearbox - 2003 CD47-Bot Extra Discussion 6 08-04-2004 19:46
Some code in C that we may need if we are in trouble Andrew Rudolph Chit-Chat 16 07-10-2003 21:34
White Paper Discuss: Woodie Flowers entry for Andy Baker (2003) CD47-Bot Extra Discussion 2 18-05-2003 08:06
White Paper Discuss: CopyCat Code v1.1 CD47-Bot Extra Discussion 7 31-03-2003 12:37
White Paper Discuss: HeatWave 2003 Handheld DB (Beta Version) CD47-Bot Extra Discussion 4 07-03-2003 20:22


All times are GMT -5. The time now is 04:57.

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