landlessness / node-bno055 Goto Github PK
View Code? Open in Web Editor NEWNode library for the Bosch Sensortec BNO055, an intelligent 9-axis “Absolute Orientation Sensor”, which includes sensors and sensor fusion in a single package.
Node library for the Bosch Sensortec BNO055, an intelligent 9-axis “Absolute Orientation Sensor”, which includes sensors and sensor fusion in a single package.
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
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
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
The repo was probably deleted, this module node-BNO055 doesn't install any more.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.