MAV_CMD_DO_SET_SERVO is not working in missions

Good day,

I have connected the servo to AUX1. 5V is connected to.
When i’m trying to run from console: pwm test -d /dev/pwm_output1 -c 1 -p 2000 the servo is working.
When i’m trying to run “Set servo” command from mission with Param1: 1.0000000 and Param2: 2000.0000000 - nothing happened (copter is armed) . Maybe i’m missed some configuration. Please help :slight_smile:

Hi

I seem to have the same issue. I wonder if you have found a fix.

In my case, I can move the servo through my PixHawk mini using an RC passthrough channel, so I know the channel is working. I can see the command in QGroundControl is setting the PWM signal to the servo by watching SERVO_OUTPUT_RAW in the MAVLink Inspector.

However, when I send the “Set Servo” command from a mission flight plan – with param1set to 5 (the correct servo number) and param2 set to 2000, nothing happens.

Thanks

1 Like

@stan_h Thanks for your kind informations. I know RC control works. but using mavros or mavlink, I can’t control servo on AUX1 channel. Do you know how to solve this issue?