20,741
edits
(→Issues) |
No edit summary |
||
| Line 107: | Line 107: | ||
In order to see a smooth movement of our AI traffic we need to calculate a fictive velocity, this should be done in recompute_aircraft() | |||
== FGExternalMotionData == | Currently our extrapolation routine doesn't apply climb rate, we need to implement this. | ||
=== FGExternalMotionData === | |||
* "orientation" is where the nose of the aircraft is pointing | * "orientation" is where the nose of the aircraft is pointing | ||
| Line 165: | Line 163: | ||
* make the recompute_aircraft() method send valid packets for all traffic within 100nm {{Done}} | * make the recompute_aircraft() method send valid packets for all traffic within 100nm {{Done}} | ||
* use a default model for "unknown" aircraft (a320 for the moment) {{Done}} | * use a default model for "unknown" aircraft (a320 for the moment) {{Done}} | ||
== Work in Progress == | == Work in Progress == | ||
* actually use timeOffset in '''recompute_aircraft()''' method! | * actually use timeOffset in '''recompute_aircraft()''' method! | ||
* improve | * improve altitude computation (F-JJTH) | ||
* currently, we are using the hexcode as callsign to deal with identical callsigns (fg/fgms restriction) | * currently, we are using the hexcode as callsign to deal with identical callsigns (fg/fgms restriction) ( | ||
* stop using a leaking MsgBuf pointer for the created PositionMap packets | * stop using a leaking MsgBuf pointer for the created PositionMap packets | ||
* Start working on a '''removeOldAircraft()''' method to delete pointers of expired aircraft {{Progressbar|40}} | * Start working on a '''removeOldAircraft()''' method to delete pointers of expired aircraft {{Progressbar|40}} | ||
* Implement aircraft_recompute() method to update positions using interpolation/extrapolation {{Progressbar|50}} | * Implement aircraft_recompute() method to update positions using interpolation/extrapolation {{Progressbar|50}} | ||
* Only recompute positions once, in the FGAIS worker thread - and NOT in the fgms main thread ! {{Progressbar|30}} | * Only recompute positions once, in the FGAIS worker thread - and NOT in the fgms main thread ! {{Progressbar|30}} | ||
* Send packets to fgfs clients via sendAITraffic() method {{Progressbar|100}} | |||
* Move the vessel tracking code out into its own module {{Progressbar|20}} (Hooray) | * Move the vessel tracking code out into its own module {{Progressbar|20}} (Hooray) | ||
* Implement an OOP framework for different providers {{Progressbar|20}} (Hooray) | * Implement an OOP framework for different providers {{Progressbar|20}} (Hooray) | ||