"dronekit-sitl waiting for connection..." But what am I to do next?

853 views Asked by At

I have installed it. But what to do next? MavProxy application doesn't respond to commands or am I doing something wrong over here. In short, someone please guide me through connecting simulated vehicle with mission planner. I know it is very rudimentary but please help me out here.

1

There are 1 answers

2
Baskara On BEST ANSWER

To connect dronekit-sitl to Mission Planner simply just set the connection setting (at the top right) to TCP then click the connect button and set the remote IP 127.0.0.1 and remote port to 5760. Like in this picture:

  1. Set connection type
  2. Set remote IP
  3. Set remote Port

And you should be connected to the dronekit-sitl, the developer actually specify the connection setup at their docs Link.


But I recommend you to not use the dronekit-sitl if you are using it to develop program using dronekit. Just use the original SITL from Ardupilot site Link. Why ? because the dronekit-sitl is limited to the version 3.3 firmware (Right now the latest firmware is 3.6) and you can't do advanced testing with it (Like simulate LIDAR, Wind simulation, even connecting your SITL to 3D Simulator).

A tips from me is if you want to develop your program in Windows and use the Mission Planner as GCS you can enable the Windows Subsystem for Linux (WSL) Link and install Ubuntu to the WSL and follow the SITL setup on Linux guide Link.

OR just use Ubuntu to develop your program and use APM Planner as your GCS Link or just install Mission Planner on Ubuntu using WINE/Crossover (This is the option I use right now).