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'.
![image](https://private-user-images.githubusercontent.com/57678432/255097738-95d36bbc-19cc-417c-b76f-2505ce8e7da8.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTgwMjgzMzcsIm5iZiI6MTcxODAyODAzNywicGF0aCI6Ii81NzY3ODQzMi8yNTUwOTc3MzgtOTVkMzZiYmMtMTljYy00MTdjLWI3NmYtMjUwNWNlOGU3ZGE4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjEwVDE0MDAzN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTRhYzU2ZGM3NWQ2OWJiNTIxODkzZDQ2OTRhNWNkNjQxZmU0NDU4NTgwMzZjMWRhNTMzODQxYzZkNzg4MWNmZTMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.ltutEdjeUVTeXFFUqpE-kJftgsN6GnJpck0Isz6BRlg)
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'.
![image](https://private-user-images.githubusercontent.com/57678432/255098082-43836974-f937-4f56-bafd-ca3713e8b6dc.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTgwMjgzMzcsIm5iZiI6MTcxODAyODAzNywicGF0aCI6Ii81NzY3ODQzMi8yNTUwOTgwODItNDM4MzY5NzQtZjkzNy00ZjU2LWJhZmQtY2EzNzEzZThiNmRjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjEwVDE0MDAzN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTdkNjYzMWRkYTA5ZGM3OTk1ZTJkMGYyNDc3NzMxNWFjNTA0Mjk1YWY3YWQwZDVmMjIxMjdjODYwOGQ5ZGFmNDYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.J9Xcp1I7nBV4Iu67cecJLXrZlYSMc1IkxUG8Y1ZBu60)
However, when I use the stack command 'lsvar dist2fix.dist2dest', there is an error indicating that the variable dist2fix.dist2dest is not found.
![image](https://private-user-images.githubusercontent.com/57678432/255098414-64e462c6-d82e-42f3-bf2c-cf5fe090b301.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTgwMjgzMzcsIm5iZiI6MTcxODAyODAzNywicGF0aCI6Ii81NzY3ODQzMi8yNTUwOTg0MTQtNjRlNDYyYzYtZDgyZS00MmYzLWJmMmMtY2Y1ZmUwOTBiMzAxLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjEwVDE0MDAzN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWM2Njk1ZjQ0ZTI5ZjI1YWIxZjhmNmEyYzQ3MmFhY2QyMmM4OTllOGIxMjZhNGQ5ZWM3OTZkZmFkZDY0MGMyZWMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.Z_uGbmbsbC5YKeDurlE1GIOXDlzACEllMNhncDDXE_E)
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