lib/drone.js
function wheelOn(options, callback) {
  if (typeof options === 'function') {
    callback = options;
    options = {};
  }
  this.logger('RollingSpider#wheelOn');
  this.writeTo(
    'fa0b',
    new Buffer([0x02, ++this.steps.fa0b & 0xFF, 0x02, 0x01, 0x02, 0x00, 0x01])
  );

  if (callback) {
    callback();
  }
}
function wheelOn(options, callback) {
  if (typeof options === 'function') {
    callback = options;
    options = {};
  }
  this.logger('RollingSpider#wheelOn');
  this.writeTo(
    'fa0b',
    new Buffer([0x02, ++this.steps.fa0b & 0xFF, 0x02, 0x01, 0x02, 0x00, 0x01])
  );

  if (callback) {
    callback();
  }
}
function wheelOn ( options , callback ) { if ( typeof options === 'function' ) { callback = options ; options = { } ; } this . logger ( 'RollingSpider#wheelOn' ) ; this . writeTo ( 'fa0b' , new Buffer ( [ 0x02 , ++ this . steps . fa0b & 0xFF , 0x02 , 0x01 , 0x02 , 0x00 , 0x01 ] ) ) ; if ( callback ) { callback ( ) ; } }
Configures the drone to fly in 'wheel on' or protected mode.
Configures the drone to fly in wheel on or protected mode .