mirror of
https://github.com/okalachev/flix.git
synced 2025-07-27 17:49:33 +00:00
Minor code rearrange
This commit is contained in:
parent
f84d1e95dd
commit
4160b8da07
@ -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()
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user