-
Thomas Egger authored
If the speed is equal to 0 (exactly) we assume a small speed of 0.01 m/s. Otherwise a division by zero would occur because: u = (-1.) * (speed * sin(dir)); dir = (1.5 * Cst::PI) - atan(v/u);
9df29020
WSL/SLF GitLab Repository
If the speed is equal to 0 (exactly) we assume a small speed of 0.01 m/s. Otherwise a division by zero would occur because: u = (-1.) * (speed * sin(dir)); dir = (1.5 * Cst::PI) - atan(v/u);