I’m trying to get SITL working with XPlane. I start arduplane like this:
build/sitl/bin/arduplane --model XPlane Creating model XPlane at speed 1.0 Home: -35.363261 149.165230 alt=584.000000m hdg=353.000000 Waiting for XPlane data on UDP port 49001 and sending to port 49000 Starting sketch 'ArduPlane' Starting SITL input Using Irlock at port : 9005 bind port 5760 for 0 Serial port 0 on TCP port 5760 Waiting for connection ....
XPlane (10) says it is successfully sending to 49001. I then start mavproxy like this:
mavproxy.py --master=tcp:127.0.0.1:5760 Connect tcp:127.0.0.1:5760 source_system=255 Log Directory: Telemetry log: mav.tlog Waiting for heartbeat from tcp:127.0.0.1:5760 MAV> link 1 down
Which connects because arduplane then continues in response:
Connection on serial port 0 bind port 5762 for 2 Serial port 2 on TCP port 5762 bind port 5763 for 3 Serial port 3 on TCP port 5763 validate_structures:401: Validating structures
Arduplane never gets past this, and mavproxy never gets a link. I don’t know if the problem is in AP_Logger or later than that. Does anyone have any idea what I’m doing incorrectly? All based on a fresh build of ardupilot master on OSX 10.14.5 following “Using SITL with your own GCS” instructions at http://ardupilot.org/dev/docs/sitl-with-xplane.html
Thanks in advance,