This client library is to be run on a Raspberry Pi
The purpose of this Python app is to read the data from a local camera connected to Raspbery Pi and send it over to the server, for the server to process and respond with the region of interest information
This client library is to be run on a Raspberry Pi connected to Pixhawk 2.4.8 via DroneKit-Python. This allows the quadcopter connected to Pixhawk be controlled from the Raspberry Pi
ROI data:
{
distance: float,
angle: float
}
Where distance
is between center of ROI and center of frame
And angle
is the angle between center of frame center of ROI
- Set up a connection between server and client
- Read video asynchronously
- Send video to server asynchronously
- Pub Sub for video
- Receive commands from server
- Pub Sub for commands
- DroneKit-Python setup
- Inferring commands from
distance
andangle
by mapping them on a gradient - Controlling the drone via Raspberry Pi