point_one::fusion_engine::messages Namespace Reference

Namespaces

 ros
 

Classes

struct  CoarseOrientation
 The orientation of a device with respect to the vehicle body axes. More...
 
struct  CommandResponseMessage
 Response to indicate if command was processed successfully (MessageType::COMMAND_RESPONSE, version 1.0). More...
 
struct  ConfigDataMessage
 Response to a GetConfigMessage request (MessageType::CONFIG_DATA, version 1.0). More...
 
struct  EventNotificationMessage
 Notification of a system event for logging purposes (MessageType::EVENT_NOTIFICATION, version 1.0). More...
 
struct  GetConfigMessage
 Query the value of a user configuration parameter (MessageType::GET_CONFIG, version 1.0). More...
 
struct  GNSSInfoMessage
 Information about the GNSS data used in the PoseMessage with the corresponding timestamp (MessageType::GNSS_INFO, version 1.0). More...
 
struct  GNSSSatelliteMessage
 Information about the individual satellites used in the PoseMessage and GNSSInfoMessage with the corresponding timestamp (MessageType::GNSS_SATELLITE, version 1.0). More...
 
struct  IMUMeasurement
 IMU sensor measurement data (MessageType::IMU_MEASUREMENT, version 1.0). More...
 
struct  MessageHeader
 The header present at the beginning of every message. More...
 
struct  MessagePayload
 The base class for all message payloads. More...
 
struct  MessageRequest
 Request transmission of a specified message type, (MessageType::MESSAGE_REQUEST, version 1.0). More...
 
struct  Point3f
 A 3-dimensional vector (used for lever arms, etc.). More...
 
struct  PoseAuxMessage
 Auxiliary platform pose information (MessageType::POSE_AUX, version 1.0). More...
 
struct  PoseMessage
 Platform pose solution: position, velocity, attitude (MessageType::POSE, version 1.1). More...
 
struct  ResetRequest
 Perform a software or hardware reset (MessageType::RESET_REQUEST, version 1.0). More...
 
struct  SatelliteInfo
 Information about an individual satellite (see GNSSSatelliteMessage). More...
 
struct  SaveConfigMessage
 Save or reload configuration settings (MessageType::SAVE_CONFIG, version 1.0). More...
 
struct  SetConfigMessage
 Set a user configuration parameter (MessageType::SET_CONFIG, version 1.0). More...
 
struct  Timestamp
 Generic timestamp representation. More...
 
struct  VersionInfoMessage
 Software and hardware version information, (MessageType::VERSION_INFO, version 1.0). More...
 

Enumerations

enum  ConfigType : uint16_t {
  ConfigType::INVALID = 0, ConfigType::DEVICE_LEVER_ARM = 16, ConfigType::DEVICE_COARSE_ORIENTATION = 17, ConfigType::GNSS_LEVER_ARM = 18,
  ConfigType::OUTPUT_LEVER_ARM = 19, ConfigType::UART0_BAUD = 256, ConfigType::UART1_BAUD = 257
}
 An identifier for the contents of a parameter configuration message. More...
 
enum  ConfigurationSource : uint8_t { ConfigurationSource::ACTIVE = 0, ConfigurationSource::SAVED = 1 }
 The type of a device's configuration settings. More...
 
enum  MessageType : uint16_t {
  MessageType::INVALID = 0, MessageType::POSE = 10000, MessageType::GNSS_INFO = 10001, MessageType::GNSS_SATELLITE = 10002,
  MessageType::POSE_AUX = 10003, MessageType::IMU_MEASUREMENT = 11000, MessageType::ROS_POSE = 12000, MessageType::ROS_GPS_FIX = 12010,
  MessageType::ROS_IMU = 12011, MessageType::COMMAND_RESPONSE = 13000, MessageType::MESSAGE_REQUEST = 13001, MessageType::RESET_REQUEST = 13002,
  MessageType::VERSION_INFO = 13003, MessageType::EVENT_NOTIFICATION = 13004, MessageType::SET_CONFIG = 13100, MessageType::GET_CONFIG = 13101,
  MessageType::SAVE_CONFIG = 13102, MessageType::CONFIG_DATA = 13103, MessageType::MAX_VALUE = CONFIG_DATA
}
 Identifiers for the defined output message types. More...
 
enum  SatelliteType : uint8_t {
  SatelliteType::UNKNOWN = 0, SatelliteType::GPS = 1, SatelliteType::GLONASS = 2, SatelliteType::LEO = 3,
  SatelliteType::GALILEO = 4, SatelliteType::BEIDOU = 5, SatelliteType::QZSS = 6, SatelliteType::MIXED = 7,
  SatelliteType::SBAS = 8, SatelliteType::IRNSS = 9, SatelliteType::MAX_VALUE = IRNSS
}
 System/constellation type definitions. More...
 
enum  SaveAction : uint8_t { SaveAction::SAVE = 0, SaveAction::REVERT_TO_SAVED = 1, SaveAction::REVERT_TO_DEFAULT = 2 }
 The type configuration save operation to be performed. More...
 
enum  SolutionType : uint8_t {
  SolutionType::Invalid = 0, SolutionType::AutonomousGPS = 1, SolutionType::DGPS = 2, SolutionType::RTKFixed = 4,
  SolutionType::RTKFloat = 5, SolutionType::Integrate = 6, SolutionType::Visual = 9, SolutionType::PPP = 10,
  SolutionType::MAX_VALUE = PPP
}
 Navigation solution type definitions. More...
 

Functions

uint32_t CalculateCRC (const void *buffer)
 Calculate the CRC for the message (header + payload) contained in the buffer. More...
 
bool IsValid (const void *buffer)
 Check if the message contained in the buffer has a valid CRC. More...
 
std::ostream & operator<< (std::ostream &stream, ConfigType type)
 ConfigType stream operator. More...
 
std::ostream & operator<< (std::ostream &stream, ConfigurationSource source)
 ConfigurationSource stream operator. More...
 
std::ostream & operator<< (std::ostream &stream, MessageType type)
 MessageType stream operator. More...
 
std::ostream & operator<< (std::ostream &stream, SatelliteType type)
 SatelliteType stream operator. More...
 
std::ostream & operator<< (std::ostream &stream, SaveAction action)
 SaveAction stream operator. More...
 
std::ostream & operator<< (std::ostream &stream, SolutionType type)
 SolutionType stream operator. More...
 
const char * to_string (ConfigType type)
 Get a human-friendly string name for the specified ConfigType. More...
 
const char * to_string (ConfigurationSource source)
 Get a human-friendly string name for the specified ConfigurationSource. More...
 
const char * to_string (MessageType type)
 Get a human-friendly string name for the specified MessageType. More...
 
const char * to_string (SatelliteType type)
 Get a human-friendly string name for the specified SatelliteType (GNSS constellation). More...
 
const char * to_string (SaveAction action)
 Get a human-friendly string name for the specified SaveAction. More...
 
const char * to_string (SolutionType type)
 Get a human-friendly string name for the specified SolutionType. More...