Closed dorkamotorka closed 3 years ago
This might also solved the #37
Merged shaking - while robot was going towards the goal, if in the meantime he received a new goal he did the following: after finishing up the linear move, he started rotating in the final orientation and after finishing that, immediatelly in the direction of the new goal, which appeared to cause a bit of the shaking(for example. robot first turning right and then immidiatelly to left). I changed that to: if in the meantime of proccesing one goal a new one is sent, the final rotation for the current goal is the initial orientation for the next goal.
This PR will be closed if the #67 merges.
Implemented in #76. Closing
I managed to implement one of the algortihm, which regulates velocity according to the distance to the reference pose. With it the error in the x-direction was significantly decreased(I have no clue why with the previous navigation test was so high - aprox 0,99meters), which now is aprox. 0,01-0,001meters. I also added and changed a bit the abort-goal methods. The program was tested in Gazebo - empty world and Rviz, both without objects.