hybridgroup / cylon-sphero-ble

Cylon.js driver for the Sphero BB-8 & Sphero Ollie robots
http://cylonjs.com
Other
27 stars 7 forks source link

Update driver.js #2

Closed peterainbow closed 9 years ago

peterainbow commented 9 years ago

this will allow a user to put ollie into devmode without needing another device

in sample app

work: function (my) {
    console.log("start");
    my.ollie.devModeOn(function (err, data) {
         ... now all commands can be run
deadprogram commented 9 years ago

Great stuff @peterainbow thank you for this!

Seems to me, once on Ollie is in dev mode, it stays that way, you only need to do once. But I could be wrong. In any case, thanks for the PR.

peterainbow commented 9 years ago

Yep it stays that way, although might be dropped on connection close

Currently trying to get streaming data working that way can have proper control

The Ollie is pretty hard to drive and doesn’t work well on carpets, well at least mine doesn’t

From: Ron Evans [mailto:notifications@github.com] Sent: 30 December 2014 20:45 To: hybridgroup/cylon-ollie Cc: peterainbow Subject: Re: [cylon-ollie] Update driver.js (#2)

Great stuff @peterainbow https://github.com/peterainbow thank you for this!

Seems to me, once on Ollie is in dev mode, it stays that way, you only need to do once. But I could be wrong. In any case, thanks for the PR.

— Reply to this email directly or view it on GitHub https://github.com/hybridgroup/cylon-ollie/pull/2#issuecomment-68396369 . https://github.com/notifications/beacon/ADmCwFm0kQdZBdiLlJerpnuR8OLaPNBwks5ncwZegaJpZM4DNPdl.gif