You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 14, 2021. It is now read-only.
Current situation
Currently, each aircraft implements its own structure as it is a mean to dispatch the adequate method for functions like: get_arp, get_empty_cg, get_fuel_tanks... This is nonsense because:
some of this methods need to be called before or during the aircraft object construction (see ugly workarounds in: C310() and F16())
even there is a struct for each aircraft, they share the same attributes
Create a unique struct to be shared by every aircraft
Separate aircraft parameters in a different struct that will be part of the aircraft object.
These parameters struct can be specific to each aircraft until a good generalization is found. However, a set of general methods to access common attributes must be provided.
For each aircraft a default configuration will be provided.
Current situation
Currently, each aircraft implements its own structure as it is a mean to dispatch the adequate method for functions like:
get_arp
,get_empty_cg
,get_fuel_tanks
... This is nonsense because:C310()
andF16()
)Objective
Solution proposal
Concerns
This will not benefit from constant propagation anymore.
The text was updated successfully, but these errors were encountered: