Hi @Baydarakci, welcome to the forum
Would you be able to provide some more information about your setup and the code you’re running? It would be helpful to know which ArduSub version you’re using, along with the flight mode you’re operating in and the commands you’re using to control the vehicle.
The How to Use the Blue Robotics Forums post has a section on formatting, which includes how to post code in a code block