Classes | Typedefs | Functions | Variables
costmap_2d_markers.cpp File Reference
#include <ros/ros.h>
#include <visualization_msgs/MarkerArray.h>
#include <costmap_2d/VoxelGrid.h>
#include <voxel_grid/voxel_grid.h>
Include dependency graph for costmap_2d_markers.cpp:

Go to the source code of this file.

Classes

struct  Cell
 

Typedefs

typedef std::vector< CellV_Cell
 

Functions

int main (int argc, char **argv)
 
void voxelCallback (const ros::Publisher &pub, const costmap_2d::VoxelGridConstPtr &grid)
 

Variables

V_Cell g_cells
 
float g_colors_a [] = {0.0f, 0.5f, 1.0f}
 
float g_colors_b [] = {0.0f, 1.0f, 0.0f}
 
float g_colors_g [] = {0.0f, 0.0f, 0.0f}
 
float g_colors_r [] = {0.0f, 0.0f, 1.0f}
 
std::string g_marker_ns
 

Typedef Documentation

◆ V_Cell

typedef std::vector<Cell> V_Cell

Definition at line 51 of file costmap_2d_markers.cpp.

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 141 of file costmap_2d_markers.cpp.

◆ voxelCallback()

void voxelCallback ( const ros::Publisher pub,
const costmap_2d::VoxelGridConstPtr &  grid 
)

Definition at line 60 of file costmap_2d_markers.cpp.

Variable Documentation

◆ g_cells

V_Cell g_cells

Definition at line 59 of file costmap_2d_markers.cpp.

◆ g_colors_a

float g_colors_a[] = {0.0f, 0.5f, 1.0f}

Definition at line 56 of file costmap_2d_markers.cpp.

◆ g_colors_b

float g_colors_b[] = {0.0f, 1.0f, 0.0f}

Definition at line 55 of file costmap_2d_markers.cpp.

◆ g_colors_g

float g_colors_g[] = {0.0f, 0.0f, 0.0f}

Definition at line 54 of file costmap_2d_markers.cpp.

◆ g_colors_r

float g_colors_r[] = {0.0f, 0.0f, 1.0f}

Definition at line 53 of file costmap_2d_markers.cpp.

◆ g_marker_ns

std::string g_marker_ns

Definition at line 58 of file costmap_2d_markers.cpp.



costmap_2d
Author(s): Eitan Marder-Eppstein, David V. Lu!!, Dave Hershberger, contradict@gmail.com
autogenerated on Wed Jun 22 2022 02:07:03