ArduSub And PixHawk Servo control

Hi! I’m finishing my dissertation and want to test my work with the BlueRov2. I’m working with computer vision trying to make the ROV approach a target identified by the camera. I already have a c++ opencv code done and a control algorithm. I want to know if it is possible to access the gain in the output to the servo motors. I will run everything in the companion computer.

Thanks in advance

Hi,

Check our pymavlink documentation and take a look in Send Manual Control example.
You should use the buttons field to control gain_inc and gain_dec.

1 Like

Thank you, I will try that.