Main Page
Namespaces
Classes
Files
File List
include
ftc_local_planner
join_costmap.h
Go to the documentation of this file.
1
18
#ifndef FTC_LOCAL_PLANNER_JOIN_COSTMAP_H_
19
#define FTC_LOCAL_PLANNER_JOIN_COSTMAP_H_
20
21
#include <
costmap_2d/costmap_2d_ros.h
>
22
23
#include <
tf/transform_listener.h
>
24
25
#include <Eigen/Core>
26
27
#include <vector>
28
using
std::vector;
29
30
namespace
ftc_local_planner
31
{
32
class
JoinCostmap
33
{
34
public
:
38
JoinCostmap
();
39
45
void
initialize
(
costmap_2d::Costmap2DROS
* local_costmap_ros,
costmap_2d::Costmap2DROS
* global_costmap_ros);
46
50
void
joinMaps
();
51
52
private
:
53
costmap_2d::Costmap2DROS
*
global_costmap_ros_
;
54
costmap_2d::Costmap2DROS
*
local_costmap_ros_
;
55
56
//Vector with all costvalues from the original global costmap.
57
vector<vector<int> >
global
;
58
59
//Is initialization true.
60
bool
init
;
61
};
62
}
63
#endif
costmap_2d_ros.h
transform_listener.h
ftc_local_planner::JoinCostmap::joinMaps
void joinMaps()
joinMaps join the local costmap in the global costmap.
Definition:
join_costmap.cpp:53
ftc_local_planner::JoinCostmap::local_costmap_ros_
costmap_2d::Costmap2DROS * local_costmap_ros_
Definition:
join_costmap.h:54
ftc_local_planner
Definition:
ftc_planner.h:39
ftc_local_planner::JoinCostmap::initialize
void initialize(costmap_2d::Costmap2DROS *local_costmap_ros, costmap_2d::Costmap2DROS *global_costmap_ros)
initialize the two costmaps and check if resolution global costmap > resolution local costmap...
Definition:
join_costmap.cpp:29
ftc_local_planner::JoinCostmap::JoinCostmap
JoinCostmap()
JoinCostmap constructor.
Definition:
join_costmap.cpp:25
ftc_local_planner::JoinCostmap::global_costmap_ros_
costmap_2d::Costmap2DROS * global_costmap_ros_
Definition:
join_costmap.h:53
ftc_local_planner::JoinCostmap::global
vector< vector< int > > global
Definition:
join_costmap.h:57
costmap_2d::Costmap2DROS
ftc_local_planner::JoinCostmap::init
bool init
Definition:
join_costmap.h:60
ftc_local_planner::JoinCostmap
Definition:
join_costmap.h:32
asr_ftc_local_planner
Author(s): Marek Felix
autogenerated on Mon Jun 17 2019 19:56:22