firmware icon indicating copy to clipboard operation
firmware copied to clipboard

Set Fixed Position changed back to GPS Postion after some time[Bug]:

Open Bergstern opened this issue 3 years ago • 5 comments

Category

Other

Hardware

Rak4631

Firmware Version

1.3.40.e87ecc2-d

Description

When set a fixed position with the command "meshtastic --setlat 50 --setlon 50" the cli confirmed the changes and at the meshtastic info there are the right coords. After a while the coords. jumped back to the gps coordinates of the current position of the node. "hasGps": is at true, should be at false.

Relevant log output

No response

Bergstern avatar Sep 08 '22 15:09 Bergstern

hasGPS indicates that there is a hardware GPS, disabling it does not flip this boolean

garthvh avatar Sep 11 '22 14:09 garthvh

You also need to disable GPS for this to work, as "meshtastic --setlat 50 --setlon 50" just adds a regular position and fixed position uses the last set position, if gps is on that position will be updated based on the GPS settings.

garthvh avatar Sep 11 '22 14:09 garthvh

Screenshot_2022-09-10-15-22-28-89_24570ffaa6dee6a40011f001254fdfdb__01.jpg

Bergstern avatar Sep 11 '22 18:09 Bergstern

Thats displaed at the debug from the android software. Gps already is disabled. Thats reason i think its a bug. If i set gps at disabled and set a fixed position the gps should turn off?

Bergstern avatar Sep 11 '22 18:09 Bergstern

yeah seems like a bug, I think this feature is mostly used to add location when a device has a gps, but it seems like it should use the fixed location and turn off the gps if the gps is disabled and fixed position is set. @thebentern seem right?

garthvh avatar Sep 11 '22 20:09 garthvh

GPS won't turn off until after next reboot if it is set to false. @Bergstern can you double check these settings, then reboot the device and set a fixed position? that should not change any more.

caveman99 avatar Oct 04 '22 13:10 caveman99

@caveman99 i cant test it for now because i dismount the gps module. And the rak isnt at home at the moment. Sry

Bergstern avatar Oct 09 '22 07:10 Bergstern

closing for now cause i can't reproduce. Please reopen if still a problem.

caveman99 avatar Oct 12 '22 11:10 caveman99