Commit 7872c73
Bound closest pose by costmap and turnaround point (ros-navigation#2812)
* created integrated distance util
* chng transform begin , end and always limit lp pt
* chg trnsfm begin end and use euclidean distance
* linting fix
* linting fix
* limit trnsfm to cusp
* remove print
* linting fix
* lint fix
* hypot
* use direction change as upper bound for closest pose
* bound closest waypoint by direction change
* use max_transform_dist for closest_pose_upper_bound
* remove first_element_beyond optimization todo
* added path_utils for test path generation
* initial test for path_utils
* added full failing test for path_utils
* fixed path_utils segfault
* properly initialize straight transform
* fixed right turn infinite loop
* fixed path_utils transforms for half-turns
* all path_utils tests passing
* added half turn test for path_utils
* remove unused dependencies from test_path_utils
* move path_utils classes into path_building_blocks namespace
* use hypot for euclidean_distance
* rename findDirectionChange to findCusp
* use integrated distance for lookahead distance
* Revert "use integrated distance for lookahead distance"
This reverts commit 6e4c6cd.
* parameterize transformation_begin bound
* change default to a regular constant
* use std::hypot for x, y, z
* initial failing test for transformGlobalPlan
* refactor transform global plan into separate test fixture
* make TransformGlobalPlan test fixture, and fix transforms
* no_pruning_on_large_costmap test passing
* added another transformGlobalPlan test
* added a test for all poses outside of costmap
* added good shortcut test for transformGlobalPlan
* added more tests for rpp costmap pruning
* cpplint
* remove unused rclcpp::init and rclcpp::shutdown
* change default max_distance_between_iterations to max_costmap_extent
* rename max_distance_between_iterations to max_robot_pose_search_dist
* increase default dwb prune distance
* add initial docs for max_robot_pose_search_dist to README
* add note about when to set max_robot_pose_search_dist
* rename first_element_beyond to first_after_integrated_distance
* renamed findCusp to findVelocitySignChange
* move path_utils to RPP tests
* only check velocity sign change when reversing is enabled
* do not check cusp for dwb transformed plan end
Co-authored-by: sathak93 <[email protected]>
Co-authored-by: Adam Aposhian <[email protected]>1 parent ee2efb6 commit 7872c73
10 files changed
Lines changed: 807 additions & 51 deletions
File tree
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
52 | 53 | | |
53 | 54 | | |
54 | 55 | | |
55 | 56 | | |
| 57 | + | |
56 | 58 | | |
57 | 59 | | |
58 | 60 | | |
| |||
87 | 89 | | |
88 | 90 | | |
89 | 91 | | |
90 | | - | |
| 92 | + | |
91 | 93 | | |
92 | 94 | | |
93 | 95 | | |
| |||
434 | 436 | | |
435 | 437 | | |
436 | 438 | | |
437 | | - | |
438 | | - | |
439 | | - | |
440 | | - | |
441 | | - | |
442 | | - | |
443 | | - | |
444 | | - | |
445 | | - | |
446 | | - | |
447 | | - | |
448 | 439 | | |
449 | 440 | | |
450 | 441 | | |
| |||
467 | 458 | | |
468 | 459 | | |
469 | 460 | | |
470 | | - | |
| 461 | + | |
471 | 462 | | |
472 | 463 | | |
473 | 464 | | |
474 | | - | |
| 465 | + | |
475 | 466 | | |
476 | 467 | | |
477 | 468 | | |
478 | 469 | | |
479 | | - | |
| 470 | + | |
480 | 471 | | |
481 | | - | |
| 472 | + | |
482 | 473 | | |
483 | | - | |
| 474 | + | |
484 | 475 | | |
485 | 476 | | |
486 | 477 | | |
487 | 478 | | |
488 | 479 | | |
489 | | - | |
| 480 | + | |
490 | 481 | | |
491 | | - | |
| 482 | + | |
492 | 483 | | |
493 | | - | |
| 484 | + | |
494 | 485 | | |
495 | 486 | | |
496 | | - | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
497 | 493 | | |
498 | 494 | | |
499 | | - | |
| 495 | + | |
500 | 496 | | |
501 | | - | |
| 497 | + | |
502 | 498 | | |
503 | 499 | | |
504 | | - | |
505 | | - | |
| 500 | + | |
| 501 | + | |
506 | 502 | | |
507 | | - | |
508 | | - | |
509 | | - | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
510 | 506 | | |
511 | 507 | | |
512 | 508 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| 78 | + | |
78 | 79 | | |
79 | 80 | | |
80 | 81 | | |
| |||
121 | 122 | | |
122 | 123 | | |
123 | 124 | | |
| 125 | + | |
124 | 126 | | |
125 | 127 | | |
126 | 128 | | |
| |||
Lines changed: 13 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
115 | | - | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
116 | 118 | | |
117 | 119 | | |
118 | 120 | | |
119 | | - | |
| 121 | + | |
| 122 | + | |
120 | 123 | | |
121 | 124 | | |
122 | 125 | | |
| |||
232 | 235 | | |
233 | 236 | | |
234 | 237 | | |
235 | | - | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
236 | 245 | | |
237 | 246 | | |
238 | 247 | | |
| |||
272 | 281 | | |
273 | 282 | | |
274 | 283 | | |
| 284 | + | |
275 | 285 | | |
276 | 286 | | |
277 | 287 | | |
| |||
Lines changed: 31 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
108 | 111 | | |
109 | 112 | | |
110 | 113 | | |
| |||
147 | 150 | | |
148 | 151 | | |
149 | 152 | | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
150 | 156 | | |
151 | 157 | | |
152 | 158 | | |
| |||
232 | 238 | | |
233 | 239 | | |
234 | 240 | | |
235 | | - | |
| 241 | + | |
| 242 | + | |
236 | 243 | | |
237 | 244 | | |
238 | 245 | | |
| |||
270 | 277 | | |
271 | 278 | | |
272 | 279 | | |
273 | | - | |
| 280 | + | |
274 | 281 | | |
275 | 282 | | |
276 | | - | |
277 | | - | |
| 283 | + | |
| 284 | + | |
278 | 285 | | |
279 | 286 | | |
280 | 287 | | |
| |||
602 | 609 | | |
603 | 610 | | |
604 | 611 | | |
605 | | - | |
606 | | - | |
607 | | - | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
608 | 617 | | |
609 | 618 | | |
| 619 | + | |
| 620 | + | |
610 | 621 | | |
611 | 622 | | |
612 | | - | |
| 623 | + | |
613 | 624 | | |
614 | 625 | | |
615 | 626 | | |
616 | 627 | | |
617 | | - | |
| 628 | + | |
618 | 629 | | |
619 | | - | |
620 | | - | |
621 | | - | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
622 | 633 | | |
623 | 634 | | |
624 | 635 | | |
| |||
652 | 663 | | |
653 | 664 | | |
654 | 665 | | |
655 | | - | |
| 666 | + | |
656 | 667 | | |
657 | 668 | | |
658 | 669 | | |
| |||
700 | 711 | | |
701 | 712 | | |
702 | 713 | | |
| 714 | + | |
| 715 | + | |
| 716 | + | |
| 717 | + | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
703 | 721 | | |
704 | 722 | | |
705 | 723 | | |
| |||
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
Lines changed: 88 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
0 commit comments