Speed (1 Hz, 5 byte)

Configuration file fields

This section is autogenerated from the Rule Schema.

GNSS speed (1000 ms) output.speed

State output.speed.state

Type

Default

Options

integer

1

Disable: 0 Enable: 1

ID Format output.speed.id_format

ID format of the message

Type

Default

Options

integer

0

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

Message ID (hex) output.speed.id

ID of the message in hex. Example: 00435354.

Type

Default

string

01

Trigger method output.speed.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 speed frame contains the speed of the vehicle.

Name

Bitpos

Length

Factor

Offset

Min

Max

Unit

SpeedValid

0

1

1

0

0

1

Speed

1

20

0.001

0

0

1048.575

m/s

SpeedAccuracy

21

19

0.001

0

0

524.287

m/s

SpeedValid

The SpeedValid signal can take one of the following values:

  • 0: Invalid

  • 1: Valid

Decoding example

Raw speed frame payload:

  • Hex: 61EA001900 (byte 0 to the left)

  • Hex reversed: 001900EA61 (byte 0 to the right)

  • Bin: 0000000000011001000 00000111010100110000 1 (bit 0 to the right)

SpeedAccuracy(19)

Speed(20)

SpeedValid(1)

Raw (bin)

0000000000011001000

00000111010100110000

1

Raw (dec)

200

30000

1

Scaled

0.2

30

1

Offset

0.2

30

1

The speed of the vehicle is 108 km/h (30 m/s) with an accuracy of 0.72 km/h (0.2 m/s).