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
Sensor fusion
-
- Posts: 4
- Joined: 06:27, 12 Mar 2015
Re: Sensor fusion
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
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
Re: Sensor fusion
@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?
-
- Posts: 4
- Joined: 06:27, 12 Mar 2015
Re: Sensor fusion
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 ?
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 ?
Re: Sensor fusion
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
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
-
- Posts: 1
- Joined: 14:49, 06 Sep 2015
Re: Sensor fusion
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
-
- Posts: 4
- Joined: 06:27, 12 Mar 2015
Re: Sensor fusion
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
-
- Posts: 1
- Joined: 18:00, 22 Feb 2016
Re: Sensor fusion
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
http://electronics.stackexchange.com/qu ... to-compass
lax
Who is online
Users browsing this forum: No registered users and 2 guests