Re: [Flightgear-devel] AI flights with same arrival and departure

2009-12-06 Thread Durk Talsma
Hi,

On Monday 23 November 2009 07:17:48 pm Durk Talsma wrote:
> Hi,
> AI flights that use their departure airport for arrival are indeed
> currently not allowed. This is something that I would like to support in
> the not too distant future, and just looking at the code, it does look like
> this isn't something that is really too hard to do.
>
> I've been looking at src/Traffic/Schedule.cxx, and probably have a
> reasonable workaround that would allow to support this.
>

For your information, I just committed a patch to the traffic manager, that 
should allow flights with the same arrival and destination airports. I haven't 
really had the chance to test this, so please let me know any problems should 
they occur.

Cheers,
Durk

--
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] AI flights with same arrival and departure

2009-11-23 Thread Durk Talsma
Hi,

On Monday 23 November 2009 05:45:06 pm Gijs de Rooy wrote:
> Hi Csaba,
>
> > The schedule code doesn't like AI flights with same arrival and
> > departure, it produces some NaNs for them. There are a bunch of such
> > flights in AI/Traffic/R/RNAF.xml. I don't see any support for them
>
> It was me who created that traffic file. I was unaware that we did not
> support those flights, as it worked fine on a couple of computers (well,
> most of the time. Apart from some errors that appear every now and then)...
>

AI flights that use their departure airport for arrival are indeed currently 
not allowed. This is something that I would like to support in the not too 
distant future, and just looking at the code, it does look like this isn't 
something that is really too hard to do. 

I've been looking at src/Traffic/Schedule.cxx, and probably have a reasonable 
workaround that would allow to support this.

Cheers,
Durk

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] AI flights with same arrival and departure

2009-11-23 Thread Gijs de Rooy

Hi Csaba,

> The schedule code doesn't like AI flights with same arrival and
> departure, it produces some NaNs for them. There are a bunch of such
> flights in AI/Traffic/R/RNAF.xml. I don't see any support for them

It was me who created that traffic file. I was unaware that we did not support
those flights, as it worked fine on a couple of computers (well, most of the 
time. 
Apart from some errors that appear every now and then)...

Cheers,
Gijs
  
_
25GB gratis online harde schijf
http://skydrive.live.com--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] AI flights with same arrival and departure

2009-11-23 Thread Csaba Halász
The schedule code doesn't like AI flights with same arrival and
departure, it produces some NaNs for them. There are a bunch of such
flights in AI/Traffic/R/RNAF.xml. I don't see any support for them in
the code so I added a little check like this:
http://gitorious.org/~jester/fg/jesters-clone/commit/c6a18a540da4705c802849a7ac956af2508f45b4

Big thanks to "dihedral" on IRC for finding this problem.

-- 
Csaba/Jester

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel