Classes | Typedefs | Functions | Variables
voxel_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 voxel_markers.cpp:

Go to the source code of this file.

Classes

struct  Cell
 

Typedefs

typedef std::vector< CellV_Cell
 

Functions

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

Variables

int g_cell_type
 
V_Cell g_cells
 
float g_colors_a [] = {0.5f, 0.1f, 0.5f}
 
float g_colors_b [] = {1.0f, 1.0f, 0.0f}
 
float g_colors_g [] = {1.0f, 1.0f, 0.0f}
 
float g_colors_r [] = {0.0f, 1.0f, 1.0f}
 
std::string g_marker_ns
 
ros::Publisher pub
 
ros::Subscriber sub
 

Typedef Documentation

typedef std::vector<Cell> V_Cell

Definition at line 56 of file voxel_markers.cpp.

Function Documentation

void connectCb ( )

Definition at line 149 of file voxel_markers.cpp.

void disconnectCb ( )

Definition at line 155 of file voxel_markers.cpp.

int main ( int  argc,
char **  argv 
)

Definition at line 161 of file voxel_markers.cpp.

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

Definition at line 66 of file voxel_markers.cpp.

Variable Documentation

int g_cell_type

Definition at line 65 of file voxel_markers.cpp.

V_Cell g_cells

Definition at line 64 of file voxel_markers.cpp.

float g_colors_a[] = {0.5f, 0.1f, 0.5f}

Definition at line 61 of file voxel_markers.cpp.

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

Definition at line 60 of file voxel_markers.cpp.

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

Definition at line 59 of file voxel_markers.cpp.

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

Definition at line 58 of file voxel_markers.cpp.

std::string g_marker_ns

Definition at line 63 of file voxel_markers.cpp.

Definition at line 147 of file voxel_markers.cpp.

Definition at line 148 of file voxel_markers.cpp.



rtabmap_ros
Author(s): Mathieu Labbe
autogenerated on Mon Dec 14 2020 03:42:19