lib/drone.js
function cutOff(options, callback) {
  if (typeof options === 'function') {
    callback = options;
    options = {};
  }
  this.logger('RollingSpider#cutOff');
  this.status.flying = false;
  this.writeTo(
    'fa0c',
    new Buffer([0x02, ++this.steps.fa0c & 0xFF, 0x02, 0x00, 0x04, 0x00])
    , callback);
}
function cutOff(options, callback) {
  if (typeof options === 'function') {
    callback = options;
    options = {};
  }
  this.logger('RollingSpider#cutOff');
  this.status.flying = false;
  this.writeTo(
    'fa0c',
    new Buffer([0x02, ++this.steps.fa0c & 0xFF, 0x02, 0x00, 0x04, 0x00])
    , callback);
}
function cutOff ( options , callback ) { if ( typeof options === 'function' ) { callback = options ; options = { } ; } this . logger ( 'RollingSpider#cutOff' ) ; this . status . flying = false ; this . writeTo ( 'fa0c' , new Buffer ( [ 0x02 , ++ this . steps . fa0c & 0xFF , 0x02 , 0x00 , 0x04 , 0x00 ] ) , callback ) ; }
Instructs the drone to do an emergency landing.
Instructs the drone to do an emergency landing .