Hi Adel, sorry have been pretty busy. Can you upload the script and the task you are trying to achieve then I will help you out
Launch QGC with dronekit script part3
Hi there @Adel
This may be a QGC issue.
Try downloading this old QGC version (4.0.10)
https://drive.google.com/file/d/1OUfHmUYWOfaxeC_ZEjKNpJJXoUiO9vR5/view?usp=sharing
If youâre still experiencing the error, it may be an ArduPilot version issue.
Try using ArduCopter 4.0.3 if youâre not already.
Hi @caleberg & @jashshah999
my vm crash so i downloaded ubuntu 20.04.
followed the instruction above but i cannot start sim_vehicle.py for some reason. Do you have any ideas?
i am using python3
It looks like you have âautosetâ and it should be âautotestâ so the file is not found, cause the directory is spelled incorrectly. If you fix that you should be good!
Hmm, looks like whatever software versions you are using has some errors.
This is why I recommend using the recommended software versions at the beginning of the course, cause you never know what is going to break and what youâll need to fix with new updates.
It may be worth it to download and import the pre-configured VM image, which will have the environment already set up and confirmed to be working once you create a VM from the image.
Without having direct access to your system you are using where youâre experiencing the error, itâs hard to offer debug advice. But it is most certainly a version issue.
Hi @caleberg
I re-downloaded the vm box and started from the begining. I have uppdated the QGC software but i am still facing the same issue launching â> launchSitl basic_template.py, where i manually need to swipe takeoff at the QGC to enter the guided mode. The same thing happens when i need to enter to LAND mode any ideas?
Best
Adel
Make sure youâre on:
ArduCopter: Version 4.0.3
QGC: Try 4.0.10 available here https://github.com/mavlink/qgroundcontrol/releases/tag/v4.0.10
Hi
I am using the 4.0.3 version with the QGC 4.0.10. Is there any command i can use to dubble check?
Hmm, at least this doesnât block the script from executing.
It really might be easiest to download the pre-configured VM image from the intro of the Drone Programming Primer and importing it into a new VM on your computer. This issue shouldnât be happening on that.