Ticket Created
over 4 years ago

WERETECH-9909

Unsupported constellation option (CONSTELLATION_GLONASS)

I use the latest Garmin SDK 3.2.3 on a Windows 10 computer and get following error when using Position.CONSTELLATION_GLONASS:

Error: Unhandled Exception

Exception: Unsupported constellation option

Following sequence leads to the error:

if (Sensor has :enableSensorType) {
  // Enable GPS with continuous location updates using GPS, GLONASS and GALILEO
  Position.enableLocationEvents({
    :acquisitionType => Position.LOCATION_CONTINUOUS,
    :constellations => [ Position.CONSTELLATION_GPS, Position.CONSTELLATION_GLONASS, Position.CONSTELLATION_GALILEO ]
  },
  method(:onGpsSensorInfoUpdate)
);

Without using GLONASS as shown in following sequence it works fine:

if (Sensor has :enableSensorType) {
  // Enable GPS with continuous location updates using GPS, GLONASS and GALILEO
  Position.enableLocationEvents({
    :acquisitionType => Position.LOCATION_CONTINUOUS,
    :constellations => [ Position.CONSTELLATION_GPS, Position.CONSTELLATION_GALILEO ]
  },
  method(:onGpsSensorInfoUpdate)
);

Parents
  • The problem is that the combinations that are allowed can vary across devices. It could potentially vary across firmware versions on the same device, but this isn't very likely.

    We could clarify by listing the known valid combinations, but I don't see any way to generate the list dynamically, which means that the list would have to be manually maintained.

Comment
  • The problem is that the combinations that are allowed can vary across devices. It could potentially vary across firmware versions on the same device, but this isn't very likely.

    We could clarify by listing the known valid combinations, but I don't see any way to generate the list dynamically, which means that the list would have to be manually maintained.

Children
No Data