APM:Libraries
libraries
AP_InertialSensor
AP_InertialSensor_HIL.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
AP_InertialSensor.h
"
4
#include "
AP_InertialSensor_Backend.h
"
5
6
class
AP_InertialSensor_HIL
:
public
AP_InertialSensor_Backend
7
{
8
public
:
9
AP_InertialSensor_HIL
(
AP_InertialSensor
&imu);
10
11
/* update accel and gyro state */
12
bool
update
();
13
14
// detect the sensor
15
static
AP_InertialSensor_Backend
*
detect
(
AP_InertialSensor
&imu);
16
17
private
:
18
bool
_init_sensor
(
void
);
19
};
AP_InertialSensor_HIL::AP_InertialSensor_HIL
AP_InertialSensor_HIL(AP_InertialSensor &imu)
Definition:
AP_InertialSensor_HIL.cpp:6
AP_InertialSensor.h
AP_InertialSensor_Backend
Definition:
AP_InertialSensor_Backend.h:41
AP_InertialSensor
Definition:
AP_InertialSensor.h:47
AP_InertialSensor_HIL
Definition:
AP_InertialSensor_HIL.h:6
AP_InertialSensor_HIL::_init_sensor
bool _init_sensor(void)
Definition:
AP_InertialSensor_HIL.cpp:27
AP_InertialSensor_Backend.h
AP_InertialSensor_HIL::update
bool update()
Definition:
AP_InertialSensor_HIL.cpp:38
AP_InertialSensor_HIL::detect
static AP_InertialSensor_Backend * detect(AP_InertialSensor &imu)
Definition:
AP_InertialSensor_HIL.cpp:14
Generated on Sun Jun 17 2018 14:18:49 for APM:Libraries by
1.8.13