-
Notifications
You must be signed in to change notification settings - Fork 540
Closed
Description
I'm submitting a ...
- bug report
- feature request
- support request => Please do not submit support request here, see note at the top of this template.
Describe the issue
Given following python code:
import jsbsim
fdm = jsbsim.FGFDMExec(None)
fdm.load_model('c172x')
print(fdm.get_property_catalog())According to the C++ documentation, getPropertyDialog does not require an argument (it also wouldn't make much sense), see: https://jsbsim-team.github.io/jsbsim/classJSBSim_1_1FGFDMExec.html#ac19c4ddfeb51d183eb9e40d9a8200850
What is the current behavior?
Traceback (most recent call last):
File "/home/lflo/jsbsim_testing/jsbsim_testing/property_catalog_bug.py", line 5, in <module>
print(fdm.get_property_catalog())
TypeError: FGFDMExec.get_property_catalog() takes exactly one argument (0 given)
What is the expected behavior?
Just give a list of the properties available (probably)
What is the motivation / use case for changing the behavior?
I would like to print a list of all accelerations available, without hardcoding them
Please tell us about your environment:
- PopOS 22.04
- JSBSim Flight Dynamics Model v1.1.11 [GitHub build 741/commit 10e077b] Feb 13 2022 12:40:33 [JSBSim-ML v2.0]
- Python
Other information
Reactions are currently unavailable