Controlling ROV to 90 degrees not working

Hi @EliotBR , @williangalvani , i will like to continue with this thread.

Now we are making test on a simulator, this to speed up the try/test process. We follow instructions from : Setting up a simulation environment

Everything is working fine, so on that part, all good.

I was testing the code you shared, @williangalvani . Pymavlink · GitBook

And i have an observation:

  • Target depth is hold as expected, if i input 5 meters, 2 meters, the ROV follows the instruction as it should. No problem on that.
  • The issue arise on the set_target_attitude function. i try with something simple, like test the yaw movement, i see that what it actually does is go to that yaw angle, and then comes back to the original position. This behavior is follow on roll and pitch.

Is there a way to modify this function so it can actually hold the angle asked?, like the 90 degrees or 180 degrees for roll

Thanks in advance.

Cc: @SaferHarbors
.

1 Like