Name
flightGearUpdate — flightGear communication
Calling Sequence
y = flightGearUpdate(u)
Description
Send control to flightGear and receive the state.
u = [aileron;elevator;rudder;throttle]
aileron, elevator, and rudder are mapped from -1 to 1
throttle is mapped from 0 to 1
y = [roll;pitch;yaw;p;q;r;lon;lat;alt;vN;vE;vE;vWindN;vWindE;vWindD;Ax;Ay;Az]
Examples
y=flightGearUpdate([0;0;0;0])