Simple Multiwii Serial Protocol (MSP) implementation for node.js
npm install msp
|2||downloads in the last week|
|4||downloads in the last month|
|Version||0.0.2 last updated 5 months ago|
|Keywords||node, msp, multiwii, serialport|
A node.js library to communicate with multiwii based flight controllers using the MSP (MultiwiiSerialProtocol).
You need node.js and npm properly installed and configured. I use node 0.10.* but I think it works fine on earlier versions
The protocol implementation. Note that not all messages are fully parsed. It's a work in progress, feel free to follow the // TODO: markers and jump in :)
A simple example. Sends a bunch of commands to the serial port and prints response messages to the standard output as json objects
cd node-msp npm link . node bin/example.js
What is it for
First use I can think of is.. you can put it on any cheap and light hardware running node.js, connect it to the flight controller, and collect in-flight statistics on a SD card. Statistics are useful for PID tuning, development, offline analisis.. Or maybe use the lib to implement a cross-browser node-webkit based Multiwii configuration interface. Or maybe send waypoints to the FC programmatically. Or.. Impress me.