We are using the code of the example " Send RC (Joystick)" found here to write a specific PWM value to one of the channels. This code is executed in a loop, because we want to write the PWM for a specific time.
The problem is that when running the code, the PWM value on that channel wobbles between the one we are sending, and the reading that the topside computer gets from the joystick. And this leads to a noticeable disturbance in the BROV’s motion in water.
How can we get that channel to stabilize, i.e. to ignore the joystick and solely receive the value from the code that is being executed?
Thank you in advance