Giter VIP home page Giter VIP logo

drone's Introduction

Drone software in Lua

This is drone software for drone and controller, written in 100% Lua.

Device Language / flavor Hardware
Drone Lua / Whitecat esp32 (see note #1)
Controller Lua / Love2D Any android device

Installation

So, you actually want to install this? Ok.

ESP32

  1. Install the Whitecat console
  2. Using the Whitecat console, erase the board and flash the latest firmware
  3. Use the Whitecat console to upload the files in the /esp32 directory to the esp32

Controller
At this time, I haven't made any binaries for the controller yet. But when I have, they can be found in the /bin folder. Just download and install it.

Connect everything up and power on. The controller needs to be connected to the wifi network the NodeMCU creates. After that, the fun can begin!

Notes

  1. Don't try to make this work on an esp8266.
    1. It has too little ram to support the reading of the LSM9DS1 sensor
    2. It is too slow to be able to set 4 PWM pins and communicate at the same time (you will be limited to around 2 updates per second)
  2. This is for a school project, but I will keep updating it afterwards
  3. I use tabs for indentation (as you should ;) so don't freak out when you see a 8-space indentation, that's just your browser
  4. If you found anything here hepful or you have a question, please let me know (I would love to hear)

License

This project is licensed under the MIT license. Use it for whatever you want!

Other licenses:
Love2d (ZLIB)
Roboto font (Apache 2.0)
NodeMCU firmware (MIT) (no longer used)
Whitecat RTOS firmware (BSD 3-clause)

drone's People

Contributors

dantevg avatar

Stargazers

 avatar

Watchers

 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.