Servers by jDrones

Sending command from rpi to px4 to spin motors in test mode to x%

Hello Community,

I have an Rpi connected to px4 over ttyS0 and at present I can arm/disarm the drone with dronekit API.

In a test mode, I want to send a command (in python running on Rpi) to request the motor (without propeller attached) to spin at x% (x can take value between 10 and 100) but I have been struggling to find a way to do it.

Would anyone know how to do that?

Thanks in advance

Servers by jDrones