Setup testbench to trade & develop:
- Image processing selection
- My custom algos need help...so let's hold off on those
- Let's use OpenCV built-in flavors
- Select a camera (limited to what's around the house)
- didn't get PiCamera V2 on ribbon cable to work (maybe more reasons than this to abandon PiCamera V2...framerates too low?)
- OpenCV captures webcam easily
- Rasp Pi receive & transmit SBUS serial from Quad's RF receiver and back to Flightcontroller
- need inverter since SBUS is inverted UART
- need 3.3v supply for inverter to keep SBUS thru inverter at 3.3v
- 5v not good for Flightcontroller board (Omnibus F4)
- need inverter since SBUS is inverted UART
- Rasp Pi to output analog video (composite) to Quad's VTX (video transmitter) so that the image can be seen on FPV goggle screen.
- Rasp Pi code to allow user to select region of interest square box on-screen.
- Pass this to OpenCV tracking algo
- Rasp Pi code to pursuit guide Quad based on control algo
- Based on error from boresight center
- Try to get at least 20Hz total loop time
- C920 cam happens to go 30Hz in bright environment
- Need to figure out SBUS repetition rate
- Afraid of camera frame grab vs. incoming SBUS serial collisions causing time issues
- Likely need 'threading'
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.