mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-20 10:54:14 +01:00
OP-975 cleanup
This commit is contained in:
parent
9aef8b0edf
commit
24af67d91a
@ -66,7 +66,6 @@ void SixPointCalibrationModel::start(bool calibrateAccel, bool calibrateMag)
|
|||||||
calibratingAccel = calibrateAccel;
|
calibratingAccel = calibrateAccel;
|
||||||
calibratingMag = calibrateMag;
|
calibratingMag = calibrateMag;
|
||||||
// Store and reset board rotation before calibration starts
|
// Store and reset board rotation before calibration starts
|
||||||
isBoardRotationStored = false;
|
|
||||||
storeAndClearBoardRotation();
|
storeAndClearBoardRotation();
|
||||||
|
|
||||||
RevoCalibration *revoCalibration = RevoCalibration::GetInstance(getObjectManager());
|
RevoCalibration *revoCalibration = RevoCalibration::GetInstance(getObjectManager());
|
||||||
|
@ -79,8 +79,6 @@ private:
|
|||||||
bool calibratingMag;
|
bool calibratingMag;
|
||||||
bool calibratingAccel;
|
bool calibratingAccel;
|
||||||
|
|
||||||
bool isBoardRotationStored;
|
|
||||||
|
|
||||||
double accel_data_x[6], accel_data_y[6], accel_data_z[6];
|
double accel_data_x[6], accel_data_y[6], accel_data_z[6];
|
||||||
double mag_data_x[6], mag_data_y[6], mag_data_z[6];
|
double mag_data_x[6], mag_data_y[6], mag_data_z[6];
|
||||||
|
|
||||||
|
@ -42,7 +42,6 @@
|
|||||||
#include <QUrl>
|
#include <QUrl>
|
||||||
#include <attitudestate.h>
|
#include <attitudestate.h>
|
||||||
#include <attitudesettings.h>
|
#include <attitudesettings.h>
|
||||||
#include <ekfconfiguration.h>
|
|
||||||
#include <revocalibration.h>
|
#include <revocalibration.h>
|
||||||
#include <accelgyrosettings.h>
|
#include <accelgyrosettings.h>
|
||||||
#include <homelocation.h>
|
#include <homelocation.h>
|
||||||
@ -84,7 +83,6 @@ ConfigRevoWidget::ConfigRevoWidget(QWidget *parent) :
|
|||||||
// Must set up the UI (above) before setting up the UAVO mappings or refreshWidgetValues
|
// Must set up the UI (above) before setting up the UAVO mappings or refreshWidgetValues
|
||||||
// will be dealing with some null pointers
|
// will be dealing with some null pointers
|
||||||
addUAVObject("RevoCalibration");
|
addUAVObject("RevoCalibration");
|
||||||
addUAVObject("EKFConfiguration");
|
|
||||||
addUAVObject("HomeLocation");
|
addUAVObject("HomeLocation");
|
||||||
addUAVObject("AttitudeSettings");
|
addUAVObject("AttitudeSettings");
|
||||||
addUAVObject("RevoSettings");
|
addUAVObject("RevoSettings");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user