Skip to content

Latest commit

 

History

History
41 lines (28 loc) · 1.11 KB

README.md

File metadata and controls

41 lines (28 loc) · 1.11 KB

VAOTQ Client Library

What

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

Why

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

Information about the codebase

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

Task list

  • 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 and angle by mapping them on a gradient
  • Controlling the drone via Raspberry Pi