[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Backyard Flyer project from Udacity Flying Car Nanodegree

License

Notifications You must be signed in to change notification settings

agoila/udacity-fcnd-P1

Repository files navigation

FCND - Backyard Flyer Project

Make a simulated drone fly in a square shape!

In this project, you'll set up a state machine using event-driven programming to autonomously flying a drone. You will be using flying a quadcopter in Unity simulator. After completing this assignment, you'll be familiar with sending commands and receiving incoming data from the drone.

The python code you write is similar to how the drone would be controlled from a ground station computer or an onboard flight computer. Since communication with the drone is done using MAVLink, you will be able to use your code to control an PX4 quadcopter autopilot with very little modification!

Instructions

Follow the steps mentioned here to get started.

Visdom integration

This link provides a great introduction to Facebook's Visdom tool to integrate and plot realtime data for this project.

Here's a plot of the data acquired after executing the code in backyard_flyer.py.

Visdom plot

My Submission

You can find my submission here.

Visualize Drone Trajectory

Thanks to user @fierval for the drone trajectory visualization code. Here's the square trajectory for my drone run:

Drone Trajectory