Remove extraneous Leap Motion config hash argument
This commit is contained in:
parent
7b9cb8eef5
commit
b8a7fab75b
|
@ -86,7 +86,7 @@ var Cylon = require('cylon');
|
|||
Cylon.robot({
|
||||
connections: [
|
||||
{ name: 'digispark', adaptor: 'digispark'},
|
||||
{ name: 'leapmotion', adaptor: 'leapmotion', port: '127.0.0.1:6437' }
|
||||
{ name: 'leapmotion', adaptor: 'leapmotion' }
|
||||
],
|
||||
|
||||
devices: [
|
||||
|
|
|
@ -3,7 +3,7 @@ var Cylon = require('../..');
|
|||
Cylon.robot({
|
||||
connections: [
|
||||
{ name: 'digispark', adaptor: 'digispark'},
|
||||
{ name: 'leapmotion', adaptor: 'leapmotion', port: '127.0.0.1:6437' }
|
||||
{ name: 'leapmotion', adaptor: 'leapmotion' }
|
||||
],
|
||||
|
||||
devices: [
|
||||
|
|
|
@ -12,7 +12,7 @@ Let's define the connections and devices:
|
|||
|
||||
connections: [
|
||||
{ name: 'digispark', adaptor: 'digispark'},
|
||||
{ name: 'leapmotion', adaptor: 'leapmotion', port: '127.0.0.1:6437' }
|
||||
{ name: 'leapmotion', adaptor: 'leapmotion' }
|
||||
],
|
||||
|
||||
devices: [
|
||||
|
|
|
@ -26,7 +26,7 @@ var handWasClosedInLastFrame = false;
|
|||
|
||||
Cylon.robot({
|
||||
connections: [
|
||||
{ name: 'leapmotion', adaptor: 'leapmotion', port: '127.0.0.1:6437' },
|
||||
{ name: 'leapmotion', adaptor: 'leapmotion' },
|
||||
{ name: 'ardrone', adaptor: 'ardrone', port: '192.168.1.1' },
|
||||
{ name: 'keyboard', adaptor: 'keyboard' }
|
||||
],
|
||||
|
|
|
@ -13,7 +13,7 @@ Now that we have Cylon imported, we can start defining our robot
|
|||
Let's define the connections and devices:
|
||||
|
||||
connections: [
|
||||
{ name: 'leapmotion', adaptor: 'leapmotion', port: '127.0.0.1:6437' },
|
||||
{ name: 'leapmotion', adaptor: 'leapmotion' },
|
||||
{ name: 'ardrone', adaptor: 'ardrone', port: '192.168.1.1' },
|
||||
{ name: 'keyboard', adaptor: 'keyboard' }
|
||||
],
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
var Cylon = require('../..');
|
||||
|
||||
Cylon.robot({
|
||||
connections: [{ name: 'leapmotion', adaptor: 'leapmotion', port: '127.0.0.1:6437' },
|
||||
connections: [{ name: 'leapmotion', adaptor: 'leapmotion' },
|
||||
{ name: 'arduino', adaptor: 'firmata', port: '/dev/ttyACM0' }],
|
||||
|
||||
devices: [{ name: 'leapmotion', driver: 'leapmotion', connection: 'leapmotion' },
|
||||
|
|
|
@ -11,7 +11,7 @@ Now that we have Cylon imported, we can start defining our robot
|
|||
Let's define the connections and devices:
|
||||
|
||||
connections: [
|
||||
{ name: 'leapmotion', adaptor: 'leapmotion', port: '127.0.0.1:6437' },
|
||||
{ name: 'leapmotion', adaptor: 'leapmotion' },
|
||||
{ name: 'arduino', adaptor: 'firmata', port: '/dev/ttyACM0' }
|
||||
],
|
||||
|
||||
|
|
Loading…
Reference in New Issue