Skip to main content

RawVehicleSpeedOutput Struct

Raw (uncorrected) vehicle body speed measurement output (MessageType::RAW_VEHICLE_SPEED_OUTPUT, version 1). More...

Declaration

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

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...

uint8_tflags = 0x0

A bitmask of flags associated with the measurement data. More...

GearTypegear = GearType::UNKNOWN

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

int32_tvehicle_speed = INT32_MAX

The current vehicle speed estimate (in m/s * 2^-10). More...

Public Static Attributes Index

static constexpr uint8_tFLAG_SIGNED = 0x1

Set this flag if the measured wheel speeds are signed (positive forward, negative reverse). More...

static constexpr MessageTypeMESSAGE_TYPE = ...
static constexpr uint8_tMESSAGE_VERSION = 0

Description

Raw (uncorrected) vehicle body speed measurement output (MessageType::RAW_VEHICLE_SPEED_OUTPUT, version 1).

This message is an output from the device that contains the along-track speed of the vehicle (forward/backward). These measurements come directly from the sensor, and do not have any corrections or calibration applied.

See VehicleSpeedOutput for more details. See also VehicleSpeedInput.

Definition at line 760 of file measurements.h.

Public Member Attributes

details

MeasurementDetails point_one::fusion_engine::messages::RawVehicleSpeedOutput::details

Measurement timestamp and additional information, if available.

See MeasurementDetails for details.

Definition at line 776 of file measurements.h.

flags

uint8_t point_one::fusion_engine::messages::RawVehicleSpeedOutput::flags = 0x0

A bitmask of flags associated with the measurement data.

Definition at line 794 of file measurements.h.

794 uint8_t flags = 0x0;

gear

GearType point_one::fusion_engine::messages::RawVehicleSpeedOutput::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 791 of file measurements.h.

791 GearType gear = GearType::UNKNOWN;

vehicle_speed

int32_t point_one::fusion_engine::messages::RawVehicleSpeedOutput::vehicle_speed = INT32_MAX

The current vehicle speed estimate (in m/s * 2^-10).

Set to 0x7FFFFFFF if not available.

Definition at line 782 of file measurements.h.

782 int32_t vehicle_speed = INT32_MAX;

Public Static Attributes

FLAG_SIGNED

constexpr uint8_t point_one::fusion_engine::messages::RawVehicleSpeedOutput::FLAG_SIGNED = 0x1
constexpr static

Set this flag if the measured wheel speeds are signed (positive forward, negative reverse).

Otherwise, if the values are assumed to be unsigned (positive in both directions).

Definition at line 770 of file measurements.h.

770 static constexpr uint8_t FLAG_SIGNED = 0x1;

MESSAGE_TYPE

constexpr MessageType point_one::fusion_engine::messages::RawVehicleSpeedOutput::MESSAGE_TYPE
constexpr static
Initialiser

Definition at line 761 of file measurements.h.

761 static constexpr MessageType MESSAGE_TYPE =

MESSAGE_VERSION

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

Definition at line 763 of file measurements.h.

763 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.