This repository was archived by the owner on Jan 28, 2021. It is now read-only.
This repository was archived by the owner on Jan 28, 2021. It is now read-only.
"Survey-in" time truncated #118
Closed
Description
Hej,
I am currently working on a ZED-F9P project and would like to use the survey-in mode.
Hoping that this is the most appropriate place for my contribution, I will quickly explain the issue:
The library limits the time to uint16 with following comment:
//svinMinDur is U4 (uint32_t) but we'll only use a uint16_t (waiting more than 65535 seconds seems excessive!)
payloadCfg[24] = observationTime & 0xFF; //svinMinDur in seconds
payloadCfg[25] = observationTime >> 8; //svinMinDur in seconds
payloadCfg[26] = 0; //Truncate to 16 bits
payloadCfg[27] = 0; //Truncate to 16 bits
However, when reading https://portal.u-blox.com/s/question/0D52p00008nvqoTCAQ/f9p-base-surveyin-position-accuracy it seems to actually make sense to have longer observation times if you want to get more precision. I have copied their graph here below to reflect this. 65000s is around 18h.
Is there an important reason to truncate the survey-in time to uint16? Else it might be a good idea to include the additional 16 bits.
What do you think?
Metadata
Metadata
Assignees
Labels
No labels