Go to Post I once started to build a time machine. But then I went back in time and told myself that it wouldn't work, so I gave up on it. -dave - dlavery [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 06-02-2007, 16:12
Shadow31's Avatar
Shadow31 Shadow31 is offline
The Line Between Insanity & Despair
AKA: ???
FRC #1405 (Falcons Robotics)
Team Role: Programmer
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Rochester, NY
Posts: 4
Shadow31 is an unknown quantity at this point
Send a message via AIM to Shadow31
Weird camera problem

I am sorry if this problem has been mentioned, but I haven't been able to find it in searches. This is our first year using a camera, and though we've made a lot of progress, we have one very frustrating problem that won't go away. When the camera is searching and gets to the right tilt, it skips panning there and continues to the next level. This seems to be only happening with the bottom search level. It otherwise locks on correctly, and isn't looking away from the light; I have tried the solution mentioned if it looks away from the light, and that makes it look away, so I know it's not the problem. Could anyone help me???
__________________
Killer Coding Ninja Monkeys do exist!
  #2   Spotlight this post!  
Unread 06-02-2007, 23:09
Goldeye Goldeye is offline
Registered User
AKA: Josh Hecht
FRC #0694 (Stuypulse)
Team Role: College Student
 
Join Date: Jan 2005
Rookie Year: 2005
Location: New York
Posts: 145
Goldeye has a spectacular aura aboutGoldeye has a spectacular aura aboutGoldeye has a spectacular aura about
Send a message via AIM to Goldeye
Re: Weird camera problem

Are you using EasyC?

We're not and were having a similar problem, so we tried kevin watson's code from last year and its been working better.

Edit: Has anyone else experienced/fixed this or have any idea what the problem might be?
__________________
Team 694

2005 Championship - Galileo Semifinalist
2005 New York - Regional Chairmans Award
2005 New York - Semifinalist (Thanks 1257,1340)
  #3   Spotlight this post!  
Unread 07-02-2007, 14:07
Tom Line's Avatar
Tom Line Tom Line is offline
Raptors can't turn doorknobs.
FRC #1718 (The Fighting Pi)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1999
Location: Armada, Michigan
Posts: 2,513
Tom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond repute
Re: Weird camera problem

We had a similar problem. We had a high degree of out lights in the area and the camera occasionally saw one partially. For whatever reason ( I didn't dig into the code) this resulted in the camera restarting the search pattern.

Do this. Go into Kevin's code and disable the "new_search = 1" line and see if that fixes your issue. It fixed ours.
  #4   Spotlight this post!  
Unread 07-02-2007, 14:14
Shadow31's Avatar
Shadow31 Shadow31 is offline
The Line Between Insanity & Despair
AKA: ???
FRC #1405 (Falcons Robotics)
Team Role: Programmer
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Rochester, NY
Posts: 4
Shadow31 is an unknown quantity at this point
Send a message via AIM to Shadow31
Re: Weird camera problem

We are not using Easy C. The camera is mostly working fine, it's just the lowest search level. I'm starting to wonder if it will make a difference, since the light is 9 feet in the air, not directly in front of the robot (not to mention our camera will most likely be a couple feet above the ground) but we would still like to fix this problem. It still locks on correctly (though we're trying it on last year's robot and the robot is so beaten up, it won't drive straight towards it, haha). I'll try commenting out that line ASAP, though your problem sounds a bit different (it's not picking up any other lights, as far as we can tell). Hey, a little trial and error never hurt anyone... except when someone on our team decided to play chicken with the robot and hold the light directly in front of it, nearly getting run over.
__________________
Killer Coding Ninja Monkeys do exist!
  #5   Spotlight this post!  
Unread 08-02-2007, 18:46
Shadow31's Avatar
Shadow31 Shadow31 is offline
The Line Between Insanity & Despair
AKA: ???
FRC #1405 (Falcons Robotics)
Team Role: Programmer
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Rochester, NY
Posts: 4
Shadow31 is an unknown quantity at this point
Send a message via AIM to Shadow31
Re: Weird camera problem

Thank you so much Tom Line, it worked and now our camera is working great!
__________________
Killer Coding Ninja Monkeys do exist!
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
Camera Problem ta1234 Programming 1 29-01-2007 09:38
very weird camera movement! graphite Programming 3 14-05-2006 05:23
Weird problem.. devicenull Programming 2 13-03-2005 12:07
Weird problem with if statements psquared Programming 7 27-01-2005 13:02
camera problem miscar Programming 2 23-01-2005 12:06


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

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