// for each subsequent iteration through the EOM
void FGADA::init() {
- // explicitly call the superclass's
- // init() method first.
- FGInterface::init();
+ //do init common to all FDM"s
+ common_init();
+
+ //now do ADA-specific init.
// cout << "FGADA::init()" << endl;
// Run an iteration of the EOM. This is essentially a NOP here
// because these values are getting filled in elsewhere based on
// external input.
-bool FGADA::update( int multiloop ) {
+void FGADA::update( int multiloop ) {
// cout << "FGADA::update()" << endl;
char Buffer[numberofbytes];
memcpy (&OutBuffer, &visuals_to_sixdof, sizeof (OutBuffer));
int result = fdmsock->write(OutBuffer, nbytes);
}
-
- return true;
}
// Convert from the FGInterface struct to the FGADA struct (output)