SITL_Input.h 336 B

123456789101112131415161718
  1. #pragma once
  2. #include <stdint.h>
  3. /*
  4. structure passed in giving servo positions as PWM values in
  5. microseconds
  6. */
  7. struct sitl_input {
  8. uint16_t servos[16];
  9. struct {
  10. float speed; // m/s
  11. float direction; // degrees 0..360
  12. float turbulence;
  13. float dir_z; //degrees -90..90
  14. } wind;
  15. };