#include <boost/function.hpp>
#include <boost/system/error_code.hpp>
#include <boost/shared_ptr.hpp>
#include <vector>
Include dependency graph for imuApi.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

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...
 
class  Imu
Class which interfaces with the API logic. More...
 

Namespaces

 dpyImu
Deepsy Imu namespace that includes the different enums, structs or method signatures that should be used.
 

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...