Upside-down Camera Gimbal Problems

My team and I have decided that it would be beneficial to hang our camera upside-down this year. The problem with that is that after I flipped the camera over on the mount, the x-axis has been inverted, so that whenever the colors appear on the side of the mask, the gimbal goes the opposite direction. We would like to negate the x axis search pattern, however, I do not know how to do this. I am using LabView. If anybody could give me some tips, that would be much appreciated, and I might even put a good word in for you to the man upstairs. :cool:

Open the VI that does the Servo Control State Machine. On its panel are Proportional(div) values. You will want to negate the X value. Try it out, and if works, make the current value default and save it.

Greg McKaskle

Thank you for the comment and yes I tried that but it did not work very well.

I was wondering if anyone else had any other opinions?

I am currently a hoopy frood. So please post any decent suggestions. :]

I know our programmers did it, but we’re using C++. I’ll ask them if there’s a specific variable, method, etc, when I get a chance. We’ll be at the Florida regional to help out if you can’t fix it by then.

I think all you have to do is flip the image on the camera. Just plug the camera into your computer, visit it’s IP address, and there should be a setting to rotate the image. Set the rotation to 180 degrees, and you should be good to go.

Or, mount the camera right side up in an up side down gimbel.

OK, so I have the camera right-side-up on an upside-down gimbal. The problem only starts here. This is what causes the x-axis to be backwards. I have made an attempt at inverting it. I put a case structure in the upper corner with an unbundle and a bundle in order to just invert the x axis. Is this right?http://i67.photobucket.com/albums/h296/sailorsether/gimbalcontrol.jpg

I don’t think that will work. You are flipping the value every time it is called, so it will oscillate.

My post on flipping the proportion really is the thing you want to do. What I didn’t tell you to do was to find the other places that are adjusting the position and negate their X value as well. A good example is in your Lost-Edge case. The 7,-5 also assumes a certain mounting. Constants like that also need to be negated.

Greg McKaskle

Should that 320 and 240 be -320 and 240 as well?

Nope. Those are camera pixel offsets. Sorry there aren’t better indications of units. That is where the math that was done for a specific camera resolution is being corrected to be in percent so that it is compatible with other camera resolutions.

Greg McKaskle

Ok, thank you. I got it working. I had to redownload the two color servo example and put in all of the proper gains to get it to where I started from. Then I changed only what you told me to change. Gee I don’t think that my foot could get any further into my mouth. :o Thank you for all of your help.

Congrats and good luck at your regional.

Greg McKaskle