Skip to content

pyadmell/flying-car-udacity

Repository files navigation

Udacity Flying Car Nanodegree

Udacity - Fly Car NanoDegree

Certificate

Projects

TBD...

1. Backyard Flyer

Description: Set up a state machine using event-driven programming to make udacidrone fly autonomously in a square shape. The pupose of this project is to get familiar with sending commands and receiving incoming data from the drone. The required task is to command the drone to fly a 10 meter box at a 3 meter altitude. Since communication with the drone is done using MAVLink, the code can potentially be used to control an PX4 quadcopter autopilot with minimal modification.

Code: backyard_flyer.py

Result:

backyard flyer

Environment Setup

  1. Download and install miniconda3.
  2. Clone the repository and then navigate to FCND-Term1-Starter-Kit submodule:
git clone --recursive https://github.com/pyadmell/flying-car-udacity.git

cd ext/udacity/FCND-Term1-Starter-Kit
  1. Create the miniconda environment:
conda env create -f environment.yml
  1. Verify the fcnd environment:
conda info --envs
  1. Clean up downloaded packages:
conda clean -tp
  1. Activate fcnd conda environment:
source activate fcnd