Go to Post Life is not about avoiding risk, but managing it. - dtengineering [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 17-02-2006, 20:50
Salik Syed Salik Syed is offline
Registered User
FRC #0701 (RoboVikes)
Team Role: Alumni
 
Join Date: Jan 2003
Rookie Year: 2001
Location: Stanford CA.
Posts: 514
Salik Syed has much to be proud ofSalik Syed has much to be proud ofSalik Syed has much to be proud ofSalik Syed has much to be proud ofSalik Syed has much to be proud ofSalik Syed has much to be proud ofSalik Syed has much to be proud ofSalik Syed has much to be proud ofSalik Syed has much to be proud of
Send a message via AIM to Salik Syed
Wierd search behavior....

okay when the camera is in search mode it usually tilts up goes through one left right cycle, goes to a middle point scans left and right, then pans down and scans left and right... now recently it just tilts up while facing towards the right, then tilts back down to middle and scans left/right ... effectively it never tilts except when at the far far right and even then only up not down...!

what can explain this wierd behavior? serial port stuff perhaps? i can't figure it out...
__________________
Team 701
  #2   Spotlight this post!  
Unread 18-02-2006, 22:41
DanDon's Avatar
DanDon DanDon is offline
ohhh MY god
AKA: Dan Hoizner
FRC #0375 (The Robotic Plague)
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2004
Location: Staten Island, NY
Posts: 1,432
DanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond repute
Send a message via ICQ to DanDon Send a message via AIM to DanDon Send a message via MSN to DanDon
Re: Wierd search behavior....

Quote:
Originally Posted by Salik Syed
okay when the camera is in search mode it usually tilts up goes through one left right cycle, goes to a middle point scans left and right, then pans down and scans left and right... now recently it just tilts up while facing towards the right, then tilts back down to middle and scans left/right ... effectively it never tilts except when at the far far right and even then only up not down...!

what can explain this wierd behavior? serial port stuff perhaps? i can't figure it out...
It might be that you camera is catching a glimpse of something within the color range, and then losing track, thus restarting the search cycle.

When this happens, watch if the red light on the camera turns on when at the upper right corner. If so, then what I said above is probably happening.

Try covering up everything that is either reflective, or can be within the allowed color range for tracking.

Hope this helps,
__________________
  #3   Spotlight this post!  
Unread 19-02-2006, 12:10
JamesBrown JamesBrown is online now
Back after 4 years off
FRC #5279
Team Role: Engineer
 
Join Date: Nov 2004
Rookie Year: 2005
Location: Lynchburg VA
Posts: 1,282
JamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond repute
Re: Wierd search behavior....

we had the same problem, it ended up being a glitch in the search routine, check and make sure you didn't mix up any = and == we ended up just rewriting ours.
__________________
I'm Back


5279 (2015-Present)
3594 (2011)
3280 (2010)
1665 (2009)
1350 (2008-2009)
1493 (2007-2008)
1568 (2005-2007)
  #4   Spotlight this post!  
Unread 19-02-2006, 14:34
Windward's Avatar
Windward Windward is offline
Registered User
FRC #1452
Team Role: Programmer
 
Join Date: Nov 2005
Rookie Year: 2004
Location: So Cal
Posts: 88
Windward is an unknown quantity at this point
Re: Wierd search behavior....

We had a similar problem, except we had the servos on the mount attached wrong so they weren't center. AKA the camera wasn't mounted properly for the search values. Try taking off the camera from the servos, assuming your using the defualt value, and recentering it.
__________________
  #5   Spotlight this post!  
Unread 22-02-2006, 21:35
Denz's Avatar
Denz Denz is offline
Registered User
FRC #0772 (Sabre Bytes Robotics)
Team Role: Programmer
 
Join Date: Jan 2006
Location: LaSalle, Ont, Canada
Posts: 66
Denz is on a distinguished road
Send a message via MSN to Denz
Re: Wierd search behavior....

To fix this, we changed in tracking.c under the search routine

//temp_pan_servo = 0; temp_pan_servo = (int)PAN_SERVO;
//temp_tilt_servo = TILT_CENTER_PWM_DEFAULT;
temp_tilt_servo = (int)TILT_SERVO;

this worked well as a fix, the default values are commented out.
__________________
www.sabrerobotics.com
  #6   Spotlight this post!  
Unread 23-02-2006, 02:43
Eldarion's Avatar
Eldarion Eldarion is offline
Electrical Engineer / Computer Geek
AKA: Eldarion Telcontar
no team (Teamless Orphan)
Team Role: Alumni
 
Join Date: Nov 2005
Rookie Year: 2005
Location: Númenor
Posts: 558
Eldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond repute
Send a message via AIM to Eldarion Send a message via Yahoo to Eldarion
Re: Wierd search behavior....

Just as a possibility, when ours spazzed out like that for no apparent reason, I found that the lens had been screwed all the way down by the vibration!

When the camera is way out of focus like that, very wierd things start to happen
__________________
CMUCam not working? Tracks sporadically? Try this instead: http://www.falconir.com!
PM me for more information if you are interested (it's open source!).

Want the FIRST Email blasts? See here: http://www.chiefdelphi.com/forums/sh...ad.php?t=50809

"The harder the conflict, the more glorious the triumph. What we obtain too cheaply, we esteem too lightly; it is dearness only that gives everything its value."
-- Thomas Paine

If it's falling apart it's a mechanical problem. If it's spewing smoke it's a electrical problem.
If it's rampaging around destroying things it's a programming problem.

"All technology is run on 'Magic Smoke' contained within the device. As everyone knows, whenever the magic smoke is released, the device ceases to function."
-- Anonymous

I currently speak: English, some German, Verilog, x86 and 8051 Assembler, C, C++, VB, VB.NET, ASP, PHP, HTML, UNIX and SQL
  #7   Spotlight this post!  
Unread 23-02-2006, 07:23
Denz's Avatar
Denz Denz is offline
Registered User
FRC #0772 (Sabre Bytes Robotics)
Team Role: Programmer
 
Join Date: Jan 2006
Location: LaSalle, Ont, Canada
Posts: 66
Denz is on a distinguished road
Send a message via MSN to Denz
Re: Wierd search behavior....

Put some tape around that lens ! Our bot vibrated so much, we had to locktite all the screws around the camera, cuz they kept falling out, but it still stayed in focus!
__________________
www.sabrerobotics.com
  #8   Spotlight this post!  
Unread 23-02-2006, 13:12
Eldarion's Avatar
Eldarion Eldarion is offline
Electrical Engineer / Computer Geek
AKA: Eldarion Telcontar
no team (Teamless Orphan)
Team Role: Alumni
 
Join Date: Nov 2005
Rookie Year: 2005
Location: Númenor
Posts: 558
Eldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond repute
Send a message via AIM to Eldarion Send a message via Yahoo to Eldarion
Re: Wierd search behavior....

Quote:
Originally Posted by Denz
Put some tape around that lens ! Our bot vibrated so much, we had to locktite all the screws around the camera, cuz they kept falling out, but it still stayed in focus!
That's what we ended up doing.

Safety Inspector: What is this electrical tape doing here?
Me: It's insulating the lens!
__________________
CMUCam not working? Tracks sporadically? Try this instead: http://www.falconir.com!
PM me for more information if you are interested (it's open source!).

Want the FIRST Email blasts? See here: http://www.chiefdelphi.com/forums/sh...ad.php?t=50809

"The harder the conflict, the more glorious the triumph. What we obtain too cheaply, we esteem too lightly; it is dearness only that gives everything its value."
-- Thomas Paine

If it's falling apart it's a mechanical problem. If it's spewing smoke it's a electrical problem.
If it's rampaging around destroying things it's a programming problem.

"All technology is run on 'Magic Smoke' contained within the device. As everyone knows, whenever the magic smoke is released, the device ceases to function."
-- Anonymous

I currently speak: English, some German, Verilog, x86 and 8051 Assembler, C, C++, VB, VB.NET, ASP, PHP, HTML, UNIX and SQL
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
Mozilla / FireFox Search Plugins Brandon Martus Announcements 7 06-06-2005 10:41
search white papers? sirbleedsalot CD Forum Support 3 03-04-2005 17:09
Bad behavior in the hotels. Tiki General Forum 45 26-03-2005 23:39
teach rookies how to search Ken Leung CD Forum Support 2 17-01-2005 00:03
20 second search interval sanddrag CD Forum Support 4 14-02-2004 08:52


All times are GMT -5. The time now is 13:27.

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