point_one::fusion_engine::messages::ros::IMUMessage Struct Reference

Detailed Description

ROS Imu message (MessageType::ROS_IMU, version 1.0).

Per the ROS IMU message specification:

  • If the a value is known but its covariance is not, its covariance matrix will be set to 0.0
  • If a value is not known or not available, its covariance matrix will be set to -1.0
    • The value itself will be set to NAN, as this is not specified in the ROS message definition

Note that the ROS IMU message does not use NAN in the covariance matrix to represent either data or covariance not known.

See http://docs.ros.org/api/sensor_msgs/html/msg/Imu.html.

Note
The data contained in this message has been corrected for accelerometer and gyro biases and scale factors, and has been rotated into the vehicle body frame from the original IMU orientation using the FusionEngine sensor calibration data.

Definition at line 269 of file ros.h.

Inheritance diagram for point_one::fusion_engine::messages::ros::IMUMessage:
point_one::fusion_engine::messages::MessagePayload

#include <point_one/fusion_engine/messages/ros.h>

Public Attributes

double acceleration_covariance [9] = {-1, -1, -1, -1, -1, -1, -1, -1, -1}
 Vehicle x/y/z acceleration covariance matrix. More...
 
double acceleration_mps2 [3] = {NAN, NAN, NAN}
 Vehicle x/y/z linear acceleration (in meters/second^2), resolved in the body frame. More...
 
double angular_velocity_covariance [9] = {-1, -1, -1, -1, -1, -1, -1, -1, -1}
 Vehicle rate of rotation covariance matrix. More...
 
double angular_velocity_rps [3] = {NAN, NAN, NAN}
 Vehicle x/y/z rate of rotation (in radians/second), resolved in the body frame. More...
 
double orientation [4] = {NAN, NAN, NAN, NAN}
 The platform body orientation with respect to the local ENU frame, represented as a quaternion with the scalar component last (x, y, z, w). More...
 
double orientation_covariance [9] = {-1, -1, -1, -1, -1, -1, -1, -1, -1}
 Orientation covariance matrix. More...
 
Timestamp p1_time
 The time of the message, in P1 time (beginning at power-on). More...
 

Static Public Attributes

static constexpr MessageType MESSAGE_TYPE = MessageType::ROS_IMU
 
static constexpr uint8_t MESSAGE_VERSION = 0
 

Member Data Documentation

◆ acceleration_covariance

double point_one::fusion_engine::messages::ros::IMUMessage::acceleration_covariance[9] = {-1, -1, -1, -1, -1, -1, -1, -1, -1}

Vehicle x/y/z acceleration covariance matrix.

Set to -1 if not available.

Definition at line 307 of file ros.h.

◆ acceleration_mps2

double point_one::fusion_engine::messages::ros::IMUMessage::acceleration_mps2[3] = {NAN, NAN, NAN}

Vehicle x/y/z linear acceleration (in meters/second^2), resolved in the body frame.

Definition at line 302 of file ros.h.

◆ angular_velocity_covariance

double point_one::fusion_engine::messages::ros::IMUMessage::angular_velocity_covariance[9] = {-1, -1, -1, -1, -1, -1, -1, -1, -1}

Vehicle rate of rotation covariance matrix.

Set to -1 if not available.

Definition at line 296 of file ros.h.

◆ angular_velocity_rps

double point_one::fusion_engine::messages::ros::IMUMessage::angular_velocity_rps[3] = {NAN, NAN, NAN}

Vehicle x/y/z rate of rotation (in radians/second), resolved in the body frame.

Definition at line 291 of file ros.h.

◆ MESSAGE_TYPE

constexpr MessageType point_one::fusion_engine::messages::ros::IMUMessage::MESSAGE_TYPE = MessageType::ROS_IMU
staticconstexpr

Definition at line 270 of file ros.h.

◆ MESSAGE_VERSION

constexpr uint8_t point_one::fusion_engine::messages::ros::IMUMessage::MESSAGE_VERSION = 0
staticconstexpr

Definition at line 271 of file ros.h.

◆ orientation

double point_one::fusion_engine::messages::ros::IMUMessage::orientation[4] = {NAN, NAN, NAN, NAN}

The platform body orientation with respect to the local ENU frame, represented as a quaternion with the scalar component last (x, y, z, w).

Definition at line 280 of file ros.h.

◆ orientation_covariance

double point_one::fusion_engine::messages::ros::IMUMessage::orientation_covariance[9] = {-1, -1, -1, -1, -1, -1, -1, -1, -1}

Orientation covariance matrix.

Set to -1 if not available.

Definition at line 285 of file ros.h.

◆ p1_time

Timestamp point_one::fusion_engine::messages::ros::IMUMessage::p1_time

The time of the message, in P1 time (beginning at power-on).

Definition at line 274 of file ros.h.


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