-
Notifications
You must be signed in to change notification settings - Fork 462
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Aircraft's Systems
sub-directories are missing in the wheel packages.
#687
Comments
@bcoconni in addition to aircraft specific |
Oups ! You're absolutely right @seanmcleod. Thanks for the heads up 👍 |
The other thing I noticed last night when looking into this and finding the relevant code in For example we have So I didn't submit a pull request last night to fix the missing sub-directories for aircraft since I wanted to double-check the case sensitivity issue. But you then pushed a commit, so I'll let you double-check 😉 In general Windows has a case preserving but case insensitive file system, but in general Unix file systems are case preserving and case sensitive. |
Some historical background on the capitalization. The lower case is
JSBSim-style whereas the upper case is FlightGear-style. Originally the
aircraft model was to be spread across three directories so that the
engines and systems could be shared. In FlightGear it made more sense
to package the model in a single directory using subdirectories for the
engines and systems, to ease the distribution of models. So the loading
algorithm was changed to look for the subdirectories as well as the
external directories.
…On 7/27/22 02:58, Sean McLeod wrote:
The other thing I noticed last night when looking into this and
finding the relevant code in |setup.py.in| was whether
|os.path.exists()| etc. are case sensitive or not across Windows and Unix.
For example we have |aircraft\MB339\systems|, i.e. all lower case for
|systems| whereas other aircraft have |\Systems| etc.
So I didn't submit a pull request last night to fix the missing
sub-directories for aircraft since I wanted to double-check the case
sensitivity issue. But you then pushed a commit, so I'll let you
double-check 😉
In general Windows has a case preserving but case insensitive file
system, but in general Unix file systems are case preserving and case
sensitive.
—
Reply to this email directly, view it on GitHub
<#687 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFDBF2PQ7PR4GS3BPJEWZNDVWEB35ANCNFSM54XXX63Q>.
You are receiving this because you are subscribed to this
thread.Message ID: ***@***.***>
|
Regarding the case sensitivity topic, I'd say we are in a mixed situation since the default Lines 99 to 101 in 16bb270
while the Lines 611 to 620 in 16bb270
The same issue applies to jsbsim/src/models/FGPropulsion.cpp Lines 439 to 448 in 16bb270
So strictly speaking the code that has been committed to
I can't find any
Yes, sorry. I was so eager to fix my error that I pushed a fix as soon as I could. |
Definitely no problem 😉.
Hmm, just double-checked via |
Discussed in #683
Originally posted by cjdupuis1 July 21, 2022
I have been having trouble with a lot of the example scripts that come with the download. For example, the Short-S23 is missing the Short_S23-hydrodynamics system file. The ah1s helicopter model is missing files. It seems like only about half of the example scripts run without errors. I can provide more examples if necessary.
Are all of the example scripts supposed to run?
The text was updated successfully, but these errors were encountered: