Servers by jDrones

Mission Planner Simulation & Dronekit

Hello. Does anyone know how to connect mission planner’s simulator with dronekit? (and I don’t mean like dronekit-sitl) I am trying to run a python script to the simulator via dronekit like this video at 6:41. Thank you!

What is your input to the connect() command for dronekit?

See this line in the example script used in the linked video.

print("Connecting To Vehicle...")
vehicle = connect('udp:127.0.0.1:14551')

You’ll want to use the TCP directly to ArduPilot SITL rather than the MAVProxy UDP port if you are not running MAVProxy. You can read about that here. Serial port mapping for SITL can be found here.

Servers by jDrones