Functions
costmap_2d_ros.cpp File Reference
#include <gtest/gtest.h>
#include <iostream>
#include <string>
#include <ros/ros.h>
#include <tf/transform_broadcaster.h>
#include "costmap_2d_ros.hpp"
Include dependency graph for costmap_2d_ros.cpp:

Go to the source code of this file.

Functions

void broadcastCostmap2DROSTestSuiteTransforms (TransformBroadcaster &broadcaster)
 
bool fromCostmap2DROS (costmap_2d::Costmap2DROS &ros_costmap, const std::string &layer_name, grid_map::GridMap &grid_map)
 
bool fromCostmap2DROSAtRobotPose (costmap_2d::Costmap2DROS &ros_costmap, const grid_map::Length &geometry, const std::string &layer_name, grid_map::GridMap &grid_map)
 
int main (int argc, char **argv)
 
 TEST (Costmap2DROSConversion, full_window)
 
 TEST (Costmap2DROSConversion, cost_map_centres)
 

Function Documentation

void broadcastCostmap2DROSTestSuiteTransforms ( TransformBroadcaster broadcaster)

Broadcast a set of transform useful for the suite of Costmap2DROS converter demos and tests

Parameters
[in]broadcaster: uninitialised broadcaster object

Definition at line 23 of file costmap_2d_ros.cpp.

bool fromCostmap2DROS ( costmap_2d::Costmap2DROS ros_costmap,
const std::string &  layer_name,
grid_map::GridMap grid_map 
)

Definition at line 135 of file costmap_2d_ros.cpp.

bool fromCostmap2DROSAtRobotPose ( costmap_2d::Costmap2DROS ros_costmap,
const grid_map::Length geometry,
const std::string &  layer_name,
grid_map::GridMap grid_map 
)

Definition at line 147 of file costmap_2d_ros.cpp.

int main ( int  argc,
char **  argv 
)

Definition at line 257 of file costmap_2d_ros.cpp.

TEST ( Costmap2DROSConversion  ,
full_window   
)

Definition at line 166 of file costmap_2d_ros.cpp.

TEST ( Costmap2DROSConversion  ,
cost_map_centres   
)

Definition at line 218 of file costmap_2d_ros.cpp.



grid_map_costmap_2d
Author(s): Péter Fankhauser
autogenerated on Tue Jun 1 2021 02:13:31