net->left_aileron = node->getDoubleValue( "left-aileron-pos-norm" );
net->right_aileron = node->getDoubleValue( "right-aileron-pos-norm" );
net->rudder = node->getDoubleValue( "rudder-pos-norm" );
+ net->rudder = node->getDoubleValue( "nose-wheel-pos-norm" );
net->speedbrake = node->getDoubleValue( "speedbrake-pos-norm" );
net->spoilers = node->getDoubleValue( "spoilers-pos-norm" );
htonf(net->left_aileron);
htonf(net->right_aileron);
htonf(net->rudder);
+ htonf(net->nose_wheel);
htonf(net->speedbrake);
htonf(net->spoilers);
}
htonf(net->left_aileron);
htonf(net->right_aileron);
htonf(net->rudder);
+ htonf(net->nose_wheel);
htonf(net->speedbrake);
htonf(net->spoilers);
}
node->setDoubleValue("left-aileron-pos-norm", net->left_aileron);
node->setDoubleValue("right-aileron-pos-norm", net->right_aileron);
node->setDoubleValue("rudder-pos-norm", net->rudder);
+ node->setDoubleValue("nose-wheel-pos-norm", net->nose_wheel);
node->setDoubleValue("speedbrake-pos-norm", net->speedbrake);
node->setDoubleValue("spoilers-pos-norm", net->spoilers);
} else {
#include <time.h> // time_t
-const int FG_NET_FDM_VERSION = 14;
+const int FG_NET_FDM_VERSION = 15;
// Define a structure containing the top level flight dynamics model
float left_aileron;
float right_aileron;
float rudder;
+ float nose_wheel;
float speedbrake;
float spoilers;
};