Classes | Namespaces | Functions
ground_surface_utilities.h File Reference
#include <vector>
#include <numeric>
#include <Eigen/Geometry>
#include <Eigen/StdVector>
#include <multisense_ros/point_cloud_utilities.h>
Include dependency graph for ground_surface_utilities.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ground_surface_utilities::SplineDrawParameters
 Struct containing parameters for drawing a pointcloud representation of a B-Spline model. More...
 

Namespaces

 ground_surface_utilities
 

Functions

std::vector< Eigen::Vector3f, Eigen::aligned_allocator< Eigen::Vector3f > > ground_surface_utilities::convertSplineToPointcloud (const Eigen::Matrix< float, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor > &controlGrid, const SplineDrawParameters &splineDrawParams, const double pointcloudMaxRange, const float *xzCellOrigin, const float *xzCellSize, const float *minMaxAzimuthAngle, const float *extrinsics, const float *quadraticParams, const float baseline)
 Generate a pointcloud representation of a b-spline ground surface model for visualization. More...
 
sensor_msgs::PointCloud2 ground_surface_utilities::eigenToPointcloud (const std::vector< Eigen::Vector3f, Eigen::aligned_allocator< Eigen::Vector3f >> &input, const std::string &frame_id)
 Convert an eigen representation of a pointcloud to a ROS sensor_msgs::PointCloud2 format. More...
 
Eigen::Matrix< uint8_t, 3, 1 > ground_surface_utilities::groundSurfaceClassToPixelColor (const uint8_t value)
 Look up table to convert a ground surface class value into into a color for visualization (out-of-bounds -> blue, obstacle -> red, free-space -> green) More...
 

Detailed Description

Copyright 2021 Carnegie Robotics, LLC 4501 Hatfield Street, Pittsburgh, PA 15201 http://www.carnegierobotics.com

All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL CARNEGIE ROBOTICS, LLC BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Definition in file ground_surface_utilities.h.



multisense_ros
Author(s):
autogenerated on Thu Apr 17 2025 02:49:25