Skip to content

FakeGPS notes

Mraanderson edited this page Nov 29, 2024 · 1 revision

If no GPS hardware is present then a "Fake GPS" or static set of location coordinates can be set.

From a terminal connection to the HBG3 use the setting:

fakegps xx.xxxxxx xx.xxxxxx

get all will then show the set variables.

I used set gps.location.lat and gps.location.lng individually but didn't see gps.location.force change so tried to populate it thinking the coordinates would be volatile. As the 'force' variable name changed since I first set it threw me.

Fakegps 50.000000 -2.000000 changes to N 49.99998 W 2.99998

Get all shows a dd.dddddd setting but the OLED shows dd.ddddd (less a digit, and different value).

Should the format be DD or DMS? https://www.gps-coordinates.net/