[RESOLVED] External DIS entity stuck on water

For topics related to the creation of simulation objects (SimObjects). This includes development of aircraft, ground, and maritime vehicles.
Locked
shrizzou
Posts: 5
Joined: Tue Mar 01, 2022 8:31 pm

[RESOLVED] External DIS entity stuck on water

Post by shrizzou »

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
Clifton Crane
Lockheed Martin
Posts: 1207
Joined: Tue Sep 25, 2012 2:34 pm

Re: External DIS entity stuck on water

Post by Clifton Crane »

Hi shrizzou,

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.
shrizzou
Posts: 5
Joined: Tue Mar 01, 2022 8:31 pm

Re: External DIS entity stuck on water

Post by shrizzou »

Yes it is sending ECEF coordinates. Here is the Entity State PDU. The coordinates in the PDU put it over Texas.

Image
shrizzou
Posts: 5
Joined: Tue Mar 01, 2022 8:31 pm

Re: External DIS entity stuck on water

Post by shrizzou »

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.
Locked