I am trying to run a HITL simulation in jMAVSim on a quadcopter and connect it to Raspberry Pi by using the 433 MHz Telemetry dongle.
I got the simulation running, tested it with the RC, and I am getting expected output. (Connecting PX4 (Pixhawk 2.4.8.) via USB to Windows PC (with HITL enabled), running the jMAVSim simulation from run-console.bat, and then opening Qgroundcontrol.)
Now for my RPi - PX4 connection I am using the 433MHz telemetry radio, which is connected to RPI in USB and to PX4 to TELEM2 port. I set up the baud rate on RPI and PX4 to 57600 8N1 which seems to work. When I run the takeoff_and_land.py example from https://github.com/mavlink/MAVSDK-Python I get Timeouts all the time. Sometime the Quad takes off and then timesout and is left hanging, or times out right after sending the takeoff command. I have set MAV_1_MODE to “minimal” and it has helped a little, because before that if I remember correctly I never got to ARM the Quad.
Can anybody help me with this? Is the 433MHz just to slow for this type of application, or is there some workaround I am not seeing? I have no idea how to troubleshoot this.