feat: Radiomaster TX15 support (#6484)
Co-authored-by: Malte Langermann <54738901+gagarinlg@users.noreply.github.com> Co-authored-by: 3djc <3djc@gh.com> Co-authored-by: raphaelcoeffic <1050031+raphaelcoeffic@users.noreply.github.com> Co-authored-by: philmoz <phil.a.mitchell@gmail.com> Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
This commit is contained in:
co-authored by
Malte Langermann
3djc
raphaelcoeffic
philmoz
Peter Feerick
parent
3a00c0812b
commit
324b2c7761
@@ -39,11 +39,19 @@ class Gyro
|
||||
uint8_t errors = 0;
|
||||
float roll = 0.0;
|
||||
float pitch = 0.0;
|
||||
int16_t offset_x = 0;
|
||||
int16_t offset_y = 0;
|
||||
int16_t range_x = 8192;
|
||||
int16_t range_y = 8192;
|
||||
int16_t raw_ax = 0;
|
||||
int16_t raw_ay = 0;
|
||||
|
||||
public:
|
||||
int16_t outputs[2];
|
||||
|
||||
void wakeup();
|
||||
void setIMU_X(int16_t, int16_t);
|
||||
void setIMU_Y(int16_t, int16_t);
|
||||
|
||||
int16_t scaledX();
|
||||
int16_t scaledY();
|
||||
|
||||
Reference in New Issue
Block a user