Skip to content
This repository has been archived by the owner on Jun 5, 2021. It is now read-only.

Help the user to land the drone based on the video and ground distance input.

License

Notifications You must be signed in to change notification settings

hafiz-kamilin/research_apmCopterLandingAssistant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

APM: Copter landing assistant

Introduction

This programs are created to augment the user video feeds streamed from the drone to a personal computer. The augmented video will display the distance from the ground and utilize circle Hough Transform (CHT) to find and mark the red circle.

Test run

  1. Install Win32 Disk Imager on a Windows PC and write the custom Raspbian Lite image on a blank SD card to be inserted inside Raspberry Pi 3 model B. As an extra, refer to Ardupilot guide to set up Raspberry Pi connection with Pixhawk on your own.
  2. Install Advanced IP Scanner on Windows PC to find the Raspberry Pi IP address and use Bitvise SSH Client to establish the Secure Shell (SSH) connection between Windows PC and Raspberry Pi.
  3. Copy 00_pc_windows folder to a Windows PC and copy 01_rpi_raspian folder to the Raspberry Pi.
  4. Edit the a_prefix_variable.py file inside the folder 00_pc_windows and folder 01_rpi_raspian with Raspberry Pi and Windows PC IP addresss found earlier.
  5. Execute b_tcp_copter_interface.py on the Raspberry Pi and execute b_drone_landing_assistant.py on the Windows PC.
  6. User will be presented with a video live stream on the Windows PC and the stream will show the distance from the ground and mark any red circle that it found. Prior calibration on a_prefix_variable.py setting might be needed to detect red in YCrCb color range.