I'm attempting to connect my PX4 to both QGroundControl and AirSim at the same time. Serial connection to AirSim works, but in that case, since the port becomes busy, I cannot open QGroundControl at the same time. And when I set up forwarding with MavProxy, the following error happens on AirSim.
Settings
Note: I have removed the lines for OriginGeopoint and LPE_LAT and LPE_LON to not publicly say my GPS location.
Open QGroundControl and ensure that UDP connection through port 14541 works.
Launch AirSim with settings.json provided above. The error happens.
Include full error message in text form
Exception sending messages to vehicle
MavLinkConnectionImpl: Error sending message on connection 'hil', details: UdpClientPort socket send failed with error: 10038
Message length 37 doesn't match expected length36
not receiving any messages from HIL, please restart your HIL node and try again
During this, I can see the MavProxy output as following:
Bug report
What's the issue you encountered?
I'm attempting to connect my PX4 to both QGroundControl and AirSim at the same time. Serial connection to AirSim works, but in that case, since the port becomes busy, I cannot open QGroundControl at the same time. And when I set up forwarding with MavProxy, the following error happens on AirSim.
Settings
Note: I have removed the lines for
OriginGeopoint
andLPE_LAT
andLPE_LON
to not publicly say my GPS location.How can the issue be reproduced?
14541
works.settings.json
provided above. The error happens.Include full error message in text form
During this, I can see the MavProxy output as following:
And this keeps repeating forever.