Skip to content

Commit 84164d0

Browse files
Sushant-ChavanSteveMacenski
authored andcommitted
Fix KeepoutFilter on the ARM architecture (#5436)
Signed-off-by: Sushant Chavan <gitecsvc@gmail.com>
1 parent 4bb7723 commit 84164d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nav2_costmap_2d/plugins/costmap_filters/costmap_filter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ unsigned char CostmapFilter::getMaskCost(
218218
{
219219
const unsigned int index = my * filter_mask->info.width + mx;
220220

221-
const char data = filter_mask->data[index];
221+
const signed char data = filter_mask->data[index];
222222
if (data == nav2_util::OCC_GRID_UNKNOWN) {
223223
return NO_INFORMATION;
224224
} else {

0 commit comments

Comments
 (0)