You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
336 B
19 lines
336 B
7 years ago
|
#pragma once
|
||
|
|
||
|
#include <stdint.h>
|
||
|
|
||
|
/*
|
||
|
structure passed in giving servo positions as PWM values in
|
||
|
microseconds
|
||
|
*/
|
||
|
struct sitl_input {
|
||
|
uint16_t servos[16];
|
||
|
struct {
|
||
|
float speed; // m/s
|
||
|
float direction; // degrees 0..360
|
||
|
float turbulence;
|
||
|
float dir_z; //degrees -90..90
|
||
|
} wind;
|
||
|
};
|
||
|
|