Skip to main content

WheelTickInput Struct

Differential wheel encoder tick input (MessageType::WHEEL_TICK_INPUT, version 1). More...

Declaration

struct point_one::fusion_engine::messages::WheelTickInput { ... }

Included Headers

Base struct

structMessagePayload

The base class for all message payloads. More...

Public Member Attributes Index

MeasurementDetailsdetails

Measurement timestamp and additional information, if available. More...

uint32_tfront_left_wheel_ticks = 0

The front left wheel ticks. More...

uint32_tfront_right_wheel_ticks = 0

The front right wheel ticks. More...

GearTypegear = GearType::UNKNOWN

The transmission gear currently in use, or direction of motion, if available. More...

uint32_trear_left_wheel_ticks = 0

The rear left wheel ticks. More...

uint32_trear_right_wheel_ticks = 0

The rear right wheel ticks. More...

Public Static Attributes Index

static constexpr MessageTypeMESSAGE_TYPE = MessageType::WHEEL_TICK_INPUT
static constexpr uint8_tMESSAGE_VERSION = 0

Description

Differential wheel encoder tick input (MessageType::WHEEL_TICK_INPUT, version 1).

This message is an input to the device, used to convey the wheel encoder tick counts for one or more wheels. The number and type of wheels expected, and the interpretation of the tick count values, varies by vehicle.

To use wheel encoder data, you must first configure the device by issuing a SetConfigMessage message containing a WheelConfig payload describing the vehicle sensor configuration (tick counts signed/unsigned, etc.).

Some platforms may have an additional signal used to indicate direction of motion, have direction or gear information available from a vehicle CAN bus, etc. If direction/gear information is available, it may be provided in the gear field.

See also RawWheelTickOutput for measurement output.

Definition at line 824 of file measurements.h.

Public Member Attributes

details

MeasurementDetails point_one::fusion_engine::messages::WheelTickInput::details

Measurement timestamp and additional information, if available.

See MeasurementDetails for details.

Definition at line 832 of file measurements.h.

front_left_wheel_ticks

uint32_t point_one::fusion_engine::messages::WheelTickInput::front_left_wheel_ticks = 0

The front left wheel ticks.

The interpretation of these ticks is defined outside of this message.

Definition at line 838 of file measurements.h.

838 uint32_t front_left_wheel_ticks = 0;

front_right_wheel_ticks

uint32_t point_one::fusion_engine::messages::WheelTickInput::front_right_wheel_ticks = 0

The front right wheel ticks.

The interpretation of these ticks is defined outside of this message.

Definition at line 844 of file measurements.h.

844 uint32_t front_right_wheel_ticks = 0;

gear

GearType point_one::fusion_engine::messages::WheelTickInput::gear = GearType::UNKNOWN

The transmission gear currently in use, or direction of motion, if available.

Set to GearType::FORWARD or GearType::REVERSE where vehicle direction information is available externally.

Definition at line 865 of file measurements.h.

865 GearType gear = GearType::UNKNOWN;

rear_left_wheel_ticks

uint32_t point_one::fusion_engine::messages::WheelTickInput::rear_left_wheel_ticks = 0

The rear left wheel ticks.

The interpretation of these ticks is defined outside of this message.

Definition at line 850 of file measurements.h.

850 uint32_t rear_left_wheel_ticks = 0;

rear_right_wheel_ticks

uint32_t point_one::fusion_engine::messages::WheelTickInput::rear_right_wheel_ticks = 0

The rear right wheel ticks.

The interpretation of these ticks is defined outside of this message.

Definition at line 856 of file measurements.h.

856 uint32_t rear_right_wheel_ticks = 0;

Public Static Attributes

MESSAGE_TYPE

constexpr MessageType point_one::fusion_engine::messages::WheelTickInput::MESSAGE_TYPE = MessageType::WHEEL_TICK_INPUT
constexpr static

Definition at line 825 of file measurements.h.

825 static constexpr MessageType MESSAGE_TYPE = MessageType::WHEEL_TICK_INPUT;

MESSAGE_VERSION

constexpr uint8_t point_one::fusion_engine::messages::WheelTickInput::MESSAGE_VERSION = 0
constexpr static

Definition at line 826 of file measurements.h.

826 static constexpr uint8_t MESSAGE_VERSION = 0;

The documentation for this struct was generated from the following file:


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.