// 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;
// Convert from the FGInterface struct to the FGADA struct (output)
bool FGADA::copy_to_FGADA () {
-
- ground_elevation = scenery.cur_elev;
+ ground_elevation = scenery.get_cur_elev();
return true;
}