Subversion Repositories FlightCtrl

Rev

Blame | Last modification | View Log | RSS feed

#ifndef _ENC03_FC13_H
#define _ENC03_FC13_H

#include "sensors.h"
/*
 * Configuration for the ENC-03 gyros and oriented and wired on FC 1.3 (with DAC).
 */


#define GYRO_HW_NAME "ENC"

#define GYRO_HW_FACTOR 1.304f

/*
 * Correction factor - determined experimentally: Hold the copter in the hand, and turn it 90 degrees.
 * If AnglePitch or AngleRoll in debug in MK-Tool changes by x degrees, multiply the value here by x/90.
 * If the hardware related contants are set correctly, flight should be OK without bothering to
 * make any adjustments here. It is only for luxury.
 */

#define GYRO_PITCHROLL_CORRECTION 1.11f

/*
 * Same for yaw.
 */

#define GYRO_YAW_CORRECTION 1.28f
#endif