Regarding the abnormal results arising when multiple planes are associated with an airport at the same time(after commit 89ec5c7) #5
Closed
LShivaRudra
started this conversation in
General
Replies: 1 comment
-
This issue seems to be solved to some extent after the commit "44c248b" of the 'sync_issues' branch. The key changes are:
The working of this feature is as below: |
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
-
I found one of the major causes of this issue. Check the following code snippet from airport.c(line 85):
In this, the msg_type is being set as 'msg->airport_num+10' which is same as the incoming msg type for the airport. So, there is a chance that the airport process will be receiving the data that it is sending. The same thing is happening in multiple other places of other files. So, using 'msg_type' attribute properly can fix the issue.
Also, it is better to use a specific msg_type to ATC process to receive data instead of using '0'. I plan to use '22' as the msg_type for ATC to receive msgs over the queue.
Beta Was this translation helpful? Give feedback.
All reactions