Main Page
Namespaces
Classes
Files
File List
File Members
include
hector_exploration_planner
hector_exploration_base_global_planner_plugin.h
Go to the documentation of this file.
1
//=================================================================================================
2
// Copyright (c) 2012, Mark Sollweck, Stefan Kohlbrecher, TU Darmstadt
3
// All rights reserved.
4
5
// Redistribution and use in source and binary forms, with or without
6
// modification, are permitted provided that the following conditions are met:
7
// * Redistributions of source code must retain the above copyright
8
// notice, this list of conditions and the following disclaimer.
9
// * Redistributions in binary form must reproduce the above copyright
10
// notice, this list of conditions and the following disclaimer in the
11
// documentation and/or other materials provided with the distribution.
12
// * Neither the name of the Simulation, Systems Optimization and Robotics
13
// group, TU Darmstadt nor the names of its contributors may be used to
14
// endorse or promote products derived from this software without
15
// specific prior written permission.
16
17
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
18
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
19
// WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
20
// DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
21
// DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
22
// (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
23
// LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
24
// ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
26
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27
//=================================================================================================
28
29
#ifndef HECTOR_EXPLORATION_BASE_GLOBAL_PLANNER_PLUGIN_H___
30
#define HECTOR_EXPLORATION_BASE_GLOBAL_PLANNER_PLUGIN_H___
31
32
#include "
hector_exploration_planner.h
"
33
34
#include <
nav_core/base_global_planner.h
>
35
#include <
pluginlib/class_list_macros.h
>
36
37
//PLUGINLIB_EXPORT_CLASS(hector_global_planner::HectorGlobalPlanner, nav_core::BaseGlobalPlanner);
38
39
namespace
hector_exploration_planner
{
40
41
class
HectorExplorationBaseGlobalPlannerPlugin
:
public
nav_core::BaseGlobalPlanner
42
{
43
public
:
44
HectorExplorationBaseGlobalPlannerPlugin
();
45
virtual
~HectorExplorationBaseGlobalPlannerPlugin
();
46
47
virtual
bool
makePlan
(
const
geometry_msgs::PoseStamped& start,
48
const
geometry_msgs::PoseStamped& goal, std::vector<geometry_msgs::PoseStamped>& plan);
49
50
virtual
void
initialize
(std::string name,
costmap_2d::Costmap2DROS
* costmap_ros);
51
52
protected
:
53
HectorExplorationPlanner
*
exploration_planner
;
54
};
55
56
57
}
58
59
#endif
hector_exploration_planner::HectorExplorationBaseGlobalPlannerPlugin::exploration_planner
HectorExplorationPlanner * exploration_planner
Definition:
hector_exploration_base_global_planner_plugin.h:53
hector_exploration_planner::HectorExplorationBaseGlobalPlannerPlugin::HectorExplorationBaseGlobalPlannerPlugin
HectorExplorationBaseGlobalPlannerPlugin()
Definition:
hector_exploration_base_global_planner_plugin.cpp:36
hector_exploration_planner::HectorExplorationPlanner
Definition:
hector_exploration_planner.h:47
hector_exploration_planner::HectorExplorationBaseGlobalPlannerPlugin::makePlan
virtual bool makePlan(const geometry_msgs::PoseStamped &start, const geometry_msgs::PoseStamped &goal, std::vector< geometry_msgs::PoseStamped > &plan)
Definition:
hector_exploration_base_global_planner_plugin.cpp:46
hector_exploration_planner.h
class_list_macros.h
hector_exploration_planner::HectorExplorationBaseGlobalPlannerPlugin::initialize
virtual void initialize(std::string name, costmap_2d::Costmap2DROS *costmap_ros)
Definition:
hector_exploration_base_global_planner_plugin.cpp:52
nav_core::BaseGlobalPlanner
hector_exploration_planner::HectorExplorationBaseGlobalPlannerPlugin::~HectorExplorationBaseGlobalPlannerPlugin
virtual ~HectorExplorationBaseGlobalPlannerPlugin()
Definition:
hector_exploration_base_global_planner_plugin.cpp:41
base_global_planner.h
hector_exploration_planner
Definition:
exploration_transform_vis.h:37
costmap_2d::Costmap2DROS
hector_exploration_planner::HectorExplorationBaseGlobalPlannerPlugin
Definition:
hector_exploration_base_global_planner_plugin.h:41
hector_exploration_planner
Author(s):
autogenerated on Mon Jun 10 2019 13:34:41