- props->tie("controls/flols/source-lights",
- SGRawValuePointer<int>(&source));
- props->tie("controls/flols/distance-m",
- SGRawValuePointer<double>(&dist));
- props->tie("controls/flols/angle-degs",
- SGRawValuePointer<double>(&angle));
- props->tie("controls/turn-to-launch-hdg",
- SGRawValuePointer<bool>(&turn_to_launch_hdg));
- props->tie("controls/in-to-wind",
- SGRawValuePointer<bool>(&turn_to_launch_hdg));
- props->tie("controls/base-course-deg",
- SGRawValuePointer<double>(&base_course));
- props->tie("controls/base-speed-kts",
- SGRawValuePointer<double>(&base_speed));
- props->tie("controls/start-pos-lat-deg",
- SGRawValueMethods<SGGeod,double>(pos, &SGGeod::getLatitudeDeg));
- props->tie("controls/start-pos-long-deg",
- SGRawValueMethods<SGGeod,double>(pos, &SGGeod::getLongitudeDeg));
- props->tie("velocities/speed-kts",
- SGRawValuePointer<double>(&speed));
- props->tie("environment/surface-wind-speed-true-kts",
- SGRawValuePointer<double>(&wind_speed_kts));
- props->tie("environment/surface-wind-from-true-degs",
- SGRawValuePointer<double>(&wind_from_deg));
- props->tie("environment/rel-wind-from-degs",
- SGRawValuePointer<double>(&rel_wind_from_deg));
- props->tie("environment/rel-wind-from-carrier-hdg-degs",
- SGRawValuePointer<double>(&rel_wind));
- props->tie("environment/rel-wind-speed-kts",
- SGRawValuePointer<double>(&rel_wind_speed_kts));
- props->tie("controls/flols/wave-off-lights",
- SGRawValuePointer<bool>(&wave_off_lights));
- props->tie("controls/elevators",
- SGRawValuePointer<bool>(&elevators));
- props->tie("surface-positions/elevators-pos-norm",
- SGRawValuePointer<double>(&pos_norm));
- props->tie("controls/elevators-trans-time-s",
- SGRawValuePointer<double>(&transition_time));
- props->tie("controls/elevators-time-constant",
- SGRawValuePointer<double>(&time_constant));
- props->tie("controls/jbd",
+ tie("controls/flols/source-lights",
+ SGRawValuePointer<int>(&source));
+ tie("controls/flols/distance-m",
+ SGRawValuePointer<double>(&dist));
+ tie("controls/flols/angle-degs",
+ SGRawValuePointer<double>(&angle));
+ tie("controls/turn-to-launch-hdg",
+ SGRawValuePointer<bool>(&turn_to_launch_hdg));
+ tie("controls/in-to-wind",
+ SGRawValuePointer<bool>(&turn_to_launch_hdg));
+ tie("controls/base-course-deg",
+ SGRawValuePointer<double>(&base_course));
+ tie("controls/base-speed-kts",
+ SGRawValuePointer<double>(&base_speed));
+ tie("controls/start-pos-lat-deg",
+ SGRawValueMethods<SGGeod,double>(pos, &SGGeod::getLatitudeDeg));
+ tie("controls/start-pos-long-deg",
+ SGRawValueMethods<SGGeod,double>(pos, &SGGeod::getLongitudeDeg));
+ tie("controls/mp-control",
+ SGRawValuePointer<bool>(&MPControl));
+ tie("controls/ai-control",
+ SGRawValuePointer<bool>(&AIControl));
+ tie("environment/surface-wind-speed-true-kts",
+ SGRawValuePointer<double>(&wind_speed_kts));
+ tie("environment/surface-wind-from-true-degs",
+ SGRawValuePointer<double>(&wind_from_deg));
+ tie("environment/rel-wind-from-degs",
+ SGRawValuePointer<double>(&rel_wind_from_deg));
+ tie("environment/rel-wind-from-carrier-hdg-degs",
+ SGRawValuePointer<double>(&rel_wind));
+ tie("environment/rel-wind-speed-kts",
+ SGRawValuePointer<double>(&rel_wind_speed_kts));
+ tie("environment/in-to-wind",
+ SGRawValuePointer<bool>(&in_to_wind));
+ //tie("controls/flols/wave-off-lights",
+ // SGRawValuePointer<bool>(&wave_off_lights));
+ tie("controls/elevators",
+ SGRawValuePointer<bool>(&elevators));
+ tie("surface-positions/elevators-pos-norm",
+ SGRawValuePointer<double>(&pos_norm));
+ tie("controls/constants/elevators/trans-time-s",
+ SGRawValuePointer<double>(&transition_time));
+ tie("controls/constants/elevators/time-constant",
+ SGRawValuePointer<double>(&time_constant));
+ tie("controls/jbd",