|
From: Erik H. <er...@eh...> - 2017-10-24 08:39:32
|
On 10/24/2017 10:10 AM, James Turner wrote: > BTW, this is all modulo the fact, that the AI system has pretty low > overhead (ignore the traffic system which does a lot of work), whereas > hundreds more Nasal objects, could have quite a serious impact. My > preference there would be to add a Nasal-C++ object analogous to AIbase > which Nasal can control (set motion parameters, etc) but which does its > per-frame updates in C++ with no timers or update loops on the Nasal > side. (Or even via some PID controllers, so Nasal could set heading / > speed / rate-of-climb infrequently but have a ‘NasalAIAircraft’ then run > the PIDs and motion updates in C++. This is why I started the AISim FDM (found under src/FDM/SP for now) but unfortunately I did not have time to finish it. Also there is a generic-ish autopilot developed which could be used to fill in the missing gaps. Erik -- http://www.adalin.com - High performance virtual reality audio software. |