<< return to Pixycam.com

Retrive servo angles when running pan/tilt program?

I was wondering if it is possible, or considered to be added to the API, to receive the servo (pan/tilt) angles when the pixie is running the tilt/pan program?

As of now you only can (?) get the x,y and size in camera space. So to support absolute tracking info I would need to reimplement the servo tracking on my arduino or just use the pixie fixed.

btw love the pixie!

Hi Emil,

Thanks for the suggestion, we’ll definitely consider it for the next version. Have you tried integrating your program with the “Arduino pan/tilt demo”:https://github.com/charmedlabs/pixy/blob/master/arduino/libraries/Pixy/examples/pantilt/pantilt.ino? I know its not ideal, but it would prevent you from having to reimplement servo tracking on your own.

We’re glad you’re enjoying Pixy!

Scott

Thanks for that link! It will solve my immediate problem.
Still, it would be nice to have this in the API. Crossing my fingers for upcoming releases! :wink:

best regards
/Emil