My project involves the use of a cmucam5. ( Pixy Cam ) that utilises an Arduino library to control pitch/ yaw motion on a camera to follow a designated object.
HKPilot is arduino based so It should operate with other Arduino libraries yes ?
I simply want to load the camera’s arduino library to then control flight servos if the camera detects the object to be moving out of frame. So for example if the object begins to move up out of frame, the camera sends a message move the ‘up servo’ until the object is once again centrally framed in the camera.
I’m hoping someone can simply point me to a tutorial that will help me better understand coding Arduino libraries for flight.