Commit 1684cb9
authored
fix bug in orientation filtering (#4840)
* fix bug in orientation filtering
some global planners output all zeros for orientation, however
the plan is in the global frame. when transforming to the local
frame, the orientation is no longer zero. Instead of comparing
to zero, we simply check if all the orientations in the middle
of the plan are equal
Signed-off-by: Michael Ferguson <mfergs7@gmail.com>
* account for floating point error
Signed-off-by: Michael Ferguson <mfergs7@gmail.com>
---------
Signed-off-by: Michael Ferguson <mfergs7@gmail.com>1 parent 78f60ee commit 1684cb9
File tree
1 file changed
+8
-4
lines changed1 file changed
+8
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
425 | 426 | | |
426 | 427 | | |
427 | 428 | | |
428 | | - | |
429 | | - | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
430 | 432 | | |
431 | 433 | | |
432 | | - | |
433 | | - | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
434 | 438 | | |
435 | 439 | | |
436 | 440 | | |
| |||
0 commit comments