Easy Navigation
Toggle main menu visibility
Loading...
Searching...
No Matches
easynav_planner
include
easynav_planner
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
24
namespace
easynav
25
{
26
33
class
DummyPlanner
:
public
easynav::PlannerMethodBase
34
{
35
public
:
37
DummyPlanner
() =
default
;
38
40
~DummyPlanner
() =
default
;
41
45
virtual
void
on_initialize
()
override
;
46
51
virtual
void
update
(
NavState
& nav_state)
override
;
52
53
private
:
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_
easynav::DummyPlanner::DummyPlanner
DummyPlanner()=default
Default constructor.
easynav::DummyPlanner::update
virtual void update(NavState &nav_state) override
Dummy update method.
Definition
DummyPlanner.cpp:38
easynav::DummyPlanner::on_initialize
virtual void on_initialize() override
Initialization hook.
Definition
DummyPlanner.cpp:24
easynav::DummyPlanner::~DummyPlanner
~DummyPlanner()=default
Destructor.
easynav::NavState
A generic, type-safe, thread-safe blackboard to hold runtime state.
Definition
NavState.hpp:83
easynav
Definition
CircularBuffer.hpp:23
Generated by
1.17.0