mirror of
https://github.com/okalachev/flix.git
synced 2026-01-12 05:57:52 +00:00
Minor code rearrange
This commit is contained in:
@@ -26,10 +26,10 @@ float dt; // time delta from previous step, s
|
|||||||
float loopFreq; // loop frequency, Hz
|
float loopFreq; // loop frequency, Hz
|
||||||
uint16_t channels[16]; // raw rc channels
|
uint16_t channels[16]; // raw rc channels
|
||||||
float controls[RC_CHANNELS]; // normalized controls in range [-1..1] ([0..1] for throttle)
|
float controls[RC_CHANNELS]; // normalized controls in range [-1..1] ([0..1] for throttle)
|
||||||
float motors[4]; // normalized motors thrust in range [-1..1]
|
|
||||||
Vector rates; // angular rates, rad/s
|
Vector rates; // angular rates, rad/s
|
||||||
Vector acc; // accelerometer data, m/s/s
|
Vector acc; // accelerometer data, m/s/s
|
||||||
Quaternion attitude; // estimated attitude
|
Quaternion attitude; // estimated attitude
|
||||||
|
float motors[4]; // normalized motors thrust in range [-1..1]
|
||||||
|
|
||||||
void setup()
|
void setup()
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user