Giter Club home page Giter Club logo

mavsdk_skywriting's Introduction

Offboard Skywriting Mode

MAVSDK Application

Gordon Keller

Rev. 1 1/3/20

A MAVSDK-based implementation of a multirotor skywriting mode that:

  1. Establishes connection to PX4 system
  2. Takes a string argument of the form 'WRITE THIS' and converts it to waypoints and trajectories
  3. Executes mission with an optional trigger for light, laser, smoke element, etc.

Building

*MAVSDK libraries must be installed on the system, and you must have PX4 locally to run SITL simulation

cd /{PROJECT DIR}
mkdir build
cd build
cmake ..
make

Running (in simulation)

  1. Run JMavSim
cd .../src/Firmware/ (wherever you have PX4 source installed)
make px4_sitl_default jmavsim
  1. Run Offboard Program
./offboard_skywriting udp://:14540 'ABCDEFGHIJKLM
NOPQRSTUVWXYZ'

Output (retrieved from flight log): alt text

This command will initialize vehicle takeoff sequence (if not already airborne) and will traverse the alphabet in two lines. *Program start quirk will reject first offboard call in simulation -- simply run the program again and the sequence will start.

Project To-Dos

  • Implement better PID for trajectory control
  • Add flags/modifiers for skywriting setting #defines in main
  • Add safety protocols
  • Create GTests for each library
  • Add external instrument (LED, smoke machine) controls (refer to https://ardupilot.org/copter/docs/common-external-leds.html -- even though this reference is for ardupilot, should be a programming option for PX4)
  • add manifold mapping to create a surface to write on in the sky
  • parameterize things like letter max speeds, intensity of letter (i.e., density of smoke plume, or the brightness of leds)
  • for smoke, incorporate logic to have outlet negate vehicle velocity (i.e., point in reverse direction of flight and match the traversal speed to have it stay stagnant in air)
  • add geofencing for safety

mavsdk_skywriting's People

Contributors

ghkeller avatar gorbkeller avatar

Stargazers

Yagodkin Anatoliy 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.