Is it possible to change the GNSS measurement cycle of the Presense?

Asked 2 years ago, Updated 2 years ago, 189 views

Creating a GNSS tracker using Sony Spresense

The document states that the GNSS acquisition period is 1 Hz, but is it possible to increase the period to 10 Hz?

Also, if 10 Hz is not available at this time, do you have any plans to proceed with the development so that GNSS can be measured at 10 Hz in the future?
Thank you for your cooperation.

spresense gps

2022-09-29 22:17

1 Answers

You can change the positioning cycle with ioctl's CXD56_GNSS_ICTL_SET_OPE_MODE.

/*Set the GNSS operation interval.*/

  set_opemode.mode=1; /* Operation mode: Normal(default).*/
  set_opemode.cycle=1000; /* Position notify cycle(msec step).*/

  ret=ioctl(fd, CXD56_GNSS_ICTL_SET_OPE_MODE, (uint32_t)&set_opemode);

The default is cycle=1000 (1Hz), but you can change the positioning cycle by changing this value.

I also made my own tracker with Spresense, but it seems to be working with the best effort.
If you specify 500(2Hz), 250(4Hz), and 200(5Hz), you can obtain positioning values in that period.
(When 4Hz and 5Hz are specified, the drift trajectory may be noticeable during high speed movement.)

If you try specifying 100 (10Hz) and look at the period, the interval is 200 msec, so
As a result, I feel that 5Hz is the limit.


2022-09-29 22:17

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.