Namespaces | Functions
ros_msg_conversions.h File Reference

Conversion functions between shape message and class representations. More...

#include <pcl/conversions.h>
#include <pcl_conversions/pcl_conversions.h>
#include <cob_3d_mapping_msgs/Shape.h>
#include <cob_3d_mapping_msgs/ShapeArray.h>
#include "cob_3d_mapping_common/polygon.h"
#include "cob_3d_mapping_common/cylinder.h"
#include <eigen_conversions/eigen_msg.h>
Include dependency graph for ros_msg_conversions.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  cob_3d_mapping

Functions

bool cob_3d_mapping::fromROSMsg (const cob_3d_mapping_msgs::Shape &s, Polygon &p)
 Convert a shape message to a polygon.
bool cob_3d_mapping::fromROSMsg (const cob_3d_mapping_msgs::Shape &s, Cylinder &c)
 Convert a shape message to a cylinder.
template<typename ShapeT >
int cob_3d_mapping::getHullIndex (const ShapeT &s)
template<typename PointT >
bool cob_3d_mapping::shape2hull (const cob_3d_mapping_msgs::Shape &s, pcl::PointCloud< PointT > &hull)
void cob_3d_mapping::toROSMsg (const Polygon &p, cob_3d_mapping_msgs::Shape &s)
 Convert a polygon to a shape message.
void cob_3d_mapping::toROSMsg (const Cylinder &c, cob_3d_mapping_msgs::Shape &s)
 Convert a cylinder to a shape message.

Detailed Description

Conversion functions between shape message and class representations.

Note:
Copyright (c) 2012
Fraunhofer Institute for Manufacturing Engineering and Automation (IPA)

Project name: Care-O-bot
ROS stack name: cob_environment_perception
ROS package name: cob_3d_mapping_common
Author:
Author: Georg Arbeiter, email:georg.arbeiter@ipa.fhg.de
Supervised by: Georg Arbeiter, email:georg.arbeiter@ipa.fhg.de
Date:
Date of creation: 03/2012

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

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License LGPL as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License LGPL for more details.

You should have received a copy of the GNU Lesser General Public License LGPL along with this program. If not, see <http://www.gnu.org/licenses/>.

Definition in file ros_msg_conversions.h.



cob_3d_mapping_common
Author(s): Georg Arbeiter
autogenerated on Wed Aug 26 2015 11:02:19