public void apply(global::FlightCtrlState s) { s.mainThrottle = throttle; s.yaw = yaw; s.pitch = pitch; s.roll = roll; s.X = dx; s.Y = dy; s.Z = dz; }
public void update(global::FlightCtrlState s) { throttle = s.mainThrottle; yaw = s.yaw; pitch = s.pitch; roll = s.roll; dx = s.X; dy = s.Y; dz = s.Z; }