1
0
Fork 0

Kill some defunct uses of side-slip property.

This commit is contained in:
James Turner 2013-07-29 22:15:23 +01:00
parent 5b17a6c33f
commit be44fa45eb
4 changed files with 0 additions and 8 deletions

View file

@ -127,7 +127,6 @@ FGAIManager::init() {
wind_from_north_node = fgGetNode("/environment/wind-from-north-fps",true);
user_altitude_agl_node = fgGetNode("/position/altitude-agl-ft", true);
user_yaw_node = fgGetNode("/orientation/side-slip-deg", true);
user_speed_node = fgGetNode("/velocities/uBody-fps", true);
globals->get_commands()->addCommand("load-scenario", this, &FGAIManager::loadScenarioCommand);
@ -296,9 +295,7 @@ FGAIManager::getNumAiObjects(void) const
void
FGAIManager::fetchUserState( void ) {
user_yaw = user_yaw_node->getDoubleValue();
globals->get_aircraft_orientation(user_heading, user_pitch, user_roll);
user_speed = user_speed_node->getDoubleValue() * 0.592484;
wind_from_east = wind_from_east_node->getDoubleValue();
wind_from_north = wind_from_north_node->getDoubleValue();

View file

@ -73,7 +73,6 @@ public:
inline double get_user_heading() const { return user_heading; }
inline double get_user_pitch() const { return user_pitch; }
inline double get_user_yaw() const { return user_yaw; }
inline double get_user_speed() const {return user_speed; }
inline double get_wind_from_east() const {return wind_from_east; }
inline double get_wind_from_north() const {return wind_from_north; }
@ -108,7 +107,6 @@ private:
SGPropertyNode_ptr enabled;
SGPropertyNode_ptr thermal_lift_node;
SGPropertyNode_ptr user_altitude_agl_node;
SGPropertyNode_ptr user_yaw_node;
SGPropertyNode_ptr user_speed_node;
SGPropertyNode_ptr wind_from_east_node;
SGPropertyNode_ptr wind_from_north_node;
@ -119,7 +117,6 @@ private:
double user_altitude_agl;
double user_heading;
double user_pitch;
double user_yaw;
double user_roll;
double user_speed;
double wind_from_east;

View file

@ -115,7 +115,6 @@ TACAN::init ()
_mp_callsign_node = mnode ? mnode->getChild("callsign", 0, false) : 0;
_heading_node = fgGetNode("/orientation/heading-deg", true);
_yaw_node = fgGetNode("/orientation/side-slip-deg", true);
_electrical_node = fgGetNode("/systems/electrical/outputs/tacan", true);
}

View file

@ -53,7 +53,6 @@ private:
unsigned int _num;
SGPropertyNode_ptr _heading_node;
SGPropertyNode_ptr _yaw_node;
SGPropertyNode_ptr _serviceable_node;
SGPropertyNode_ptr _electrical_node;
SGPropertyNode_ptr _frequency_node;