Does dronekit sitl works for plane?

Hi

I am facing a serious trouble. Apparently the dronekit-sitl works for copter and rover but not the plane and causes the following issue:

alphaqueen@DESKTOP-MINFM4M:~$ mavproxy.py --master tcp:127.0.0.1:5760 --sitl 127.0.0.1:5501 --out 127.0.0.1:14550 --out 127.0.0.1:14551
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> AP: Calibrating barometer
online system 1
INITIALISING> Mode INITIALISING
AP: Initialising APM…
PANIC: AP_Baro::read unsuccessful for more than 500ms in AP_Baro::calibrate [2]

no link
link 1 down

Is it just me or the dronekit-sitl doesn’t support plane??

You can also build sitl from source.

Hi Mustafa

Thanks for your reply. Of course I have set the build environment and it works fine with the sitl and I can fly the plane but when it comes to dronekit with sitl to run the external python code for API it doesnt work.

Have you tried that?

It works for PLANE without any doubt as i seen it happening prior. Refer to this Document
https://dronekit-python.readthedocs.io/_/downloads/en/stable/pdf/

https://ardupilot.org/mavproxy/docs/getting_started/download_and_installation.html

you should be able to do the RUNS. GOOD LUCK