Sensor fusion

Discuss mobile apps for Texas Instruments products.
aragon0510
Posts: 4
Joined: 06:27, 12 Mar 2015

Sensor fusion

Postby aragon0510 » 06:38, 12 Mar 2015

Hello everyone

I am doing my sensor fusion project accelerometer + gyroscope. Right now, I am having trouble getting the orientation of the gyroscope in order to find the direction. After a lot of fooling around on the internet, I found the getOrientation() of android.hardware.SensorManager but it is in java.

So I want to ask everybody that is there any way to get that function getOrientation() and implement it in javascript ?

Thank you

User avatar
micke
Posts: 256
Joined: 20:49, 18 Nov 2013

Re: Sensor fusion

Postby micke » 13:40, 15 Mar 2015

This would be very cool to have!

aragon0510
Posts: 4
Joined: 06:27, 12 Mar 2015

Re: Sensor fusion

Postby aragon0510 » 15:37, 15 Mar 2015

Hello Micke

Do you know how to do that ? I am looking for an sensortag app that has sensor fusion but found only one and it was built using Java

User avatar
micke
Posts: 256
Joined: 20:49, 18 Nov 2013

Re: Sensor fusion

Postby micke » 14:16, 17 Mar 2015

@aragon0510 Have not worked with this, I think it is quite complex to achieve. Do you know of any code examples or tutorials that could be used as a starting point?

aragon0510
Posts: 4
Joined: 06:27, 12 Mar 2015

Re: Sensor fusion

Postby aragon0510 » 19:19, 17 Mar 2015

Micke

Sorry, I don't know anything like that, but I found a report and it seems that people used another approach to this sensor fusion, like a raw way to process the sensor data.
Now I am beginning to make my sensor fusion app with android studio and BLE stuff. Are you familiar with this BLE stuff in java because I am in need of some help ?

User avatar
micke
Posts: 256
Joined: 20:49, 18 Nov 2013

Re: Sensor fusion

Postby micke » 10:30, 08 May 2015

Hi, perhaps the source for the Cordova BLE plugin could be of some help?

https://github.com/evothings/cordova-bl ... d/BLE.java

Sounds very cool with your sensor fusion app, please post about it if you feel like it!

Best, Micke

adirtyshame
Posts: 1
Joined: 14:49, 06 Sep 2015

Re: Sensor fusion

Postby adirtyshame » 14:53, 06 Sep 2015

aragon0510 wrote:Hello everyone

I am doing my sensor fusion project accelerometer + gyroscope. Right now, I am having trouble getting the orientation of the gyroscope in order to find the direction. After a lot of fooling around on the internet, I found the getOrientation() of android.hardware.SensorManager but it is in java.

So I want to ask everybody that is there any way to get that function getOrientation() and implement it in javascript ?

Thank you


Hi,

i don't know if it is still interesting for you, but i made a cordova plugin using sensor fusion.
https://github.com/adirtyshame/cordova- ... sor-fusion

aragon0510
Posts: 4
Joined: 06:27, 12 Mar 2015

Re: Sensor fusion

Postby aragon0510 » 21:56, 06 Sep 2015

adirtyshame wrote:
aragon0510 wrote:Hello everyone

I am doing my sensor fusion project accelerometer + gyroscope. Right now, I am having trouble getting the orientation of the gyroscope in order to find the direction. After a lot of fooling around on the internet, I found the getOrientation() of android.hardware.SensorManager but it is in java.

So I want to ask everybody that is there any way to get that function getOrientation() and implement it in javascript ?

Thank you


Hi,

i don't know if it is still interesting for you, but i made a cordova plugin using sensor fusion.
https://github.com/adirtyshame/cordova- ... sor-fusion

thank you
I have finished this using native android sdk but I will check it out. It's always good to try new thing :D

dbthomason
Posts: 1
Joined: 18:00, 22 Feb 2016

Re: Sensor fusion

Postby dbthomason » 18:00, 06 Apr 2016

Removed
Last edited by dbthomason on 15:34, 18 Apr 2016, edited 1 time in total.

alex
Posts: 92
Joined: 00:59, 19 Nov 2013

Re: Sensor fusion

Postby alex » 19:50, 06 Apr 2016

Googled fast as I haven't thought of this fairly straight-forward question, found this, might be helpful!

http://electronics.stackexchange.com/qu ... to-compass

lax


Return to “Texas Instruments”

Who is online

Users browsing this forum: No registered users and 5 guests