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 [2017-02-18 12:35]
arnaud
doc:crazyflie:crtp:generic_setpoint [2018-02-15 09:23]
arnaud
Line 17: Line 17:
 |  0   | [[doc:crazyflie:crtp:generic_setpoint#stop|stop]]  | |  0   | [[doc:crazyflie:crtp:generic_setpoint#stop|stop]]  |
 |  1   | [[doc:crazyflie:crtp:generic_setpoint#velocity_world|Velocity World]] | |  1   | [[doc:crazyflie:crtp:generic_setpoint#velocity_world|Velocity World]] |
 +|  2   | [[doc:crazyflie:crtp:generic_setpoint#z_distance|Z Distance]] |
 +
  
 ==== Stop ==== ==== Stop ====
Line 32: Line 34:
   float vy;        // ...   float vy;        // ...
   float vz;        // ...   float vz;        // ...
-  float yawrate;  // rad/s+  float yawrate;  // deg/s
 } __attribute__((packed)); } __attribute__((packed));
 </code> </code>
  
 +==== 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;         // deg/s
 +  float zDistance;        // m in the world frame of reference
 +} __attribute__((packed));
 +</code>
  
  
doc/crazyflie/crtp/generic_setpoint.txt · Last modified: 2020-05-12 14:19 by kimberly