Companion Computer and SITL/HITL

Hello everyone,

I’m trying to take control of my flight controler with a companion computer.

And for testing purpose I’d like to use some simulation.
I read that we can do SITL with MAVProxy but that way I can’t integrate my companion computer.

Is it possible to link my physical Flight Controler with the simulation, send MAVLink commands from my companion computer to the FC, and see the results on the simulator ?
Or maybe directly the CC to the simulation ?

Thanks in advance !

Hi @John_Smith2 ! I suggest you look at pymavlink: Pymavlink (Python-mavgen) · MAVLink Developer Guide and MAVLink Interface — Dev documentation

When simulating, your computer (pymavlink script) will be like a companion computer, with SITL running in background.

For advance 3D simulation, you can try gazebo or other simulators mentioned here: Simulation — Dev documentation

1 Like