Autonomous Code Snippets

Controlling the propellers directly is not really something you’re going to be able to do. PX4 is ultimately talking with the ESCs, and PX4 thinks more in terms of “where I am, and where do I want to go” rather than raw propeller speed.

The closest thing you’ll probably be able to do is quickly arm and disarm the drone on the ground to spin the propellers briefly.