EasyNav Plugins
Loading...
Searching...
No Matches
PerceptionModel.hpp
Go to the documentation of this file.
1// Copyright 2025 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
16
17#ifndef EASYNAV_NAVMAP_LOCALIZER__PERCEPTIONMODEL_HPP_
18#define EASYNAV_NAVMAP_LOCALIZER__PERCEPTIONMODEL_HPP_
19
20#include "easynav_common/types/NavState.hpp"
21#include "tf2/LinearMath/Vector3.hpp"
22
23namespace easynav
24{
25namespace navmap
26{
27
29{
30public:
31 PerceptionModel() = default;
32
33 virtual void update(NavState & nav_state) = 0;
34 virtual bool hit(tf2::Vector3 & pt) = 0;
35};
36
37} // namespace navmap
38
39} // namespace easynav
40#endif // EASYNAV_NAVMAP_LOCALIZER__PERCEPTIONMODEL_HPP_
virtual bool hit(tf2::Vector3 &pt)=0
virtual void update(NavState &nav_state)=0
Definition AMCLLocalizer.hpp:41
Provides a mapping for often used cost values.
Definition cost_values.hpp:41