#include <hector_costmap.h>
Definition at line 27 of file hector_costmap.h.
CostMapCalculation::CostMapCalculation |
( |
| ) |
|
CostMapCalculation::~CostMapCalculation |
( |
| ) |
|
bool CostMapCalculation::calculateCostMap |
( |
char |
map_level | ) |
|
|
private |
This function fuses the elevation and grid map und calculates the 2d cost map.
- Parameters
-
[in] | map_level | set the method to calculate the 2d cost map (binary encoded) |
- Return values
-
true | if everything went fine, otherwise false |
Definition at line 675 of file hector_costmap.cpp.
bool CostMapCalculation::calculateCostMap_old |
( |
char |
map_level | ) |
|
|
private |
This function fuses the elevation and grid map und calculates the 2d cost map.
- Parameters
-
[in] | map_level | set the method to calculate the 2d cost map |
- Return values
-
true | if everything went fine, otherwise false |
Definition at line 440 of file hector_costmap.cpp.
void CostMapCalculation::callbackElevationMap |
( |
const hector_elevation_msgs::ElevationGridConstPtr & |
elevation_map_msg | ) |
|
callbackElevationMap get called if a new elevation map is available
- Parameters
-
[in] | elevation_map_msg | stores an elevation map as a 2.5D grid |
Definition at line 225 of file hector_costmap.cpp.
void CostMapCalculation::callbackGridMap |
( |
const nav_msgs::OccupancyGridConstPtr & |
grid_map_msg | ) |
|
callbackGridMap get called if a new 2D grid map is available
- Parameters
-
[in] | grid_map_msg | stores 2D grid map data |
Definition at line 390 of file hector_costmap.cpp.
void CostMapCalculation::callbackPointCloud |
( |
const sensor_msgs::PointCloud2ConstPtr & |
cloud_msg | ) |
|
callbackOctoMap get called if a new octo map is available
- Parameters
-
[in] | octo_map_msg | stores an octo map as a 3D point cloud |
Definition at line 309 of file hector_costmap.cpp.
bool CostMapCalculation::computeWindowIndices |
( |
ros::Time |
time, |
|
|
double |
update_radius |
|
) |
| |
|
private |
Computes the indices for the bounding box thats get updated.
- Parameters
-
[in] | time | Current time is needed |
[in] | update_radius | determines the size of the bounding box in [m] |
- Return values
-
true | if everything went fine, otherwise false |
Definition at line 754 of file hector_costmap.cpp.
void CostMapCalculation::dynRecParamCallback |
( |
hector_costmap::CostMapCalculationConfig & |
config, |
|
|
uint32_t |
level |
|
) |
| |
dynRecParamCallback This function get called if new parameters has been set with the dynamic reconfigure dialog
- Parameters
-
[in] | config | contains current parameters |
[in] | level | is unused |
Definition at line 148 of file hector_costmap.cpp.
void CostMapCalculation::sysMessageCallback |
( |
const std_msgs::String & |
string | ) |
|
sysMessageCallback This function listen to system messages
- Parameters
-
[in] | string | parameter contains system messages, like "reset" |
Definition at line 119 of file hector_costmap.cpp.
timerCallback publishes periodically a new 2D cost map
- Parameters
-
Definition at line 213 of file hector_costmap.cpp.
void CostMapCalculation::updateMapParamsCallback |
( |
const nav_msgs::MapMetaData & |
map_meta_data | ) |
|
updateMapParamsCallback updates the map meta information if someone has changed it
- Parameters
-
[in] | map_meta_data | map meta information like grid resolution or origin |
Definition at line 159 of file hector_costmap.cpp.
bool CostMapCalculation::allow_elevation_map_to_clear_occupied_cells |
|
private |
nav_msgs::OccupancyGrid CostMapCalculation::cloud_cost_map |
|
private |
nav_msgs::OccupancyGrid CostMapCalculation::cost_map |
|
private |
std::string CostMapCalculation::cost_map_topic |
|
private |
double CostMapCalculation::costmap_pub_freq |
|
private |
dynamic_reconfigure::Server<hector_costmap::CostMapCalculationConfig> CostMapCalculation::dyn_rec_server_ |
|
private |
nav_msgs::OccupancyGrid CostMapCalculation::elevation_cost_map |
|
private |
cv::Mat CostMapCalculation::elevation_cost_map_ |
|
private |
cv::Mat CostMapCalculation::elevation_map_ |
|
private |
cv::Mat CostMapCalculation::elevation_map_filtered |
|
private |
std::string CostMapCalculation::elevation_map_topic |
|
private |
int CostMapCalculation::elevation_zero_level |
|
private |
cv::Mat CostMapCalculation::grid_map_ |
|
private |
nav_msgs::OccupancyGridConstPtr CostMapCalculation::grid_map_msg_ |
|
private |
std::string CostMapCalculation::grid_map_topic |
|
private |
double CostMapCalculation::grid_res_z |
|
private |
double CostMapCalculation::initial_free_cells_radius |
|
private |
std::string CostMapCalculation::local_transform_frame_id |
|
private |
std::string CostMapCalculation::map_frame_id |
|
private |
int CostMapCalculation::max_clear_size |
|
private |
double CostMapCalculation::max_delta_elevation |
|
private |
Eigen::Vector2i CostMapCalculation::max_index |
|
private |
Eigen::Vector2i CostMapCalculation::min_index |
|
private |
std::string CostMapCalculation::point_cloud_topic |
|
private |
bool CostMapCalculation::received_elevation_map |
|
private |
bool CostMapCalculation::received_grid_map |
|
private |
bool CostMapCalculation::received_point_cloud |
|
private |
double CostMapCalculation::slize_max_height |
|
private |
double CostMapCalculation::slize_min_height |
|
private |
std::string CostMapCalculation::sys_msg_topic |
|
private |
double CostMapCalculation::update_radius_world |
|
private |
bool CostMapCalculation::use_cloud_map |
|
private |
bool CostMapCalculation::use_elevation_map |
|
private |
bool CostMapCalculation::use_grid_map |
|
private |
The documentation for this class was generated from the following files: