Code Monkey home page Code Monkey logo

node-bno055's People

Contributors

adammagaluk avatar gradymorgan avatar landlessness avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

node-bno055's Issues

Question about having multiple sensors on the same i2c line

Hi,

I have a question about using multiple sensors on the same I2c line with multiplexors.
It seems that using this library, whatever mux I am connected to at the time I create the:
var bno = new BNO055({device:'/dev/i2c-1'})
is the only sensor that has ever has values available for analysis. The others all have 0's.

Has anybody run into this? Any suggestions would be greatly appreciated.
Thanks

Using Multiple I2C channels in the same program

Hi,

I am having an issue creating a bno object with /dev/i2c-1 and /dev/i2c-6 in the same program. There seems to be a memory leak when doing this. Has anybody ran into this, and encountered some kind of resolution?

ERROR: (node) warning: possible EventEmitter memory leak detected. 11 listeners added. Use emitter.setMaxListeners() to increase limit.
ERROR: Trace
at process.addListener (events.js:160:15)
at process.on.process.addListener (node.js:802:26)
at new i2c (/home/root/.node_app_slot/node_modules/node-BNO055/node_modules/i2c/lib/i2c.coffee:34:15)
at new Bno (/home/root/.node_app_slot/bno.js:20:17)
at init (/home/root/.node_app_slot/demo5.js:327:12)
at Object. (/home/root/.node_app_slot/demo5.js:919:1)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)

It looks like this defect may be related to an issue on Kelly's I2C library, but I cannot be 100% sure.

Thanks

can't install.. sorry newbie

374 verbose pkgid [email protected]
375 verbose cwd /home/pi/node-code
376 error Linux 3.18.11-v7+
377 error argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "node-bno055"
378 error node v0.12.0
379 error npm v2.5.1
380 error code ELIFECYCLE
381 error [email protected] install: node-gyp rebuild
381 error Exit status 1
382 error Failed at the [email protected] install script 'node-gyp rebuild'.
382 error This is most likely a problem with the i2c package,
382 error not with npm itself.
382 error Tell the author that this fails on your system:
382 error node-gyp rebuild
382 error You can get their info via:
382 error npm owner ls i2c
382 error There is likely additional logging output above.
383 verbose exit [ 1, true ]
384 verbose unbuild node_modules/node-bno055/node_modules/i2c

could you please give installation instructions :)

thanks in advance

Having trouble running on Intel Edison Platform

Hi, I am having some trouble with the following mysterious error that involves the i2c.node file, which is not readable.

ERROR: module.js:356
Module._extensions[extension](this, filename);
^
ERROR: Error: /home/root/.node_app_slot/node_modules/node-BNO055/node_modules/i2c/build/Release/i2c.node: cannot open shared object file: No such file or directory
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (/home/root/.node_app_slot/node_modules/node-BNO055/node_modules/i2c/lib/i2c.coffee:8:10)
at Object. (/home/root/.node_app_slot/node_modules/node-BNO055/node_modules/i2c/lib/i2c.coffee:164:4)
at Module._compile (module.js:456:26)
at Object.require.extensions..coffee (/home/root/.node_app_slot/node_modules/node-BNO055/node_modules/i2c/node_modules/coffee-script/lib/coffee-script/coffee-script.js:22:21)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)

Thanks,
Peter

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.