Easy Navigation
Loading...
Searching...
No Matches
DummyPlanner.hpp
Go to the documentation of this file.
1// Copyright 2025 Intelligent Robotics Lab
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
17
18#ifndef EASYNAV_PLANNER__DUMMYPLANNER_HPP_
19#define EASYNAV_PLANNER__DUMMYPLANNER_HPP_
20
21#include "nav_msgs/msg/path.hpp"
22#include "easynav_core/PlannerMethodBase.hpp"
23
24namespace easynav
25{
26
33class DummyPlanner : public easynav::PlannerMethodBase
34{
35public:
37 DummyPlanner() = default;
38
40 ~DummyPlanner() = default;
41
45 virtual void on_initialize() override;
46
51 virtual void update(NavState & nav_state) override;
52
53private:
55 nav_msgs::msg::Path path_;
56
57 double cycle_time_rt_ {0.0};
58 double cycle_time_nort_ {0.0};
59};
60
61} // namespace easynav
62
63#endif // EASYNAV_PLANNER__DUMMYPLANNER_HPP_
DummyPlanner()=default
Default constructor.
virtual void update(NavState &nav_state) override
Dummy update method.
Definition DummyPlanner.cpp:38
virtual void on_initialize() override
Initialization hook.
Definition DummyPlanner.cpp:24
~DummyPlanner()=default
Destructor.
A generic, type-safe, thread-safe blackboard to hold runtime state.
Definition NavState.hpp:82
Definition CircularBuffer.hpp:23