AP_InertialSensor: allow specification of sample rate in init() call
this lets the caller not need to know the underlying sample rate. They just ask for what rate updates happen. This also changes the MPU6k filtering to be less than half the sample rate
Showing
- libraries/AP_InertialSensor/AP_InertialSensor.cpp 2 additions, 1 deletionlibraries/AP_InertialSensor/AP_InertialSensor.cpp
- libraries/AP_InertialSensor/AP_InertialSensor.h 9 additions, 1 deletionlibraries/AP_InertialSensor/AP_InertialSensor.h
- libraries/AP_InertialSensor/AP_InertialSensor_MPU6000.cpp 31 additions, 7 deletionslibraries/AP_InertialSensor/AP_InertialSensor_MPU6000.cpp
- libraries/AP_InertialSensor/AP_InertialSensor_MPU6000.h 2 additions, 2 deletionslibraries/AP_InertialSensor/AP_InertialSensor_MPU6000.h
- libraries/AP_InertialSensor/AP_InertialSensor_Oilpan.cpp 17 additions, 2 deletionslibraries/AP_InertialSensor/AP_InertialSensor_Oilpan.cpp
- libraries/AP_InertialSensor/AP_InertialSensor_Oilpan.h 3 additions, 1 deletionlibraries/AP_InertialSensor/AP_InertialSensor_Oilpan.h
- libraries/AP_InertialSensor/AP_InertialSensor_Stub.cpp 1 addition, 1 deletionlibraries/AP_InertialSensor/AP_InertialSensor_Stub.cpp
- libraries/AP_InertialSensor/AP_InertialSensor_Stub.h 1 addition, 1 deletionlibraries/AP_InertialSensor/AP_InertialSensor_Stub.h
- libraries/AP_InertialSensor/examples/MPU6000/MPU6000.pde 3 additions, 1 deletionlibraries/AP_InertialSensor/examples/MPU6000/MPU6000.pde
Loading
Please register or sign in to comment