View Full Version : 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
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
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.
vBulletin® v3.6.4, Copyright ©2000-2017, Jelsoft Enterprises Ltd.