#include <ros/ros.h>
#include <visualization_msgs/MarkerArray.h>
#include <costmap_2d/VoxelGrid.h>
#include <voxel_grid/voxel_grid.h>
Go to the source code of this file.
Classes | |
struct | Cell |
Typedefs | |
typedef std::vector< Cell > | V_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 |
Definition at line 56 of file voxel_markers.cpp.
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.
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.
ros::Publisher pub |
Definition at line 147 of file voxel_markers.cpp.
ros::Subscriber sub |
Definition at line 148 of file voxel_markers.cpp.