Setting Speed Factor for PX4 SITL

What I want to achieve

I want to run the PX4 SITL with a speed factor like 5x or 20x. How can I achieve this?


This is supported in MAVSDK tests:

And it would be very nice to use it for regular PX4 SITLs!


Another Discuss topic that was unanswered, which asks the same question:

Hello junwoo0914!
You can check this doc first if you only want to running SITL with a fixed speed factor.

1 Like

PX4_SIM_SPEED_FACTOR=2 make px4_sitl jmavsim
This would do the job :wink:

Thank you :slight_smile:

1 Like