[prev in list] [next in list] [prev in thread] [next in thread] 

List:       flightgear-cvs
Subject:    [Flightgear-cvslogs] CVS: source/src/AIModel AIFlightPlanCreate.cxx,
From:       Durk Talsma <durk () baron ! flightgear ! org>
Date:       2009-01-30 21:15:51
Message-ID: 200901302115.n0ULFpQ5028584 () baron ! flightgear ! org
[Download RAW message or body]

Update of /var/cvs/FlightGear-0.9/source/src/AIModel
In directory baron.flightgear.org:/tmp/cvs-serv28557

Modified Files:
	AIFlightPlanCreate.cxx 
Log Message:
And some more cleanup.


Index: AIFlightPlanCreate.cxx
===================================================================
RCS file: /var/cvs/FlightGear-0.9/source/src/AIModel/AIFlightPlanCreate.cxx,v
retrieving revision 1.24
retrieving revision 1.25
diff -C 2 -r1.24 -r1.25
*** AIFlightPlanCreate.cxx	30 Jan 2009 18:48:44 -0000	1.24
--- AIFlightPlanCreate.cxx	30 Jan 2009 21:15:48 -0000	1.25
***************
*** 348,354 ****
      //d = (Vf^2 - Vo^2) / (2*a)
      double accelTime = (vRotate - 15) / accel;
!     cerr << "Using " << accelTime << " as total acceleration time" << endl;
      double accelDistance = (vRotate*vRotate - 15*15) / (2*accel);
!     cerr << "Using " << accelDistance << " " << accel << " " << vRotate << endl;
      waypoint *wpt;
      // Get the current active runway, based on code from David Luff
--- 348,354 ----
      //d = (Vf^2 - Vo^2) / (2*a)
      double accelTime = (vRotate - 15) / accel;
!     //cerr << "Using " << accelTime << " as total acceleration time" << endl;
      double accelDistance = (vRotate*vRotate - 15*15) / (2*accel);
!     //cerr << "Using " << accelDistance << " " << accel << " " << vRotate << endl;
      waypoint *wpt;
      // Get the current active runway, based on code from David Luff


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Flightgear-cvslogs mailing list
Flightgear-cvslogs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-cvslogs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic