node-mavlink
node-mavlink copied to clipboard
Node.js module for encoding and decoding MAVLink messages
Add support for version 2 of the MAVLink protocol. Will require changes to parsing and implementation of v2 handshaking. Details here: https://mavlink.io/en/mavlink_version.html
Hey! I've been trying to communicate with a pixhawk using this library, but haven't had any luck so far. My test script looks like this: ``` var SerialPort = require('serialport');...
After parsing for a while at 5Hz, I found that after a short period of time the node console was shown these errors. 944243 ms: Mark-sweep 1378.5 (1435.0) -> 1378.5...
Here is the script I am testing with. ``` #!/usr/bin/env node var SerialPort = require('serialport').SerialPort; var mavlink = require('mavlink'); //Open serial port var port = new SerialPort('/dev/ttyAMA0', { baudrate: 57600...
Actual values of enums can be accessed by enumsByName of enumsByValue. Usage: ``` var value = enumsByName.ENUM_NAME.PROPERTY_NAME.value; var name = enumsByValue.ENUM_NAME[PROPERTY_VALUE].name; ``` Specifying .value or .name is to preserve descriptions...
you have a conditional in prototype.parseChar that requires the component ids to be the same for the message to be emmited, the point of component ids is to keep track...
I'm trying to send command to apm using REQUEST_DATA_STREAM. It says "Message 'REQUEST_DATA_STREAM' does not exist!"
NPM says node-mavlink is BSD, but I don't see a license file, or any license text. Could you please clarify?