Code Monkey home page Code Monkey logo

spheron's People

Contributors

alchemycs avatar caleboller avatar deadprogram avatar edgarsilva avatar loadedsith avatar stewart avatar zankich avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

spheron's Issues

Mac OSX Paring

I think you can talk about possible paring issues on Mac OS X ( Have to remove pairing ... Reset Sphero and Pair again ... )

masks.dataStreaming

I see this part of the code in lib/commands/index.js:

// TODO : Create a data streaming mask for use with commands.api.setDataStreaming()
masks.dataStreaming = {

};
masks.dataStreaming2 = {

};

What type of objects / helper functions were you thinking of for composing data streaming masks? I'm probably going to make something simple for my project, like

masks.dataStreaming = {
    ACC_X_RAW: 0x8000000,
    ACC_Y_RAW: 0x4000000,
    etc
};

If that's what you were thinking of doing, I'd be happy to submit that addition. I'm using the data streaming for a course project / graduate research.

How to get any results back

This is a great little project and it's been working well for setting values: changing colors, rolling, etc. But how do I get back values? For example, can you give any example of how getRGB would be used? Is there some callback needed?

Thanks!

REPL Usage

hello,

really a cool lib - thanks for the good work.

I had only on problem, i wanted to use REPL but no command worked.
can you give one or two examples how to use REPL with you lib
for example to change the RGB color.

thanks,
alex

Spheron Port naming, Mac OSX

On your documentation you talk about :

'/dev/cu.Sphero-ORW' for the Spheron port

But the port depend of your real Sphero name

For example mine is Sphero-ORW and the spheroPort is :
var spheroPort = '/dev/cu.Sphero-ORW-AMP-SPP';

To find the right name you can try :

ls /dev | grep cu.Sphero
in Terminal

Thanks for your great work !

Germain L.

Strange Error

Hi, I'm Jacen Sherman. I'm one of the MSPs working on the sphero pilot program. I have recently been having trouble simply adding sphero.js to my project.

I am simply running the command (on windows 8):
npm install --save sphero

About a week ago this worked fine for me. But now I am getting a very long error.

Sorry for the length but here is the whole stream...

npm WARN package.json [email protected] No description
npm WARN package.json [email protected] No repository field.
npm WARN package.json [email protected] No README data
npm http GET https://registry.npmjs.org/spheron
npm http 304 https://registry.npmjs.org/spheron

[email protected] install C:\Users\Jacen\Google Drive\Work\Microsoft\Tap Of War
\Code\Tap Of War\node_modules\spheron\node_modules\serialport
node-gyp rebuild

C:\Users\Jacen\Google Drive\Work\Microsoft\Tap Of War\Code\Tap Of War\node_modul
es\spheron\node_modules\serialport>node "C:\Program Files\nodejs\node_modules\np
m\bin\node-gyp-bin....\node_modules\node-gyp\bin\node-gyp.js" rebuild
gyp ERR! configure error
gyp ERR! stack Error: spawn ENOENT
gyp ERR! stack at errnoException (child_process.js:998:11)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:789:
34)
gyp ERR! System Windows_NT 6.2.9200
gyp ERR! command "node" "C:\Program Files\nodejs\node_modules\npm\node_modu
les\node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\Jacen\Google Drive\Work\Microsoft\Tap Of War\Code\Tap Of W
ar\node_modules\spheron\node_modules\serialport
gyp ERR! node -v v0.10.28
gyp ERR! node-gyp -v v0.13.0
gyp ERR! not ok
npm ERR! [email protected] install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is most likely a problem with the serialport package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls serialport
npm ERR! There is likely additional logging output above.

npm ERR! System Windows_NT 6.2.9200
npm ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nod
ejs\node_modules\npm\bin\npm-cli.js" "install" "spheron"
npm ERR! cwd C:\Users\Jacen\Google Drive\Work\Microsoft\Tap Of War\Code\Tap Of W
ar
npm ERR! node -v v0.10.28
npm ERR! npm -v 1.4.9
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! C:\Users\Jacen\Google Drive\Work\Microsoft\Tap Of War\Code\Tap Of W
ar\npm-debug.log
npm ERR! not ok code 0

Able to get diagnostics?

On page 19 of the Sphero API documentation it talks about being able to retrieve Level 1 diagnostics. I would like to get these for my app so that I can gain current statistics of the sphere. I don't see anything in the sourcecode for this project that would allow me to do so.

Really what I am trying to gather is how much it has rolled, temperature, and other statistics.

Let me know if this is possible please

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.