Replies: 1 comment 1 reply
-
Hi @ZJLim, I think this should have worked, so it looks like you've found a bug! We'll pick this up after the summer holidays. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I cannot seem to access the new per-aircraft states that I have created in my plugins.
I want to log these new states while running the simulation.
When I use the stack command 'lsvar', I am able to see my plugin which is 'dist2fix'.
Next, when I use the stack command 'lsvar dist2fix', I managed to see the attributes that I have introduced which are 'dist2dest', 'dist2IAF' and 'STAR'.
However, when I use the stack command 'lsvar dist2fix.dist2dest', there is an error indicating that the variable dist2fix.dist2dest is not found.
Kindly advise on how I can access the new per-aircraft states that I have introduced in my plugins to do data logging. The snapshot below shows how I have initialised the class.
Update: My current workaround is I edited the traffic.py file directly by adding the attributes in it. But I hope there exists another way in which I can do everything within the plugin file instead of editing the source code.
Thank you.
Zhi Jun
Beta Was this translation helpful? Give feedback.
All reactions