Classes | Typedefs | Functions | Variables
costmap_2d_cloud.cpp File Reference
#include <ros/ros.h>
#include <sensor_msgs/PointCloud.h>
#include <costmap_2d/VoxelGrid.h>
#include <voxel_grid/voxel_grid.h>
Include dependency graph for costmap_2d_cloud.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)
static void mapToWorld3D (const unsigned int mx, const unsigned int my, const unsigned int mz, const double origin_x, const double origin_y, const double origin_z, const double x_resolution, const double y_resolution, const double z_resolution, double &wx, double &wy, double &wz)
void voxelCallback (const ros::Publisher &pub_marked, const ros::Publisher &pub_unknown, const costmap_2d::VoxelGridConstPtr &grid)

Variables

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}
V_Cell g_marked
V_Cell g_unknown

Typedef Documentation

typedef std::vector<Cell> V_Cell

Definition at line 50 of file costmap_2d_cloud.cpp.


Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 192 of file costmap_2d_cloud.cpp.

static void mapToWorld3D ( const unsigned int  mx,
const unsigned int  my,
const unsigned int  mz,
const double  origin_x,
const double  origin_y,
const double  origin_z,
const double  x_resolution,
const double  y_resolution,
const double  z_resolution,
double &  wx,
double &  wy,
double &  wz 
) [inline, static]

Definition at line 33 of file costmap_2d_cloud.cpp.

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

Definition at line 59 of file costmap_2d_cloud.cpp.


Variable Documentation

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

Definition at line 55 of file costmap_2d_cloud.cpp.

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

Definition at line 54 of file costmap_2d_cloud.cpp.

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

Definition at line 53 of file costmap_2d_cloud.cpp.

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

Definition at line 52 of file costmap_2d_cloud.cpp.

Definition at line 57 of file costmap_2d_cloud.cpp.

Definition at line 58 of file costmap_2d_cloud.cpp.



costmap_2d
Author(s): Eitan Marder-Eppstein, David V. Lu!!, Dave Hershberger, contradict@gmail.com
autogenerated on Thu Aug 27 2015 14:06:55