Open rinigus opened 4 years ago
Hi, currently I only released the app here (release tab) for some googler ;-), or my personal usage. I made this app because the legacy compass plugin doesn't work with new mobile device. This one works with old and new, as I use a Xperia XA2 and a Xperia 10. Also this was to improve the generic compass for my app "Osmin". As I am very lazy , I forked the app "orienterring compass" from Jussi Vuorisalmi which has a very good design; I fixed some issues to work on HiDPI screen and added the generic compass with a wrapper made by me (this one!!!). Just for the fun. To release in Jolla store , I should change the name (duplicate with an existing) and I have to ask the permission from @vuorisalmi https://github.com/vuorisalmi to release its contributions with mine ... Could be possible ...
I am working now on getting it incorporated on device level as a generic compass: https://git.sailfishos.org/rinigus/qtsensors/tree/generic_compass
That way it will work in any compass on system level. Already now works on my device, would have to add some checks for devices without gyroscope - as I can see you have in your code.
Great ! I haven't found a way to check a valid gyroscope sensor exists in the device. If the gyroscope is unable to provide valid metrics then the fused orientation will be blurred. So if no gyro exists we have to disable the fusing with its metrics. I also use the generic compass in my android (same issue for the new device). And none of my devices have a gyro. I can't check for this case.
Gyro has to be disabled in the device configuration for your check to work properly. Settings for it are in /etc/xdg/QtProject/Sensors.conf
and they just have to be correct for device adaptation. I have device with gyro and it works as expected.
Hello, Feel free to re-use the old code from the "orienteering compass" application and release your version to the Jolla store. Unfortunately, I do not have any other Jolla device except for the old original Jolla phone, so I have no capability to test updates needed for HiDPI screens and also I seem not to have any time to further Develop the application for Jolla. I am happy if the old code is useful and also I am happy that you like the design. :-)
Hi,
while troubleshooting Xperia Tama compass, I landed on this page as you have incorporated genericcompass plugin. As magnetometer and accelometer are working well on that device, as a result, your compass shows correct data as well.
Do you have it released at OpenRepos or Jolla Store? So, users could use it?
Cheers,
Rinigus