5
0
mirror of https://github.com/ArduPilot/ardupilot synced 2025-02-27 10:13:57 -04:00
ardupilot/libraries/SITL/SITL_Input.h
2022-05-22 12:07:37 +10:00

19 lines
336 B
C

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