Declaring new Property in aircraft .xml #661
Unanswered
ThomasKennings
asked this question in
Q&A
Replies: 1 comment
-
Please post the actual snippet and also post the actual output error. It makes it much more difficult and partly a guessing game trying to debug issues with very limited info. Here are 2 random examples. A good source is to look for existing examples in the repo. jsbsim/aircraft/global5000/global5000ap.xml Lines 30 to 53 in 33735db jsbsim/aircraft/global5000/global5000.xml Lines 250 to 253 in 33735db |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Documentation like the JSBSim PDF manual suggests that it's totally possible to instantiate an aircraft-specific variable, but when I try to do so I get an invalid token error at the bottom of the 737.xml file. I am trying to make an altitude setpoint variable for use in a PID flight controller. I have tried several things, among them putting this next to my PID section:
fcs/pid-alt-setpoint
Can someone give me an example of the proper way to do this? For the life of me I cannot find where other aircraft-specific properties are declared. I apologize for clogging this forum so!
Beta Was this translation helpful? Give feedback.
All reactions