NavMap
Loading...
Searching...
No Matches
Descriptors.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
23
24#ifndef NAVMAP_CORE__DESCRIPTORS_HPP_
25#define NAVMAP_CORE__DESCRIPTORS_HPP_
26
27#include <limits>
28#include <string>
29
31
32namespace navmap
33{
34
37{
38 bool slope{true};
39 bool roughness{true};
40 bool step{true};
41 bool clearance{true};
42 float roughness_radius{0.3f};
43 float step_radius{0.2f};
44 float clearance_max{10.0f};
45};
46
55void compute_descriptors(NavMap & nm, const DescriptorParams & params = {});
56
57} // namespace navmap
58
59#endif // NAVMAP_CORE__DESCRIPTORS_HPP_
Core container and data structures for EasyNav navigable meshes.
Definition Combine.hpp:39
void compute_descriptors(NavMap &nm, const DescriptorParams &params={})
Compute the selected descriptors as F32 layers of nm (created or overwritten).
Definition Descriptors.cpp:29
Which descriptors to compute, and over which neighbourhoods.
Definition Descriptors.hpp:37
Which descriptors to compute, and over which neighbourhoods.
Definition Descriptors.hpp:37
bool roughness
"roughness": RMS distance to the plane fitted in a disc (m)
Definition Descriptors.hpp:39
bool clearance
"clearance": free height to the next surface above (m)
Definition Descriptors.hpp:41
float clearance_max
Beyond this, no surface above: +inf.
Definition Descriptors.hpp:44
bool step
"step": height span of the vertices in a disc (m)
Definition Descriptors.hpp:40
float roughness_radius
Disc for the roughness plane fit (m).
Definition Descriptors.hpp:42
bool slope
"slope": angle of the NavCel normal to the vertical (deg)
Definition Descriptors.hpp:38
float step_radius
Disc for the step (m).
Definition Descriptors.hpp:43