Commit d8ae3c1
committed
[RotationShimController] rotate also on short paths
When the path is shorter than ´forward_sampling_distance´ the
rotatitonShimController would directly give control to the primary
controller to navigate to the goal. This would lead to the exact
behavior that was tried to be fixed by the rotationShimController: "The
result is an awkward, stuttering, or whipping around behavior" [1]. It
often resulted in navigation failure.
In this case, the controller should try to rotate towards the last point
of the path, so that the primary controller can have a better starting
orientation.
[1] https://navigation.ros.org/tuning/index.html#rotate-in-place-behavior1 parent 1f980a1 commit d8ae3c1
File tree
1 file changed
+1
-4
lines changed1 file changed
+1
-4
lines changedLines changed: 1 addition & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
195 | 195 | | |
196 | 196 | | |
197 | 197 | | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | | - | |
| 198 | + | |
202 | 199 | | |
203 | 200 | | |
204 | 201 | | |
| |||
0 commit comments