Наведён порядок в коде
This commit is contained in:
@@ -5,13 +5,13 @@
|
||||
#include "radio_receiver.h"
|
||||
#include "pid.h"
|
||||
|
||||
#define CF_ALPHA 0.99f
|
||||
#define CF_ALPHA 0.99f
|
||||
|
||||
typedef struct
|
||||
{
|
||||
float roll; // deg
|
||||
float pitch; // deg
|
||||
float yaw_rate; // deg/s
|
||||
float roll; // deg
|
||||
float pitch; // deg
|
||||
float yaw_rate; // deg/s
|
||||
} attitude_t;
|
||||
|
||||
void complementary_filter_update(attitude_t* att, const imu_scaled_t* imu);
|
||||
|
||||
Reference in New Issue
Block a user