Offboard mode does not work

Hello everyone,

I’ve been trying to develop an offboard mission file in python for the iris model. This offboard model is completely based on the offboard_position_ned.py file that can be found in MAVSDK-Python-main/examples.

The problem comes when after arming the iris the following message is printed by the terminal:
image
In my offboard file i have tried to write the initial setting point before and after the offboard mode begin command, but nothing works.
This is a part of my .py file

Does anyone know a solution for this problem? Thank you

2 Likes

I am actually stuck with the same exact problem! Any help would be wonderful. Thanks!

Hey there,
from what it looks like the drone has parameter COM_RC_IN_MODE set to 0.
You need to set it to 1.
I think you should be able to change the simulated drone’s parameters in QGC but not 100 percent sure, you might have to do it in the files before compiling.
cheers

2 Likes

Thanks for your answer @Christian-Born,

Searching for that parameter in QGC in found the next:


It is supposed to be like this?

Exactly. :+1:t2:
Will disable the check and therefore no R/C radio needs be present.

1 Like

Thanks for your fast answer @Christian-Born.
I have tried but it does not work. The python code that I’m trying to run is the one available in MAVSDK-Python-main\examples\offboard_position_ned.py, but I am not being successful because the drone seems not to obey the PositionNedYaw function.
Have you try anything like this or any offboard flight recently?
Thanks again!

Yes, I have but only IRL since I’m not working much with the simulator personally.
I was just quickly judging from your screenshot and the corresponding error message because I encountered this exact situation before. ,)

I understand…
Thanks for your reply Christian, i’ll keep searching for what i need. Thank you so much and happy new year!