dpyImu Namespace Reference
Deepsy Imu namespace that includes the different enums, structs or method signatures that should be used.
Classes | |
| struct | config_imu_struct |
| Configuration IMU structure. It is used to set and get the configuration of the device. It uses the enums previously defined. More... | |
| struct | info_imu_struct |
| The common structure use by any IMU device. It specifies when this sample was taken, the responsible device of, the sample and its quality. More... | |
Typedefs | |
| typedef enum dpyImu::e_Type | DEVICE |
| Enum which defines the kind of devices that can compound an IMU. | |
| typedef boost::function< void(const bool &available)> | service_availability_handler |
| Prototype of the handler function used to monitor service availability. More... | |
| typedef boost::function< void(boost::system::error_code &ec, dpyImu::info_imu_struct &info_struct)> | infoimu_handler_function |
| Handlers to the functions the client has to implement. More... | |
| typedef boost::function< void(boost::system::error_code &ec, dpyImu::config_imu_struct &config_struct)> | configimu_handler_function |
| Configuration handler function. | |
| typedef boost::function< void(boost::system::error_code &ec)> | set_handler_function |
| Result of an operation handler function. | |
Enumerations | |
| enum | Properties { enable_device_acc = 0, enable_device_gyr = 1, enable_device_mag = 2, poll_rate_ms_acc = 3, poll_rate_ms_gyr = 4, poll_rate_ms_mag = 5, range_acc = 6, range_gyr = 7, range_mag = 8, anti_aliasing_freq_acc = 9, x_y_op_mode_mag = 10, z_op_mode_mag = 11 } |
| Available properties for IMU configuration. More... | |
| enum | e_Type { ACCELEROMETER = 0, GYROSCOPE = 1, MAGNETOMETER = 2 } |
| Enum which defines the kind of devices that can compound an IMU. More... | |
Typedef Documentation
| typedef boost::function< void(boost::system::error_code& ec, dpyImu::info_imu_struct& info_struct)> infoimu_handler_function |
Information handler function.
| typedef boost::function<void(const bool &available)> service_availability_handler |
- Parameters
-
available true if the service is available, false otherwise
Enumeration Type Documentation
| enum e_Type |
| enum Properties |
