Subversion Repositories FlightCtrl

Rev

Rev 1645 | Rev 1967 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1645 Rev 1646
Line -... Line 1...
-
 
1
#ifndef _SENSORS_H
-
 
2
#define _SENSORS_H
-
 
3
 
-
 
4
#include <inttypes.h>
-
 
5
 
-
 
6
/*
-
 
7
 * Whether (pitch, roll, yaw) gyros are reversed (see analog.h).
-
 
8
 */
1
extern const uint8_t GYROS_REVERSE[2];
9
extern const uint8_t GYRO_REVERSED[3];
-
 
10
 
-
 
11
/*
-
 
12
 * Whether (pitch, roll, Z) acc. meters are reversed(see analog.h).
-
 
13
 */
-
 
14
extern const uint8_t ACC_REVERSED[3];
Line 2... Line 15...
2
 
15
 
3
/*
16
/*
4
 * Common procedures for all gyro types.
17
 * Common procedures for all gyro types.
5
 * FC 1.3 hardware: Searching the DAC values that return neutral readings.
18
 * FC 1.3 hardware: Searching the DAC values that return neutral readings.
Line 10... Line 23...
10
 
23
 
11
/*
24
/*
12
 * Set some default FC parameters, depending on gyro type: Drift correction etc.
25
 * Set some default FC parameters, depending on gyro type: Drift correction etc.
13
 */
26
 */
-
 
27
void gyro_setDefaults(void);
-
 
28