@@ -268,7 +268,7 @@ TEST_F(TestNode, testDifferentInflationLayers) {
268
268
nav2_costmap_2d::Costmap2D * costmap = layers.getCostmap ();
269
269
270
270
ASSERT_EQ (countValues (*costmap, nav2_costmap_2d::LETHAL_OBSTACLE), 21 );
271
- ASSERT_EQ (countValues (*costmap, nav2_costmap_2d::INSCRIBED_INFLATED_OBSTACLE), 4 );
271
+ ASSERT_EQ (countValues (*costmap, nav2_costmap_2d::INSCRIBED_INFLATED_OBSTACLE), 77 );
272
272
}
273
273
274
274
TEST_F (TestNode, testDifferentInflationLayers2) {
@@ -317,7 +317,7 @@ TEST_F(TestNode, testDifferentInflationLayers2) {
317
317
nav2_costmap_2d::Costmap2D * costmap = layers.getCostmap ();
318
318
319
319
ASSERT_EQ (countValues (*costmap, nav2_costmap_2d::LETHAL_OBSTACLE), 21 );
320
- ASSERT_EQ (countValues (*costmap, nav2_costmap_2d::INSCRIBED_INFLATED_OBSTACLE), 28 );
320
+ ASSERT_EQ (countValues (*costmap, nav2_costmap_2d::INSCRIBED_INFLATED_OBSTACLE), 77 );
321
321
}
322
322
323
323
TEST_F (TestNode, testResetting) {
@@ -447,7 +447,7 @@ TEST_F(TestNode, testClearing) {
447
447
nav2_costmap_2d::Costmap2D * costmap = layers.getCostmap ();
448
448
449
449
ASSERT_EQ (countValues (*costmap, nav2_costmap_2d::LETHAL_OBSTACLE), 21 );
450
- ASSERT_EQ (countValues (*costmap, nav2_costmap_2d::INSCRIBED_INFLATED_OBSTACLE), 29 );
450
+ ASSERT_EQ (countValues (*costmap, nav2_costmap_2d::INSCRIBED_INFLATED_OBSTACLE), 77 );
451
451
ASSERT_EQ (olayer_b->getCost (9 , 9 ), nav2_costmap_2d::LETHAL_OBSTACLE);
452
452
453
453
pclayer_a->clearArea (-1 , -1 , 10 , 10 , false );
0 commit comments