/mavnode

node.js mavlink gateway based on https://code.google.com/p/mavnode

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

#Setup

##Software Configuration

  1. Install node.js (https://nodejs.org/download/ or via brew install node)
  2. go in the mavnode root directory
  3. run npm install
  4. Install bower (npm install -g bower)
  5. run bower (bower install)

##Hardware Configuration

###PC (untested)

  1. Setup 433/915mhz 3dr Modules via Mission Planner [3dr instructions]
  2. Find the used COM Port --> top right @ Mission Planner
  3. Set the COM Port in the config.json file (serialPort)

###Mac (Linux)

  1. Install FTDI Drivers [FTDI Drivers]
  2. Use APM Planner to configure 433/915mhz 3dr Modules [APM planner]
  3. Find the used SerialInterface (in the Terminal sudo ls /dev/tty.* in my case /dev/tty.usbserial-A603J17O)
  4. Set the SerialInterface in the config.json file (serialPort)

##Run mavnode

You need to have root access to use mavnode, just run (mac or linux) sudo node server.js in the mavnode root directory

To test mavnode without an mavlink capable device use the TestServer.js file

#Demo

https://www.youtube.com/watch?v=mcUmTC2BGtc