An entity is being created and controlled by an external application via DIS. The aircraft is moving as expected in the external application and in the PDUs in Wireshark, but in Prepar3D it is stuck in the middle of the ocean on top of some weird red fixture. This is not the location that is being conveyed by the EntityState PDUs. It is getting updates because the heartbeat time keeps resetting to 0. Any ideas?
https://imgur.com/DtmoHmh
[RESOLVED] External DIS entity stuck on water
-
- Lockheed Martin
- Posts: 1207
- Joined: Tue Sep 25, 2012 2:34 pm
Re: External DIS entity stuck on water
Hi shrizzou,
Is your host sending position in ECEF coordinates? Could you post a Wireshark screenshot of your Entity State PDU?
Regards,
Clifton
Is your host sending position in ECEF coordinates? Could you post a Wireshark screenshot of your Entity State PDU?
Regards,
Clifton
Clifton Crane
Prepar3D® Software Engineer Sr.
Prepar3D® Software Engineer Sr.
Re: External DIS entity stuck on water
Yes it is sending ECEF coordinates. Here is the Entity State PDU. The coordinates in the PDU put it over Texas.
Re: External DIS entity stuck on water
I figured out the problem. It was because both the external DIS application and P3D were using 1 for DIS application ID. Once I set them to unique values then the external entity showed up correctly.