<< return to Pixycam.com

Reverse pixy cam moving

I am running the “Pan Tilt Demo” example.
However, the tilt moves in the opposite direction.
Therefore, it moves like avoiding objects.

my video

Hi,

it looks like you might have power issues.

Are you using the USB cable that came with Pixy2?

What happens if you try exercising the servos as described here? https://docs.pixycam.com/wiki/doku.php?id=wiki:v2:my_pantilt_is_acting_sort_of_crazy#test-the-servos

Cheers,
Jesse

Hi,
I have the very same issue.
The reason is, that in my pan/tilt-mount the pan motor is placed in upside down in comparison to the placement in the regular mount.

So is it possible to reverse the pan moving direction of the pixycam mechanism by configuration… or perhaps by putting the plug reversed ?

BR
Amin

Yes, just put in a negative number for the gain on the axis you want to change:

https://docs.pixycam.com/wiki/doku.php?id=wiki:v2:pantilt_demo_pane

thanks for the quick reply.
It worked out… only that the description behind the link is not 100% up to date as the menu looks differently with the current version of the software

Great! And thanks for the heads up; I have updated the information on that page.