User Tools

Site Tools


doc:crazyflie:crtp:generic_setpoint

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
doc:crazyflie:crtp:generic_setpoint [2018-02-15 10:10]
arnaud
doc:crazyflie:crtp:generic_setpoint [2018-02-16 16:20]
arnaud
Line 22: Line 22:
 |  5   | [[doc:crazyflie:crtp:generic_setpoint#hover|Hover]] | |  5   | [[doc:crazyflie:crtp:generic_setpoint#hover|Hover]] |
 |  6   | [[doc:crazyflie:crtp:generic_setpoint#full_state|Full State]] | |  6   | [[doc:crazyflie:crtp:generic_setpoint#full_state|Full State]] |
 +|  7   | [[doc:crazyflie:crtp:generic_setpoint#position|Position]] |
  
  
Line 141: Line 142:
 </code> </code>
  
 +=== Position ===
 +
 +Set the absolute postition and orientation.
 +
 +<code c>
 + struct positionPacket_s {
 +   float x;     // Position in m
 +   float y;
 +   float z;
 +   float yaw;   // Orientation in degree
 + } __attribute__((packed));
 +</code>
  
doc/crazyflie/crtp/generic_setpoint.txt · Last modified: 2020-05-12 14:19 by kimberly