Updating polygon parameter format#4020
Conversation
SteveMacenski
left a comment
There was a problem hiding this comment.
Generally looks good to me, thanks!!
|
Hi @SteveMacenski , Thanks for the suggestions, I have applied them and updated the unit tests to follow the new format (Pending CI agrees). However, there is one issue I am unsure of whether/how I should solve. Effectively, the This was "solved" in the costmap package by simply skipping the copyright check https://github.com/ros-planning/navigation2/blob/3992eb1e8663d312aeac685901b3283055aeeaeb/nav2_costmap_2d/CMakeLists.txt#L178 I'm not sure if |
|
We actually do that in alot of projects - go ahead and add that here too |
|
Why a draft PR still? |
|
Just waiting till I properly test it. Should be open with the doc PR soon. |
|
Hi @SteveMacenski, Thanks for all the suggestions, the changes are now ready. along with the documentation update. Please let me know if I have missed anything. But, I am very new to the coverage CI and am not sure how to get past it as it rightfully complains about files that we have moved. |
SteveMacenski
left a comment
There was a problem hiding this comment.
The docs PR needs a little work, but otherwise this is good to ship once that's done!
|
@ajsampathk there are 3 instances of https://github.com/ros-planning/navigation2/blob/main/.circleci/config.yml#L36 |
|
Updated it. 🤞🏽 |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #4020 +/- ##
==========================================
+ Coverage 90.10% 90.39% +0.29%
==========================================
Files 415 415
Lines 18586 18593 +7
==========================================
+ Hits 16747 16808 +61
+ Misses 1839 1785 -54 ☔ View full report in Codecov by Sentry. |
c9b883f to
babc0f6
Compare
|
Good job @ajsampathk ! (and fyi @kaichie) |
* moving libraries and using parser in collision monitor * apply changes from review * linting missed update * unit test update * collision_monitor utests + uncrustify lint * skip copyright linting * Combine error messages * update yaml * circleci update v18 * add invalid points test for cov Signed-off-by: gg <josho.wallace@gmail.com>
* moving libraries and using parser in collision monitor * apply changes from review * linting missed update * unit test update * collision_monitor utests + uncrustify lint * skip copyright linting * Combine error messages * update yaml * circleci update v18 * add invalid points test for cov Signed-off-by: enricosutera <enricosutera@outlook.com>
* moving libraries and using parser in collision monitor * apply changes from review * linting missed update * unit test update * collision_monitor utests + uncrustify lint * skip copyright linting * Combine error messages * update yaml * circleci update v18 * add invalid points test for cov
* update docs for polygon points * migration guide update * Hyperlink miss * code block miss * minor linting * Title * update
Basic Info
Description of contribution in a few bullet points
nav2_collision_monitorto conform with the description of the footprint polygons innav2_costmap_2darray_parserfromnav2_costmap_2dtonav2_utilgetPolygonFromStringfuntion innav2_collision_monitor::Polygonnamesapce to parse the Polygon's points parameter from string using the array parserarray_parserfromnav2_costmap_2dtonav_utiland renamed totest_array_parserfor consistency.Description of documentation updates required from your changes
Future work that may be required in bullet points
getPolygonFromStringfunction innav2_collision_monitorandmakeFootprintFromStringfunction innav2_costmap_2dtonav2_util/array_parserFor Maintainers: