Attitude (1 Hz, 8 byte)

Note

A good attitude output requires the use of automotive sensor fusion.

Configuration file fields

This section is autogenerated from the Rule Schema.

GNSS attitude (1000 ms) output.attitude

State output.attitude.state

Type

Default

Options

integer

1

Disable: 0 Enable: 1

ID Format output.attitude.id_format

ID format of the message

Type

Default

Options

integer

0

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

Message ID (hex) output.attitude.id

ID of the message in hex. Example: 00435354.

Type

Default

string

01

Trigger method output.attitude.trigger

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

Type

Default

Options

integer

0

Push: 0 Poll: 1


Attitude interpretation

Heading

The heading output is 0° to 360° degrees counterclockwise from north, as illustrated below.

../../../_images/attitude_heading.svg

Vehicle heading

If the vehicle is headed east (heading in direction towards east), then the heading angle will be 90°.

Note

If the vehicle is headed straight north, the heading angle can underflow or overflow (from 0 to 360 and 360 to 0), resulting in discontinuous output value.

Pitch

The pitch output is -90° to 90°. The angle is zero when the vehicle is placed on a horizontal surface, positive when going up-hill and negative going down-hill.

Roll

The roll output is -180° to 180°. The angle is zero when the vehicle is placed on a horizontal surface, positive when leaning right and negative leaning left (as seen from the drivers perspective).

Frame layout

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

The altitude frame contains vehicle roll, pitch and heading information with accuracy.

AttitudeValid

The AttitudeValid signal can take one of the following values:

  • 0: Invalid

  • 1: Valid