Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Who has the camera working? (http://www.chiefdelphi.com/forums/showthread.php?t=43247)

cvbritton 03-02-2006 18:32

Who has the camera working?
 
If your team has the camera working, could you please post here? It would be greatly appreciated. Our team is curious to know if everyone else is having difficulties as well.

:)

CarpeDiem 03-02-2006 19:10

Re: Who has the camera working?
 
we have ours working, what is ur problem

Safarley2901 03-02-2006 19:14

Re: Who has the camera working?
 
Quote:

Originally Posted by cvbritton
If your team has the camera working, could you please post here? It would be greatly appreciated. Our team is curious to know if everyone else is having difficulties as well.

:)

We Had ours working the 1st week. Post any problems you have and we'll try and help.

Team 808,

6600gt 03-02-2006 19:46

Re: Who has the camera working?
 
We got ours working using the Kevin Watson code with minor tweeks.

Eldarion 03-02-2006 21:27

Re: Who has the camera working?
 
Ours is working perfectly. We did it the "hard way" without Kevin's code. ;)

Post any problems you are having and we will try to answer them!

scitobor 617 03-02-2006 21:56

Re: Who has the camera working?
 
Got it working and even have had an old robot driving toward the green light by the second week.

Donut 03-02-2006 22:56

Re: Who has the camera working?
 
Camera works fine.

We just have to develop the shooting algorithm based from it now...

Gili 04-02-2006 07:09

Re: Who has the camera working?
 
we also had problems with the camera, we couldn't make it track green with Kevin's code, so we developed our own code for the camera (tracking and searching).
feel free to download our code here or ask questions about it.
good luck! :)

Beeman836 04-02-2006 07:52

Re: Who has the camera working?
 
we have the camera "working", we are getting output in the IFI_Loader window for pan and tilt, but the camera itslef is not moving.
:(

Ryan M. 04-02-2006 08:09

Re: Who has the camera working?
 
Quote:

Originally Posted by Beeman836
we have the camera "working", we are getting output in the IFI_Loader window for pan and tilt, but the camera itslef is not moving.
:(

Make sure that you have the servos hooked up to the correct PWMs and that you have a (fully charged) backup battery attached to the robot controller. :)

Ryan O 04-02-2006 11:08

Re: Who has the camera working?
 
I got it working! Kevin coded it to tilt the wrong way when it found the target. To fix this go to tracking.c. In the servo track function, find the y-axis/ tilt tracking code. Where it assigns the tilt error, multiply the whoole subtraction problem by -1. THen go down and find the two places where it assigns 1 or -1 to the step in a division erro occurs and reverse them. That should fix the problem.

Denz 04-02-2006 11:32

Re: Who has the camera working?
 
Or go to tracking.h

// If your camera suddenly moves away from the target once
// it finds it, you'll need to change the sign on one or
// both of these values.
#define PAN_ROTATION_SIGN_DEFAULT +1
#define TILT_ROTATION_SIGN_DEFAULT +1

change the value there. lol It's alot easier :rolleyes:

Marcel 04-02-2006 11:40

Re: Who has the camera working?
 
Ours is working but the last time I checked it would follow our faces rather than the green light we had. Probably because the green light was iluminated on our faces but whatever as long as it follows green right?

FlyingDutchman 04-02-2006 11:47

Re: Who has the camera working?
 
we got our camera working and we our using pixels to tell how far away our robot is from the goal and how much force it will need to hopefully go in

cmurdoch 04-02-2006 13:32

Re: Who has the camera working?
 
Our camera works but we're still playing with the code to make it track the way we want it to.


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

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi