Go to Post However, I do expect something truthful to come out of some of Dave's posts. - Karibou [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 12-02-2006, 03:07
lkdjm's Avatar
lkdjm lkdjm is offline
Registered User
AKA: David Mazza
FRC #0564 (Digital Impact)
Team Role: Programmer
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Middle Island, NY
Posts: 31
lkdjm will become famous soon enough
Send a message via AIM to lkdjm Send a message via Yahoo to lkdjm
Has anyone else had trouble staying within the 10 second limit in autonomous?

Has anyone else found that 10 seconds is not enough time to move the robot to the light? I am using the camera to move the robot to the light. The fastest time we have had to get to the right spot an start shooting balls is 9 seconds. Obviously, 1 second is not enoght time to shoot balls, and also, most of the time it takes at least 15 seconds to get to the right spot. I decided that rather than going to the same spot every time, to have a very big dead-spot for tilt and then change the cannon speed(our cannon is fixed) based on exactly where we are. I have messed with the GAIN and even made my own system for it, and I have concluded that there is really no way to get to any spot in under 5 seconds. Sometimes it may take 5 seconds just to lock on to the light. If the GAIN is too high, it will keep over-shooting, and if it is too low, it is too slow. The perfect number is still to slow. Has anyone been more successful than me? Do you have any ideas for me? Is it possible that blob size and those other values would help?
-Dave
-Longwood team 564
564.first@gmail.com
__________________
Longwood's Digital Impact

  #2   Spotlight this post!  
Unread 12-02-2006, 03:21
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,519
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: Has anyone else had trouble staying within the 10 second limit in autonomous?

Right now, I'd say 5 seconds to reliably lock onto the light. But you can be searching while you are getting in position. It is possible to fire 10 balls in 5 seconds. Probably even in 3 seconds. But I agree, I'd have rather seen the traditional 15 second autonomous.
__________________
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 12-02-2006, 03:36
lkdjm's Avatar
lkdjm lkdjm is offline
Registered User
AKA: David Mazza
FRC #0564 (Digital Impact)
Team Role: Programmer
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Middle Island, NY
Posts: 31
lkdjm will become famous soon enough
Send a message via AIM to lkdjm Send a message via Yahoo to lkdjm
Re: Has anyone else had trouble staying within the 10 second limit in autonomous?

Ok, good, I didn't realize that you could be locked on before autonomous starts, that cuts off a lot of time. But still, you will be facing straight, you may lock onto the wrong target, and even if you do happen to lock onto the right target, you have to make a turn twords the right target, and during that turn, it make loose the target. Thank you for the amazingly fast response at 3:30 in the morning. Clearly we have no lives, lol.
__________________
Longwood's Digital Impact

  #4   Spotlight this post!  
Unread 12-02-2006, 04:35
Calvin Calvin is offline
Registered User
no team
 
Join Date: Feb 2005
Location: Portland OR
Posts: 105
Calvin has a spectacular aura aboutCalvin has a spectacular aura about
Re: Has anyone else had trouble staying within the 10 second limit in autonomous?

I don't think 10 seconds is enough to do alot, but for myself, I'm hoping to at least move the robot to firing position.
  #5   Spotlight this post!  
Unread 12-02-2006, 10:02
Oumonkey's Avatar
Oumonkey Oumonkey is offline
Master of the If statement
AKA: Josh Tyus
FRC #1555 (Pulse)
Team Role: Programmer
 
Join Date: Jun 2005
Rookie Year: 2005
Location: Monon, IN
Posts: 50
Oumonkey has a spectacular aura aboutOumonkey has a spectacular aura about
Re: Has anyone else had trouble staying within the 10 second limit in autonomous?

I still haven't been able to mess with auto mode but is it really that hard to get everything in 10 secs?
Also is there any other purpose for the camera outside of auto mode, I was thinking if I could get a led rigged up, or maybe one of those pwm01/pwm02 leds on that one.....thingy....I don't remember what its called, the one that you plug in the controllers to. But I was thinking to hook up a led so that when it was lined up to the goal it could light up so we know when to shoot.
Also I'm dead reckoning, I have a feeling I will want to cause pain to something/someone afterwords....
I should try a pot, but I just don't think we have enoguh time left me me to learn how to.
  #6   Spotlight this post!  
Unread 12-02-2006, 10:15
lkdjm's Avatar
lkdjm lkdjm is offline
Registered User
AKA: David Mazza
FRC #0564 (Digital Impact)
Team Role: Programmer
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Middle Island, NY
Posts: 31
lkdjm will become famous soon enough
Send a message via AIM to lkdjm Send a message via Yahoo to lkdjm
Re: Has anyone else had trouble staying within the 10 second limit in autonomous?

Quote:
Originally Posted by Calvin
I don't think 10 seconds is enough to do alot, but for myself, I'm hoping to at least move the robot to firing position.
Does anyone actually plan to shoot in autonomous?
__________________
Longwood's Digital Impact

  #7   Spotlight this post!  
Unread 12-02-2006, 10:57
KenWittlief KenWittlief is offline
.
no team
Team Role: Engineer
 
Join Date: Mar 2003
Location: Rochester, NY
Posts: 4,213
KenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond repute
Re: Has anyone else had trouble staying within the 10 second limit in autonomous?

why do you think you have to be facing straight ahead when auton mode starts?

in the past you were able to point your robot any direction you wanted as long as it was within the defined starting area of the field.
  #8   Spotlight this post!  
Unread 12-02-2006, 11:00
nehalita's Avatar
nehalita nehalita is offline
Robots are friends
AKA: tagger fanatic
FRC #1345 (Platinum Dragons); FRC# 97 (RoboRuminants)
Team Role: Programmer
 
Join Date: Jan 2005
Rookie Year: 2004
Location: Ft. Laud, FL
Posts: 870
nehalita has a reputation beyond reputenehalita has a reputation beyond reputenehalita has a reputation beyond reputenehalita has a reputation beyond reputenehalita has a reputation beyond reputenehalita has a reputation beyond reputenehalita has a reputation beyond reputenehalita has a reputation beyond reputenehalita has a reputation beyond reputenehalita has a reputation beyond reputenehalita has a reputation beyond repute
Send a message via AIM to nehalita Send a message via MSN to nehalita Send a message via Yahoo to nehalita
Re: Has anyone else had trouble staying within the 10 second limit in autonomous?

Quote:
Originally Posted by Calvin
I don't think 10 seconds is enough to do alot, but for myself, I'm hoping to at least move the robot to firing position.
Also, what if your team ends up going on defense? Keep that in mind, you might not always be able to shoot right away after the autonomous round
__________________
"Relativity applies to physics, not ethics." Thank you Einstein
MIT '10

Proud Member of H.I.L.
The PLATINUM DRAGONS are on FIRE!
  #9   Spotlight this post!  
Unread 12-02-2006, 11:02
Not2B's Avatar
Not2B Not2B is offline
Registered User
AKA: Brian Graham
FRC #0862 (Lightning Robotics)
Team Role: Mentor
 
Join Date: Apr 2002
Rookie Year: 2002
Location: Farmington Hills, Mi
Posts: 401
Not2B has a reputation beyond reputeNot2B has a reputation beyond reputeNot2B has a reputation beyond reputeNot2B has a reputation beyond reputeNot2B has a reputation beyond reputeNot2B has a reputation beyond reputeNot2B has a reputation beyond reputeNot2B has a reputation beyond reputeNot2B has a reputation beyond reputeNot2B has a reputation beyond reputeNot2B has a reputation beyond repute
Re: Has anyone else had trouble staying within the 10 second limit in autonomous?

Quote:
Originally Posted by lkdjm
Does anyone actually plan to shoot in autonomous?
I think many teams plan on shooting in autonomus mode as the base to their entire stratagy. And I think they will do it, too.

But I think only one robot will be able to unload 10 balls into the center goal per match... better have a few other auto modes ready to go!!!

uh... I gotta go talk to our programmers....
__________________
Brian Graham
  #10   Spotlight this post!  
Unread 12-02-2006, 11:07
lkdjm's Avatar
lkdjm lkdjm is offline
Registered User
AKA: David Mazza
FRC #0564 (Digital Impact)
Team Role: Programmer
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Middle Island, NY
Posts: 31
lkdjm will become famous soon enough
Send a message via AIM to lkdjm Send a message via Yahoo to lkdjm
Re: Has anyone else had trouble staying within the 10 second limit in autonomous?

Quote:
Originally Posted by KenWittlief
why do you think you have to be facing straight ahead when auton mode starts?

in the past you were able to point your robot any direction you wanted as long as it was within the defined starting area of the field.
I had no idea! Thanks for the correction. That applies to this year too? That would be awesome! I have to check the dimensions of our robot to see if we could do that. Also, don't you think that the robot next to you might get in the line of sight? If they don't move in autonomous, this could be a fatal problem for autonomous.
__________________
Longwood's Digital Impact

  #11   Spotlight this post!  
Unread 12-02-2006, 11:12
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,188
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: Has anyone else had trouble staying within the 10 second limit in autonomous?

Quote:
Originally Posted by lkdjm
Ok, good, I didn't realize that you could be locked on before autonomous starts, that cuts off a lot of time. But still, you will be facing straight, you may lock onto the wrong target, and even if you do happen to lock onto the right target, you have to make a turn twords the right target, and during that turn, it make loose the target. Thank you for the amazingly fast response at 3:30 in the morning. Clearly we have no lives, lol.
It could be done something like this

Code:
#define BEGIN_DISABLE     0

extern char robot_state=0;

Process_Data_From_Master_uP{
	switch(robot_state)
	{
		case: BEGIN_DISABLE
		{
			Tracking_Stuff();
                        break;
		}
	
		
		default: break;
	}

	Other Stuff...
	
	Default Routine;
}
(I put the switch statement in just in case you wanted other robot 'modes')

Code:
User_Autonmous_Mode
{
	robot_state=1;
	
	Autonomous Stuff;
}
  #12   Spotlight this post!  
Unread 12-02-2006, 11:17
Joel J's Avatar
Joel J Joel J is offline
do you..
no team
 
Join Date: May 2001
Rookie Year: 2000
Location: San Jose, CA
Posts: 1,445
Joel J has a reputation beyond reputeJoel J has a reputation beyond reputeJoel J has a reputation beyond reputeJoel J has a reputation beyond reputeJoel J has a reputation beyond reputeJoel J has a reputation beyond reputeJoel J has a reputation beyond reputeJoel J has a reputation beyond reputeJoel J has a reputation beyond reputeJoel J has a reputation beyond reputeJoel J has a reputation beyond repute
Re: Has anyone else had trouble staying within the 10 second limit in autonomous?

Has anyone actually tried tracking while disabled?

Kevin's code uses the PWM outputs which output neutral while disabled.

Can Kevin's code command servo values through the camera? That is, can you plug the servos into the camera itself, and still control where they point?
__________________
Joel Johnson

Division By Zero (229) Alumni, 2003-2007
RAGE (173) Alumni, 1999-2003
  #13   Spotlight this post!  
Unread 12-02-2006, 11:28
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Has anyone else had trouble staying within the 10 second limit in autonomous?

Quote:
Originally Posted by Joel J.
Can Kevin's code command servo values through the camera?
Not easily.

So far as I can tell, once it sets up the camera, it basically just "listens" to the T packets coming back. There doesn't seem to be an existing state machine to patch into for sending SV commands when desired. Changing the code to use the camera for servo control means adding a new piece of processing rather than adapting an existing one.
  #14   Spotlight this post!  
Unread 12-02-2006, 11:34
lkdjm's Avatar
lkdjm lkdjm is offline
Registered User
AKA: David Mazza
FRC #0564 (Digital Impact)
Team Role: Programmer
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Middle Island, NY
Posts: 31
lkdjm will become famous soon enough
Send a message via AIM to lkdjm Send a message via Yahoo to lkdjm
Re: Has anyone else had trouble staying within the 10 second limit in autonomous?

Quote:
Originally Posted by Tom Bottiglieri
It could be done something like this

Code:
#define BEGIN_DISABLE     0

extern char robot_state=0;

Process_Data_From_Master_uP{
	switch(robot_state)
	{
		case: BEGIN_DISABLE
		{
			Tracking_Stuff();
                        break;
		}
	
		
		default: break;
	}

	Other Stuff...
	
	Default Routine;
}
(I put the switch statement in just in case you wanted other robot 'modes')

Code:
User_Autonmous_Mode
{
	robot_state=1;
	
	Autonomous Stuff;
}

So I assume that means that by default the camera will not start searching until autonomous starts. With this code, will it remain locked on when autonomous starts, or will it just restart the search?
__________________
Longwood's Digital Impact

  #15   Spotlight this post!  
Unread 12-02-2006, 15:22
lkdjm's Avatar
lkdjm lkdjm is offline
Registered User
AKA: David Mazza
FRC #0564 (Digital Impact)
Team Role: Programmer
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Middle Island, NY
Posts: 31
lkdjm will become famous soon enough
Send a message via AIM to lkdjm Send a message via Yahoo to lkdjm
Re: Has anyone else had trouble staying within the 10 second limit in autonomous?

Quote:
Originally Posted by Not2B
I think many teams plan on shooting in autonomus mode as the base to their entire stratagy. And I think they will do it, too.

But I think only one robot will be able to unload 10 balls into the center goal per match... better have a few other auto modes ready to go!!!

uh... I gotta go talk to our programmers....
I am also thinking of using the camera or dead reckoning to get the corner goals in autonomous but I think that would take even longer! What are some of the other ideas for autonomous out there?
__________________
Longwood's Digital Impact

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
Autonomous Code trouble The yellowdart Programming 16 21-01-2006 10:36
A Warning to Human Players During Autonomous The Lucas General Forum 21 07-04-2005 02:29
Setting Autonomous Settings from OI Tom Saxton Programming 15 27-03-2005 11:45
autonomous mode problem on field Chris_C Programming 17 26-03-2003 19:11


All times are GMT -5. The time now is 10:48.

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