#ifndef SERVOCALIBRATION_H #define SERVOCALIBRATION_H #include #include struct ServoChannel { double d0 = 0; double kd = 0; double len = 0; }; struct ServoCalibration { ServoChannel ch1; ServoChannel ch2; ServoChannel ch3; ServoChannel ch4; ServoChannel ch5; ServoChannel ch6; ServoChannel ch7; ServoChannel ch8; QMap leftAileronTable; QMap rightAileronTable; QMap leftElevatorTable; QMap rightElevatorTable; QMap rudderUpperTable; QMap rudderLowerTable; static ServoCalibration defaultCalibration(); }; #endif