Giter VIP home page Giter VIP logo

ardronecfs's Introduction

ARDroneCFS

Core Flight Software on the AR Drone. This project requires Linux and assumes some basic knowledge of Linux.

Quickstart

  • Add the following entry to your /etc/exports file: /srv/nfs 192.168.1.1(rw,sync)
  • Restart your nfs server daemon
  • ./setup
  • Connect to AR Drone wifi
  • Determine the last octet of your IP address from the AR Drone, i.e. ifconfig. This is usually 2.
  • telnet 192.168.1.1
  • nfs.sh 2 # The "2" should be whatever your last octet is.
  • Open another shell
  • cd config/ardrone/build
  • make
  • Switch back to the shell logged into the AR Drone (192.168.1.1)
  • cd /mnt/nfs
  • cf/apps/core-bin --reset PO 1

To setup your initial build environment

  • Run ./setup
  • Create directory "/srv/nfs"
  • Export the /srv/nfs directory to 192.168.1.1 via NFS with read and write access.

To build

The build structure is created by the cmake command in the ./setup script. You should rerun cmake if you change the build structure (add files, change file names, move files, etc...) or if you change any of the CMakeLists.txt files. You can just run make at the appropriate level if just change the contents of a source file.

This project contains 2 separate builds.

  • config/ardrone: This is the target build cross-compiled for the flight computer in the AR Drone.
  • config/softsim: The same code as the ARDrone build, but compiled for your linux PC. This will still work, provided you are connected to your AR Drone via wifi. Your PC must remain connected to the AR Drone. This is useful during debugging. This is also be useful when the simulation is completed and added to the project.

The build system is setup to allow you to build the entire build, or smaller pieces of the project depending which level in the config//build directory you run the make command from:

  • config/<softsim or ardrone>/build - Builds flight code and unit tests. This is useful when creating the initial build for the first time.
  • config/<softsim or ardrone>/build/cfe - Builds only the Core Flight Executive.
  • config/<softsim or ardrone>/build/cfe/cfe-ut - Builds only the Core Flight Executive unit tests.
  • config/<softsim or ardrone>/build/cfe/osal/unit-tests - Builds only the OS Abstraction Layer unit tests. Unit tests are contained in their respective subdirectory. You can rebuild individual unit tests from there.
  • config/<softsim or ardrone>/build/apps - Builds only the applications.
  • config/<softsim or ardrone>/build/apps/<app name> - Builds only the specified application. This is particularly useful when you start creating your own custom application.
  • config/<softsim or ardrone>/build/apps/<app name>/unit_test - Builds only the unit tests for the specified application. This is also useful when you start creating your own custom application.

ardronecfs's People

Contributors

mbenson1 avatar bitblit11 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.