To be cost-effective, robot-based undersea mining must comply several operational constraints. Among the main constraints are the time and energy required to extract the mineral from the seabed. It is also important to reduce the wear of the joints that connect the ship on the surface with the robot crawler that does the mining on the seabed, since this not only reduces operating costs, but also lengthens the useful life of these parts which increases system security. For this reason, the least amount of twisting in these pieces is preferable, so it is advisable to reduce the number of turns or changes of direction in the trajectory of the robot that extracts the mineral. In this article, we present an algorithm to optimize Coverage Path Planning using Genetic Algorithm to produce paths with longer segments, which can be used in underwater mining and reduce the effects the mentioned turning problem. The resulting paths have on average 55% less changes of directions in the trajectory than a GA with standard cost function. In addition, in tests made by placing small obstacles in a random way, 76% of useful paths were obtained and up to 59% of useful path when the obstacles were grouped into a single larger obstacle.