#include <GX3.hpp>
Public Types | |
| enum | Mode { Continuous, Active, Idle } |
Public Member Functions | |
| GX3 (const std::string &portName, int baud=115200) | |
| double | heading () |
| Mode | mode () |
| void | mode (Mode mode) |
Private Member Functions | |
| void | checkFirmware () |
| void | connect (const std::string &portName, int baud) |
| void | readConfiguration () |
Private Attributes | |
| boost::asio::io_service | io |
| Mode | mode_ |
| boost::asio::serial_port | port |
Static Private Attributes | |
| static const size_t | supportedFirmware |
This class implements the class abstraction for the 3DM-GX3-25 AHRS sensor.
| GX3::GX3 | ( | const std::string & | portName, |
| int | baud = 115200 |
||
| ) |
| void GX3::checkFirmware | ( | ) | [private] |
| void GX3::connect | ( | const std::string & | portName, |
| int | baud | ||
| ) | [private] |
| double GX3::heading | ( | ) |
| Mode LABUST::MICROSTRAIN::GX3::mode | ( | ) | [inline] |
| void LABUST::MICROSTRAIN::GX3::mode | ( | Mode | mode | ) | [inline] |
| void LABUST::MICROSTRAIN::GX3::readConfiguration | ( | ) | [private] |
Read the configuration of the device.
boost::asio::io_service LABUST::MICROSTRAIN::GX3::io [private] |
Mode LABUST::MICROSTRAIN::GX3::mode_ [private] |
boost::asio::serial_port LABUST::MICROSTRAIN::GX3::port [private] |
const size_t GX3::supportedFirmware [static, private] |