> 
> Hi Vivian
> 
> Vivian Meazza wrote:
> >   
> > I've got the code for AIShips to follow a flightplan working. I've 
> > done a little testing on Dene's data. Seems OK, except more 
> realistic 
> > turning circles make the ships run aground from time to time - the 
> > waypoints need adjusting, and perhaps a few more would help.
> Rationale;
> The trip is 3 hours, with 12 turns at 20 s each that's about 
> 4 min spent 
> turning in a 3 hour trip.
> The more turns the more waggles => the less turns the less waggles
> 
> yes more waypoints might make the turns more realistic but 
> would incur 
> more waggles => less realistic
> 
> Less turns => less time being "unrealistic".
> 
> and in a normal flight with only 4 minutes out of 3 hours being 
> "unrealistic", statistically you'd be very unlucky to see 
> this behaviour 
> (unless you're like Georg and stalk it with a Harrier :-)  )
> 
> but thanks for the comments... BTW...I mailed Neil off line and 
> obliterated the erroneous second scenario entry ( I use 2 
> entries, one 
> for each way)..now he has a ferry that "flies" the flightplan but 
> carries on into the city...  we're working on the END & EOF 
> entries and 
> the scenario <repeat>true</repeat> entry....might be good to bring it 
> back on-list now we've got past the syntax stuff ;-)
> 
> thought!..... could the <type>ship</type>  scenario have some 
> functionality to smooth out turns?
> 

I've tested the new code using your ferries. No wiggles here that I can see,
however the ships now have a default turning radius of 2000ft (adjustable in
the scenario file) in the revised code. This radius also varies according to
speed. The ship rolls reasonably realistically in the turn. Acceleration is
also realistically modelled  When testing using your "flightplan" the
ferries run into the coast, so either the waypoints are badly placed, or
they need adjusting to allow for realistic turning radii, or the coast has
moved. This last is possible as we recently changed the mapping of coasts in
general.

If you want a flightplan to repeat, you leave off the END item in the
flightplan, and set <repeat>true</repeat>. The last entry in the old
flightplan become the first in the repeated plan so you need to allow for
this. 

Vivian



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Flightgear-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-users

Reply via email to