This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
doc:crazyflie:crtp:generic_setpoint [2017-02-18 12:35] arnaud |
doc:crazyflie:crtp:generic_setpoint [2018-02-15 08:59] arnaud |
||
---|---|---|---|
Line 17: | Line 17: | ||
| 0 | [[doc: | | 0 | [[doc: | ||
| 1 | [[doc: | | 1 | [[doc: | ||
+ | | 2 | [[doc: | ||
==== Stop ==== | ==== Stop ==== | ||
Line 32: | Line 33: | ||
float vy; // ... | float vy; // ... | ||
float vz; // ... | float vz; // ... | ||
- | float yawrate; | + | float yawrate; |
} __attribute__((packed)); | } __attribute__((packed)); | ||
</ | </ | ||
+ | ==== Z Distance ==== | ||
+ | |||
+ | Set the Crazyflie absolute height and roll/pitch angles. Used for Z-ranger. | ||
+ | |||
+ | Payload format: | ||
+ | <code c> | ||
+ | struct zDistancePacket_s { | ||
+ | float roll; // deg | ||
+ | float pitch; | ||
+ | float yawrate; | ||
+ | float zDistance; | ||
+ | } __attribute__((packed)); | ||
+ | </ | ||