Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial support for functionality to find connected copters
- Loading branch information
1 parent
a85a4cc
commit 95986b4
Showing
6 changed files
with
71 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,12 @@ | |||
var Cylon = require('cylon'); | |||
|
|||
Cylon.robot({ | |||
connection: { name: 'crazyflie', adaptor: 'crazyflie', port: 'radio://1/20/1MPS' }, | |||
device: {name: 'drone', driver: 'crazyflie'}, | |||
|
|||
work: function(my) { | |||
my.crazyflie.findCopters(function(copters) { | |||
Logger.info(copters); | |||
}); | |||
} | |||
}).start(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters