Board index FlightGear Development AI Traffic

Gotcha aka news from the Rabbit Hole

Intelligent, computer controlled vehicles that drive/fly over the planet!

Gotcha aka news from the Rabbit Hole

Postby portreekid » Tue Aug 24, 2021 8:29 pm

Just to let you know progress is being made. I've tracked down the "left-turn-bug" maybe better known as S-turn bug. headingErr and headingDiff are agnostic to left/right. This means the code detects there is a tightening curve, but actually it's a s-curve.
Image
The CSV file being produced by the unit_tests could be used by a menu option in the future. This would help with post mortem debugging. I now have a visual debugger showing a path and all vectors. Pre-alpha but if there was to be a user menu option I'll release it.
portreekid
 
Posts: 651
Joined: Tue Jan 14, 2014 4:36 pm
Location: Leipzig
Callsign: PORTREE
Version: 2020.2.1
OS: Windows 10

Re: Gotcha aka news from the Rabbit Hole

Postby BecOzIcan » Wed Aug 25, 2021 5:07 am

Well done Keith, this one has to be the number one problem on the AI (long) list. You should also see it with arriving aircrafts stopping at their gate at an angle.

Cheers
Ian
Current Projects: AI Traffic, Models & Liveries
User avatar
BecOzIcan
 
Posts: 1302
Joined: Tue Oct 04, 2011 11:43 pm
Location: Sydney, NSW, Australia
Version: 2020.4.0
OS: Win10

Re: Gotcha aka news from the Rabbit Hole

Postby Johan G » Wed Aug 25, 2021 9:27 am

portreekid wrote in Tue Aug 24, 2021 8:29 pm:headingErr and headingDiff are agnostic to left/right. This means the code detects there is a tightening curve, but actually it's a s-curve.

Oh.
Low-level flying — It's all fun and games till someone looses an engine. (Paraphrased from a YouTube video)
Improving the Dassault Mirage F1 (Wiki, Forum, GitLab. Work in slow progress)
Some YouTube videos
Johan G
Moderator
 
Posts: 6629
Joined: Fri Aug 06, 2010 6:33 pm
Location: Sweden
Callsign: SE-JG
IRC name: Johan_G
Version: 2020.3.4
OS: Windows 10, 64 bit


Return to AI Traffic

Who is online

Users browsing this forum: No registered users and 1 guest