Hi, i a trying to control a roomba create 2 through serial port, the connexion and reading sensors work, but motors control don't.
var robot = require("create-oi");
robot.init({ serialport: "/dev/ttyUSB0", version: 2 });
robot.on('ready', function() {
console.log('Ready');
this.rotate(100); // This don't
});
robot.on('bump', function(bumpEvent) {
console.log(bumpEvent); // This work
});
Any clue how to make it move ?