mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
When simulating with lockstep we can raise the speed by setting the env variable `PX4_SIM_SPEED_FACTOR`. Some inputs like RC, MAVLink heartbeats from a ground station, or offboard controls via MAVLink are still at the normal speed which leads to timeouts getting detected in PX4. To work around this issue we can automatically multiply the timeout parameters by the speed factor.