NavMap
Loading...
Searching...
No Matches
Costs.hpp
Go to the documentation of this file.
1// Copyright 2026 Intelligent Robotics Lab
2//
3// This file is part of the project Easy Navigation (EasyNav in short)
4// Licensed under the Apache License, Version 2.0 (the "License");
5// you may not use this file except in compliance with the License.
6// You may obtain a copy of the License at
7//
8// http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13// See the License for the specific language governing permissions and
14// limitations under the License.
15
20
21#ifndef NAVMAP_CORE__COSTS_HPP_
22#define NAVMAP_CORE__COSTS_HPP_
23
24#include <cstdint>
25
26namespace navmap
27{
28
29constexpr std::uint8_t NO_INFORMATION = 255;
30constexpr std::uint8_t LETHAL_OBSTACLE = 254;
31constexpr std::uint8_t INSCRIBED_INFLATED_OBSTACLE = 253;
32constexpr std::uint8_t MAX_NON_OBSTACLE = 252;
33constexpr std::uint8_t FREE_SPACE = 0;
34
35} // namespace navmap
36
37#endif // NAVMAP_CORE__COSTS_HPP_
Definition Combine.hpp:39
constexpr std::uint8_t MAX_NON_OBSTACLE
Highest traversable cost.
Definition Costs.hpp:32
constexpr std::uint8_t NO_INFORMATION
Unknown, not observed.
Definition Costs.hpp:29
constexpr std::uint8_t FREE_SPACE
Known free.
Definition Costs.hpp:33
constexpr std::uint8_t LETHAL_OBSTACLE
Obstacle.
Definition Costs.hpp:30
constexpr std::uint8_t INSCRIBED_INFLATED_OBSTACLE
The robot would touch an obstacle.
Definition Costs.hpp:31