on this video, you can see that I was unable to connect to WSL Ubuntu SITL from Mission Planner.
after running the command :
"sim_vehicle.py -j4 -v Plane -f quadplane -A “–serial0==udpclient:127.0.0.1:14550” --no-mavproxy --custom-location=“2.48647,-159.45417,0,0"”
the result seems good in Ubuntu Terminal.
However, I couldn’t connect.
usually when I input this command, Mission Planner automatically detected SITL instance and automatically connected.
I installed and tested with this method several times with several laptops.
only this laptop is not connecting well.
Could I ask the way to find the reason, to experts here in forum?
I remember you recommended following the official guide for ArduPilot debugging regarding my AHRS examples question, but there was no MAVLink running code in the examples, which seemed illogical for my question.
Thank you for your responses, but not all official guides are applicable to every situation.
I resolved the issue by reinstalling Ubuntu. I had cloned two ArduPilot repositories with different name on the same Ubuntu installation, and it appears that sim_vehicle.py was conflicting with both repositories.
For your question, The --serial0==udpclient:127.0.0.1:14550 command was used to connect multiple vehicle types (I specified the UDP port number for this purpose, and as I remember, this command is also in the official ArduPilot guide).
As I mentioned in my previous question, I installed and ran it with this command several times before, so it wasn’t an issue of not following the guide.