Traits for occupancy grid value interpretation. More...
#include <occupancy_grid.hpp>
Static Public Member Functions | |
static bool | is_free (std::int8_t value) |
Check if the given value corresponds to that of a free cell. More... | |
static bool | is_occupied (std::int8_t value) |
Check if the given value corresponds to that of an occupied cell. More... | |
static bool | is_unknown (std::int8_t value) |
Check if the given value corresponds to that of a cell of unknown occupancy. More... | |
Static Public Attributes | |
static constexpr std::int8_t | kFreeValue = 0 |
Free value in the standard ROS trinary interpretation. More... | |
static constexpr std::int8_t | kOccupiedValue = 100 |
Occupied value in the standard ROS trinary interpretation. More... | |
static constexpr std::int8_t | kUnknownValue = -1 |
Unknown value in the standard ROS trinary interpretation. More... | |
Traits for occupancy grid value interpretation.
Assumes a standard ROS trinary interpretation.
Definition at line 53 of file occupancy_grid.hpp.
|
inlinestatic |
Check if the given value
corresponds to that of a free cell.
Definition at line 62 of file occupancy_grid.hpp.
|
inlinestatic |
Check if the given value
corresponds to that of an occupied cell.
Definition at line 68 of file occupancy_grid.hpp.
|
inlinestatic |
Check if the given value
corresponds to that of a cell of unknown occupancy.
Definition at line 65 of file occupancy_grid.hpp.
|
staticconstexpr |
Free value in the standard ROS trinary interpretation.
Definition at line 55 of file occupancy_grid.hpp.
|
staticconstexpr |
Occupied value in the standard ROS trinary interpretation.
Definition at line 59 of file occupancy_grid.hpp.
|
staticconstexpr |
Unknown value in the standard ROS trinary interpretation.
Definition at line 57 of file occupancy_grid.hpp.