This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
doc:crazyflie:crtp:generic_setpoint [2018-02-15 10:10] arnaud |
doc:crazyflie:crtp:generic_setpoint [2020-05-12 14:19] (current) kimberly |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | <WRAP center round important 60%> | ||
| + | This page has deprecated and moved to the new documentation framework of the main Bitcraze website. Please go to [[https:// | ||
| + | </ | ||
| + | |||
| + | |||
| ====== Generic Setpoint CRTP Port ====== | ====== Generic Setpoint CRTP Port ====== | ||
| Line 22: | Line 27: | ||
| | 5 | [[doc: | | 5 | [[doc: | ||
| | 6 | [[doc: | | 6 | [[doc: | ||
| + | | 7 | [[doc: | ||
| Line 141: | Line 147: | ||
| </ | </ | ||
| + | === Position === | ||
| + | |||
| + | Set the absolute postition and orientation. | ||
| + | |||
| + | <code c> | ||
| + | | ||
| + | float x; // Position in m | ||
| + | float y; | ||
| + | float z; | ||
| + | float yaw; // Orientation in degree | ||
| + | } __attribute__((packed)); | ||
| + | </ | ||