What
- Camera
- Camera motor
- Microphone
- Speaker
- Two motors for the wheels
- Linux onboard
- Controlled via WiFi
Why is this better than a drone
- Cheaper
- Durable
- Standard AA batteries
- More features
- Longer distances
- Longer battery life (hours vs. minutes)
Hackability
- Has WebUI left over from factory testing
- Username: AC13 Password: AC13
- Contains a hidden page that lets you dump the firmware
- Once you dump the firmware you can view the test code
- After translating chinese you can figure out how to control it
- Factory test controls happen over HTTP
- Has custom binary protocol over TCP sockets
- Command messages start with MO_O
- Camera frame messages start with MO_V
- Frames are 0 padded and have set lengths
- Blowfish encryption used on sensitive messages
Library
var rover = require('rover');
var client = rover.createClient();
client.forward(function(){
client.right(function(){
// etc.
});
});
Use async
var rover = require('rover');
var async = require('async');
var client = rover.createClient();
async.series([
client.forward.bind(client),
client.right.bind(client)
], function(){
console.log('done!');
});