Skip to content

Commit ee351ac

Browse files
committed
Fix typo
1 parent b26bb55 commit ee351ac

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/occupancy_grid_display.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ enum OctreeVoxelColorMode
6565
{
6666
OCTOMAP_CELL_COLOR,
6767
OCTOMAP_Z_AXIS_COLOR,
68-
OCTOMAP_PROBABLILTY_COLOR,
68+
OCTOMAP_PROBABILITY_COLOR,
6969
};
7070

7171
OccupancyGridDisplay::OccupancyGridDisplay()
@@ -88,7 +88,7 @@ OccupancyGridDisplay::OccupancyGridDisplay()
8888

8989
octree_coloring_property_->addOption("Cell Color", OCTOMAP_CELL_COLOR);
9090
octree_coloring_property_->addOption("Z-Axis", OCTOMAP_Z_AXIS_COLOR);
91-
octree_coloring_property_->addOption("Cell Probability", OCTOMAP_PROBABLILTY_COLOR);
91+
octree_coloring_property_->addOption("Cell Probability", OCTOMAP_PROBABILITY_COLOR);
9292
alpha_property_ = new rviz_common::properties::FloatProperty(
9393
"Voxel Alpha", 1.0, "Set voxel transparency alpha",
9494
this,
@@ -320,7 +320,7 @@ void TemplatedOccupancyGridDisplay<OcTreeType>::setVoxelColor(
320320
case OCTOMAP_Z_AXIS_COLOR:
321321
setColor(new_point.position.z, min_z, max_z, color_factor_, new_point);
322322
break;
323-
case OCTOMAP_PROBABLILTY_COLOR:
323+
case OCTOMAP_PROBABILITY_COLOR:
324324
cell_probability = node.getOccupancy();
325325
new_point.setColor((1.0f - cell_probability), cell_probability, 0.0);
326326
break;
@@ -350,7 +350,7 @@ void TemplatedOccupancyGridDisplay<octomap::ColorOcTree>::setVoxelColor(
350350
case OCTOMAP_Z_AXIS_COLOR:
351351
setColor(new_point.position.z, min_z, max_z, color_factor_, new_point);
352352
break;
353-
case OCTOMAP_PROBABLILTY_COLOR:
353+
case OCTOMAP_PROBABILITY_COLOR:
354354
cell_probability = node.getOccupancy();
355355
new_point.setColor((1.0f - cell_probability), cell_probability, 0.0);
356356
break;

0 commit comments

Comments
 (0)