Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Mount Camera Upside Down (http://www.chiefdelphi.com/forums/showthread.php?t=44417)

LukeRu 20-02-2006 16:15

Mount Camera Upside Down
 
We are mounting our CMU Camera upside down, and wonder how we should modify the code so that it still calculates the angle properly.

Any ideas would be greatly appreciated!

:ahh: :ahh: :ahh:

Idaman323 20-02-2006 20:09

Re: Mount Camera Upside Down
 
If your using the bells and whistles version then I do believe some variable in tracking.h needs a negative in front of it. Maybe someone else who knows can expand on this?

Keith Watson 20-02-2006 20:15

Re: Mount Camera Upside Down
 
We tested our camera mount right side up on the bench then mounted it on the robot upside down. The search routine will work as is. You may want to adjust your min and max tilt values to keep the search pattern more towards the angle of the target.

If you are using the camera servo values to calculate angles, mount the camera upside down, drive to servos to known values, and physically measure the angles. Then derive an equation to convert camera servo pwm values to angles.


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

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