You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Inside the test testInflationOrderCorrectness in inflation_tests, validatePointInflation is called to compare the point inflation with the inflated costmap. The cells are processed by increasing distance, but not all cells are being explored.
Below is a mask from the test where 1 represents the processed cells and 254 is the lethal obstacle:
The issue is caused as a CellData reference is used to iterate the vector which becomes invalidated due when another cell is added to the vector.
Possible solutions include instead of using a reference to use a copy of the cell for iteration or to update the reference after every addition to the vector.
The text was updated successfully, but these errors were encountered:
Bug report
Required Info:
Inside the test
testInflationOrderCorrectness
ininflation_tests
,validatePointInflation
is called to compare the point inflation with the inflated costmap. The cells are processed by increasing distance, but not all cells are being explored.Below is a mask from the test where
1
represents the processed cells and254
is the lethal obstacle:Expected behavior
To process all cells within inflated radius.
Actual behavior
Only a subset of cells are processed.
Additional information
The issue is caused as a
CellData
reference is used to iterate the vector which becomes invalidated due when another cell is added to the vector.Possible solutions include instead of using a reference to use a copy of the cell for iteration or to update the reference after every addition to the vector.
The text was updated successfully, but these errors were encountered: