Go to Post I wish I were on the GDC, just to watch everyone struggle to grasp the meaning of this. - Brandon_L [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-2008, 15:26
popnbrown's Avatar
popnbrown popnbrown is offline
FIRST 5125 HOTH Lead Mentor
AKA: Sravan S
FRC #5125 (Hawks on the Horizon)
Team Role: Mentor
 
Join Date: Feb 2007
Rookie Year: 2007
Location: Illinois
Posts: 367
popnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond repute
Re: Programming the last thing a robot does...

Are you sure they programmed it? Once you turn off the bot there's no more code.

I would'nt do this because it may be against the rulse. But if you have a function that overrides the stop command from the field controls, and in that function you could tell it to return back to how it was.
Other than that I would just use a counter.

All though it is your team's choice, that last second may be very useful for you guys, in the sense of the game. That last second might determine who wins the game. So if you really are bored, I would just make the operator of the robot be able to control that action, instead of doing it autonomously.
  #2   Spotlight this post!  
Unread 28-01-2008, 15:36
efoote868 efoote868 is offline
foote stepped in
AKA: E. Foote
FRC #0868
Team Role: Mentor
 
Join Date: Mar 2006
Rookie Year: 2005
Location: Noblesville, IN
Posts: 1,392
efoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond repute
Re: Programming the last thing a robot does...

Quote:
Originally Posted by popnbrown View Post
Are you sure they programmed it? Once you turn off the bot there's no more code.
When a match ends the robot is still on, its just disabled. There might be some code in disabled I could look at... see if theres anything I can tweak.

Quote:
Originally Posted by popnbrown View Post
All though it is your team's choice, that last second may be very useful for you guys, in the sense of the game. That last second might determine who wins the game. So if you really are bored, I would just make the operator of the robot be able to control that action, instead of doing it autonomously.
Anything our robot does in the last second, I doubt, would change the result of the game. Forgive me if I'm wrong, but I don't believe that there are any "continuance" rules... if the robot stops and the ball is still going, the clock runs out and the ball scores, I don't believe that counts.

Also, when I talk about "last second", I mean the last bit of code that executes, so no driver could react that quickly, and it wouldn't waste time during the match.
__________________
Be Healthy. Never Stop Learning. Say It Like It Is. Own It.

Like our values? Flexware Innovation is looking for Automation Engineers. Check us out!
  #3   Spotlight this post!  
Unread 28-01-2008, 17:05
Laaba 80 Laaba 80 is offline
Registered User
AKA: Joey
FRC #1714 (MORE Robotics)
Team Role: Alumni
 
Join Date: Dec 2007
Rookie Year: 2001
Location: San Jose, CA
Posts: 495
Laaba 80 has a reputation beyond reputeLaaba 80 has a reputation beyond reputeLaaba 80 has a reputation beyond reputeLaaba 80 has a reputation beyond reputeLaaba 80 has a reputation beyond reputeLaaba 80 has a reputation beyond reputeLaaba 80 has a reputation beyond reputeLaaba 80 has a reputation beyond reputeLaaba 80 has a reputation beyond reputeLaaba 80 has a reputation beyond reputeLaaba 80 has a reputation beyond repute
Re: Programming the last thing a robot does...

Quote:
Originally Posted by efoote868 View Post


Anything our robot does in the last second, I doubt, would change the result of the game. Forgive me if I'm wrong, but I don't believe that there are any "continuance" rules... if the robot stops and the ball is still going, the clock runs out and the ball scores, I don't believe that counts.

Also, when I talk about "last second", I mean the last bit of code that executes, so no driver could react that quickly, and it wouldn't waste time during the match.
I dont know what your robot can do, but if you are trying to put the ball on at the end of the match or hurdle, and your code puts the robot back into its home position, and the ball falls off it could make a BIG difference. If you get it on top you get 12 points. That could change a match. When you say the last second, you will probably need to press it 1 or 2 seconds early, so the robot has time to move. Once it is disabled the motors stop. Have your strategist give the driver a count down of time and press the button at say 1 or 2 seconds left. This is my opinion as a programmer - I would rather just press the button because it is easier for me to do. This is my opinion as a driver - I want to push the button because if you know you cant possibly score you can just press the button, and if you could score, dont press it. Our team did this last year and it worked well. Just my 2 cents.
Joey
__________________
Driving Record - 75-43-8
Coaching Record - 92-65
  #4   Spotlight this post!  
Unread 28-01-2008, 17:16
Elgin Clock's Avatar
Elgin Clock Elgin Clock is offline
updates this status less than FB!
AKA: the one who "will break into your thoughts..."
FRC #0237 (Black Magic)
Team Role: Mentor
 
Join Date: May 2001
Rookie Year: 2001
Location: H20-Town, Connecticut
Posts: 7,773
Elgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond repute
Send a message via AIM to Elgin Clock
Re: Programming the last thing a robot does...

Quote:
Originally Posted by efoote868 View Post
Anything our robot does in the last second, I doubt, would change the result of the game. Forgive me if I'm wrong, but I don't believe that there are any "continuance" rules... if the robot stops and the ball is still going, the clock runs out and the ball scores, I don't believe that counts.
In the past the rule has been to let everything come to a complete rest. This year will be interesting to see how balls will be counted as they continue rolling on the field after the game is over.

There may actually be a rule about this already that I am unfamiliar with if someone can quote one that would be cool, but if not a Q&A question may be in order.


As far as moving everything back to a home postion after the match is over, if something is pnuematically driven you can always safely let the air out of the system, and move the components freely that are attached to them, but if it is a motor it may be more difficult unless you backdrive the motor manually (with the motors that can actually be backdriven by hand).

Always keep a tether cable handy and in the worst case scenario bring out your control panel and your tether and put your robot in the home position on the field... or carry it off the field and do it there before returning to your pit if space is a huge issue.
__________________
The influence of many leads to the individuality of one. - E.C.C. (That's me!!)

  #5   Spotlight this post!  
Unread 28-01-2008, 17:28
psy_wombats's Avatar
psy_wombats psy_wombats is offline
Registered User
AKA: A. King
FRC #0467 (Duct Tape Bandits)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Shrewsbury MA
Posts: 95
psy_wombats has a spectacular aura aboutpsy_wombats has a spectacular aura aboutpsy_wombats has a spectacular aura about
Re: Programming the last thing a robot does...

Hm... I would think if there was enough time for the software to contract the robot into a movable position, there would be enough time for the driver to get one last lap or hurdle in certain instances. Anyway, why don't you use a tether once the match ends? (Wait, this is against the rules, right? Never mind.) At least you could use a tether once you're off the field, but I guess that defeats the purpose.

Or maybe instead of a button triggering the contraction of the robot, a button that prevents it? The robot automatically folds up unless told otherwise in tight situations?

Last edited by psy_wombats : 28-01-2008 at 18:14.
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
Who does the programming for your team? EHaskins Programming 39 26-11-2006 16:49
Who had the best robot last year? slickguy2007 General Forum 16 05-11-2004 21:51
The Last Chance to Dance for Your 2002 Robot Wayne C. Off-Season Events 0 10-10-2002 22:03
Posting our robot pics, the in thing to do archiver 2001 0 24-06-2002 00:56


All times are GMT -5. The time now is 22:28.

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