Go to the documentation of this file.
12 namespace fusion_engine {
70 return "Timestamped on Reception";
72 return "Sender System Time";
76 return "Unrecognized";
84 stream <<
to_string(val) <<
" (" << (int)val <<
")";
133 uint8_t reserved[3] = {0};
227 return "Unrecognized";
235 stream <<
to_string(val) <<
" (" << (int)val <<
")";
290 uint8_t reserved[2] = {0};
334 uint8_t reserved[2] = {0};
396 uint8_t reserved[3] = {0};
441 uint8_t reserved[3] = {0};
466 uint8_t reserved[3] = {0};
static constexpr MessageType MESSAGE_TYPE
@ GPS_TIME
Message timestamped in GPS time, referenced to 1980/1/6.
SystemTimeSource
The source of a point_one::fusion_engine::messages::Timestamp used to represent the time of applicabi...
static constexpr uint8_t MESSAGE_VERSION
static constexpr uint8_t MESSAGE_VERSION
static constexpr MessageType MESSAGE_TYPE
MessageType
Identifiers for the defined output message types.
Library portability helper definitions.
@ INVALID
Timestamp not valid.
SolutionType
Navigation solution type definitions.
MeasurementTimestamps timestamps
Measurement timestamps, if available.
SystemTimeSource measurement_time_source
The source for measurement_time.
GearType gear
The transmission gear currently in use, or direction of motion, if available.
Differential wheel speed measurement (MessageType::WHEEL_SPEED_MEASUREMENT, version 1....
static constexpr MessageType MESSAGE_TYPE
@ TIMESTAMPED_ON_RECEPTION
Message timestamped in system time, generated when received by the device.
@ VEHICLE_TICK_MEASUREMENT
VehicleTickMeasurement
@ VEHICLE_SPEED_MEASUREMENT
VehicleSpeedMeasurement
The time of applicability for an incoming sensor measurement.
double accel_std_mps2[3]
Corrected vehicle x/y/z acceleration standard deviation (in meters/second^2), resolved in the body fr...
static constexpr MessageType MESSAGE_TYPE
@ NEUTRAL
The vehicle is in neutral.
float heading_true_north_deg
The heading angle (in degrees) with respect to true north, pointing from the primary antenna to the s...
MeasurementTimestamps timestamps
Measurement timestamps, if available.
Differential wheel encoder tick measurement (MessageType::WHEEL_TICK_MEASUREMENT, version 1....
float vehicle_speed_mps
The current vehicle speed estimate (in m/s).
The base class for all message payloads.
IMU sensor measurement data (MessageType::IMU_MEASUREMENT, version 1.0).
The heading angle (in degrees) with respect to true north, pointing from the primary antenna to the s...
@ IMU_MEASUREMENT
IMUMeasurement
@ SENDER_SYSTEM_TIME
Message timestamp was generated from a monotonic clock of an external system.
@ WHEEL_SPEED_MEASUREMENT
WheelSpeedMeasurement
@ REVERSE
The vehicle is in reverse.
@ Invalid
Invalid, no position available.
double gyro_rps[3]
Corrected vehicle x/y/z rate of rotation (in radians/second), resolved in the body frame.
GNSS signal and frequency type definitions.
Timestamp p1_time
The P1 time corresponding with the measurement time of applicability, if available.
MeasurementTimestamps timestamps
Measurement timestamps, if available.
static constexpr uint8_t MESSAGE_VERSION
static constexpr uint8_t MESSAGE_VERSION
Timestamp p1_time
The time of the message, in P1 time (beginning at power-on).
GearType gear
The transmission gear currently in use, or direction of motion, if available.
float front_left_speed_mps
The front left wheel speed (in m/s).
P1_CONSTEXPR_FUNC const char * to_string(ConfigType type)
Get a human-friendly string name for the specified ConfigType.
SolutionType solution_type
The type of this position solution.
float front_right_speed_mps
The front right wheel speed (in m/s).
uint32_t rear_right_wheel_ticks
The rear right wheel ticks.
GearType
The current transmission gear used by the vehicle.
GearType gear
The transmission gear currently in use, or direction of motion, if available.
static constexpr MessageType MESSAGE_TYPE
float position_std_enu_m[3]
The position standard deviation (in meters), resolved with respect to the local ENU tangent plane: ea...
Timestamp measurement_time
The measurement time of applicability, if available, in a user-specified time base.
float rear_right_speed_mps
The rear right wheel speed (in m/s).
uint32_t tick_count
The current encoder tick count.
float rear_left_speed_mps
The rear left wheel speed (in m/s).
static constexpr MessageType MESSAGE_TYPE
@ WHEEL_TICK_MEASUREMENT
WheelTickMeasurement
#define P1_CONSTEXPR_FUNC
static constexpr uint8_t MESSAGE_VERSION
bool is_signed
true if the wheel speeds are signed (positive forward, negative reverse), or false if the values are ...
float relative_position_enu_m[3]
Position is measured with respect to the primary antenna as follows:
MeasurementTimestamps timestamps
Measurement timestamps, if available.
Singular wheel encoder tick measurement, representing vehicle body speed (MessageType::VEHICLE_TICK_M...
uint32_t front_left_wheel_ticks
The front left wheel ticks.
Vehicle body speed measurement (MessageType::VEHICLE_SPEED_MEASUREMENT, version 1....
float baseline_distance_m
The estimated distance between primary and secondary antennas (in meters).
@ P1_TIME
Message timestamped in P1 time.
std::ostream & operator<<(std::ostream &stream, ConfigType type)
ConfigType stream operator.
@ FORWARD
The vehicle is in a forward gear.
Point One FusionEngine output message common definitions.
@ PARK
The vehicle is parked.
uint32_t flags
A bitmask of flags associated with the solution.
@ HEADING_MEASUREMENT
HeadingMeasurement
Generic timestamp representation.
uint32_t rear_left_wheel_ticks
The rear left wheel ticks.
double accel_mps2[3]
Corrected vehicle x/y/z acceleration (in meters/second^2), resolved in the body frame.
GearType gear
The transmission gear currently in use, or direction of motion, if available.
double gyro_std_rps[3]
Corrected vehicle x/y/z rate of rotation standard deviation (in radians/second), resolved in the body...
bool is_signed
true if the wheel speeds are signed (positive forward, negative reverse), or false if the values are ...
@ UNKNOWN
The transmission gear is not known, or does not map to a supported GearType.
MeasurementTimestamps timestamps
Measurement timestamps, if available.
static constexpr uint8_t MESSAGE_VERSION
uint32_t front_right_wheel_ticks
The front right wheel ticks.