Position (1 Hz, 8 byte)

Configuration file fields

This section is autogenerated from the Rule Schema.

GNSS position (1000 ms) output.position

State output.position.state

Type

Default

Options

integer

1

Disable: 0 Enable: 1

ID Format output.position.id_format

ID format of the message

Type

Default

Options

integer

0

Standard (11-bit): 0 Extended (29-bit): 1

Message ID (hex) output.position.id

ID of the message in hex. Example: 00435354.

Type

Default

string

01

Trigger method output.position.trigger

Transmission trigger method. Push: Signal is periodically transmitted. Poll: Signal is transmitted on request

Type

Default

Options

integer

0

Push: 0 Poll: 1


Frame layout

Note

The frame layout is defined in the CANmod.gps DBC file

The position frame contains position information.

Name

Bitpos

Length

Factor

Offset

Min

Max

Unit

PositionValid

0

1

1

0

0

1

Latitude

1

28

1e-06

-90

-90

90

°

Longitude

29

29

1e-06

-180

-180

180

°

PositionAccuracy

58

6

1

0

0

63

m

PositionValid

The PositionValid signal can take one of the following values:

  • 0: Invalid

  • 1: Valid

Decoding example

Raw position frame payload:

  • Hex: 1B5C6CD169CC6A29 (byte 0 to the left)

  • Hex reversed: 296ACC69D16C5C1B (byte 0 to the right)

  • Bin: 001010 01011010101100110001101001110 1000101101100010111000001101 1 (bit 0 to the right)

PositionAccuracy(6)

Longitude(29)

Latitude(28)

PositionValid(1)

Raw (bin)

001010

01011010101100110001101001110

1000101101100010111000001101

1

Raw (dec)

10

190210894

146157069

1

Scaled

10

190.210894

146.157069

1

Offset

10

10.210894

56.157069

1

The position is 56.157069,10.210894 (Aarhus, Denmark) with a current accuracy of 10 m.