SITL and XPlane simulation
The XPlane simulation works with HIL, however when I try to connect using the "SITL" checkbox, mission planner doesn't connect to the SITL. I've checked all the ports and IP addresses and I can connect to the SITL with MAVProxy and QGroundControl. I can even connect to the SITL with the "Connect" button and selection of "TCP" in Mission Planner, however this doesn't send the data from XPlane back to the SITL.
did you check the advanced settings?
Yep. The problem seems to be that the SITL uses two UDP ports where MissionPlanner uses a single TCP port
I'm seeing the same issue.
Is there any solution found for that ? I am facing the same problem please
Try udp
Is there is any requirement for the direction of software (Xplane and MP should be in the same direction ?) because i tried UDP and TCP as well ,always MP said heartbeat packet missed any tips will be very appreciate it I spent like two weeks trying to figure it out without any result
Do you have the normal SITL sim working?
On Aug 9, 2016 3:48 AM, "ayoubzar" [email protected] wrote:
Is there is any requirement for the direction of software (Xplane and MP should be in the same direction ?) because i tried UDP and TCP as well ,always MP said heartbeat packet missed any tips will be very appreciate it I spent like two weeks trying to figure it out without any result
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ArduPilot/MissionPlanner/issues/835#issuecomment-238518484, or mute the thread https://github.com/notifications/unsubscribe-auth/AEj7G2wS5HR18d10H_Czt1CwFpSUWhCLks5qeFsGgaJpZM4D7yBR .
Yes it is working normally but when i want to contact it with mission planner a message pops up said heartbeat packet missed . all the ports are good ,IP as well ,more than that sometimes it works but most the time is not what will the problem in this case Sir please
Sir is this software need any extra codes for the communication or all includes in them ? what is the relation of Mavlink with SITL ? as far as I understand heartbeat packet send by Mavlink verifies is the APM connected or not but we talking about SITL here there is no Hardware . why this message pops up ? please any help I am like loser now
I am facing the same issue. As I would like to use the SITL with x-plane but mission planner will not connect with the Arduplane.exe via TCP when I have chosen x-plane as a simulation platform. I think the issue is with in the arduplane code.
are you using the latest version of mission planner? have you allowed missionplanner, SITL and Xplanes through the firewall?
Yes I am using the latest mission planner 1.3.41. And I did disable the windows firewall entirely. But i think the STIL is not sending any messages on tcp port 5760
I also use win10 and try wiki‘s three ways:Using SITL from MissionPlanne;Using SITL with your own GCS;Using SITL with sim_vehicle.py None of them worked...no matter use Mavproxy or MP,they can't get TCP or UDP messages...
Same as @nocternal I've tried every way described in documentation, none works.
3years later, and I have the same problem. Any updates?
No... I finally use Flightgear instead of XPlane to have visualization of SITL. At least Flightgear works
@nocternal enabled xplane data outputs and it started working. http://ardupilot.org/dev/_images/mavlinkhil1.jpg
@mojtabacazi wow,I'll have a try , thanks