ardupilot/libraries/SITL/SITL_Input.h

19 lines
336 B
C
Raw Permalink Normal View History

#pragma once
#include <stdint.h>
/*
structure passed in giving servo positions as PWM values in
microseconds
*/
struct sitl_input {
2021-01-11 21:45:46 -04:00
uint16_t servos[32];
struct {
float speed; // m/s
float direction; // degrees 0..360
float turbulence;
float dir_z; //degrees -90..90
} wind;
};