#include <ros/ros.h>
#include <sensor_msgs/PointCloud.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 | |
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 |
Definition at line 50 of file costmap_2d_cloud.cpp.
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.
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.