sbgECom Library
5.1.708-stable
Interface SBG Systems IMU/AHRS/INS
|
The sbgECom protocol is a binary protocol specifically designed for SBG Systems IMU, AHRS, and INS products.
It includes commands for device configuration and output messages for reading data and status.
The sbgECom Library, the official C implementation of this protocol, is provided under the MIT License, enabling customers to accelerate their development processes.
The library's usage is demonstrated with clear C code samples, and useful CLI tools with source code are also provided to facilitate evaluation and integration.
This documentation is essential for anyone integrating SBG Systems' devices, developing custom software applications, or needing an in-depth understanding of the sbgECom protocol.
The documentation covers the following items:
For more information and detailed documentation, please refer to the following resources:
dbc
(Vector) and dbf
(BusMaster) formats in the sbgECom/can
directory.SBG Systems offers a range of products, from miniature Inertial Measurement Units (IMUs) to survey-grade Inertial Navigation Systems (INS).
The sbgECom protocol, documentation, and C library implementation are shared across all these products.
The product lines can be organized into the following main families, each with common features and firmware:
[!WARNING] This documentation primarily covers HPINS running firmware v4.x and above, as well as ELLIPSE v3 running firmware v3.x and above.
For ELLIPSE Series v1/v2, ELLIPSE Micro, or devices running older firmware, please refer to the previous Firmware Reference Manual and sbgECom library v4.0.
The sbgECom protocol and sbgInsRestApi work together to provide comprehensive solutions for device configuration and data output.
The sbgInsRestApi is a JSON-based REST API that supersedes sbgECom for configuring devices.
It is the primary method for programmatically configuring products in newer integrations.
The sbgECom protocol implements binary messages for high data rate and efficient retrieval of measurements, information, and status.
These messages are optimized for real-time applications, offering a secure and efficient binary format ideal for embedded systems.
These binary messages are also used in post-processing workflows, such as with Qinertia software, and for validation and troubleshooting.
[!NOTE] The sbgInsRestApi offers endpoints for querying information, status, and data at low frequencies (1Hz or less).
It should not be used for high-frequency data acquisition due to potential CPU overuse and the large data volume generated by JSON format.
The table below summarizes the usage of sbgECom and the availability of sbgInsRestApi across different device families:
Product | sbgECom Usage | sbgInsRestApi | Notes |
---|---|---|---|
ELLIPSE v1/v2 | Conf. & Messages | Not Available | Latest firmware 2.6 - Support ended in 2024. |
ELLIPSE Micro | Conf. & Messages | Not Available | Configuration with sbgECom commands only, product still actively supported. |
ELLIPSE v3 | Messages Only | Available | sbgInsRestApi over serial interface only - Since firmware v3.0 |
HPINS | Messages Only | Available | sbgInsRestApi through standard HTTP GET/POST methods and over serial interfaces - Since firmware v4.0. |
PULSE | Messages Only | Available | sbgInsRestApi over serial interface only. |
This documentation and the sbgECom C Library are developed and maintained by SBG Systems SAS.
For assistance, feedback, or to report issues, please contact us at support@sbg-systems.com.
The sbgECom C Library and code sample is available on GitHub as a public repository.
While you can open issues to report bugs or suggest improvements, please do not submit pull requests as we do not use GitHub for development purposes and cannot merge them.
If you need assistance with the sbgECom C Library or have any questions, please refer to the following resources: