Get PWM values, which is sent to all motors

Hello,

I am wondering, if it is possible to get pwm values which are sent to motors? Could anyone advise me please, which function in Ardupilot returns these pwm values?

Thank you,
EM

hello,

You can get the value with the msg MSG_SERVO_OUTPUT_RAW