In those pages you can find information about: getLatitude, getLongitude, getAltitude, getSpeed (m/s), bearing, bearingTo, distanceTo, getTime and convert.
bearingTo and distanceTo refers to the Properties: LatitudeTo and LongitudeTo.
I’ve made a test with your extension because I try to get centimeter accuracy for some applications. The number of digits provided by AI2 when you get latitude/longitude gives you an accuracy of 10 meters witch is not enought in some cases.
My problem is that using it I don’t get more digits and also no information about accuracy (this information is available in the GST NMEA message)
Do you have any idea ?
in both I obtain a value of latitude and longitude with 5 decimals and an accuracy of approximately 3 … 5 meters.
I think that the accuracy of centimeters can be obtained with Galileo satellites, but I have not used that technology.
In fact you can get something like less than one meter accuracy with the new dual frequency GNSS chipsets that you have in Samsung Snapdragon or Xiami Mi8 and +
You can also get 1cm accuracy on your smartphone if you connect the external Trimble Catalyst antenna…
Applications are endless…
@Juan_Antonio
Is there a way to get also the $GST NMEA message (location accuracy) ?
Are your extensions published on the MIT extension repository ? It’s not clear on your website witch one is the latest one.
I’ve made a test but it doen’t work. Do you seesomething wrong in my blocs ?
Thank you
Galileo’s capabilities have grown with the addition of a new High Accuracy Service, freely available worldwide to anyone with a suitably equipped receiver. Delivering horizontal accuracy down to 20 cm and vertical accuracy of 40 cm,
I am using the KIO4 location sensor in a couple of different apps. It behaves differently in the two apps. I have compared and I cannot see any difference. There is an simple and interesting work around.
Simply my KIO4 LocationChanged routine only runs every 30 to 60 seconds. It is random and it does this while driving and the app is running.
In a sister app that I wrote, albeit 1% of the total code in the big nonworking app, it works perfectly. Here is the interesting point. If I run both apps in parallel, or I run google maps in parallel the big app works just fine and with acceptable results.
I see a setting to set update rate in the default location sensor, but not in the KIO4. I tried using the dummy routine with the default location sensor and it did not help.
Is there a way force the update at the proper time, or at least more frequent.