#include <octomap/octomap.h>#include "octomap_types.h"#include "Pointcloud.h"#include "ScanGraph.h"#include "OcTree.h"#include <string>#include <vector>#include <ostream>#include <stdint.h>#include <iostream>#include <cmath>#include <stdexcept>#include "duration.h"#include <sys/time.h>#include "serialized_message.h"#include "message_forward.h"#include <ros/time.h>#include <boost/utility/enable_if.hpp>#include <boost/type_traits/remove_const.hpp>#include <boost/type_traits/remove_reference.hpp>#include "message_traits.h"#include "ros/exception.h"#include <boost/array.hpp>#include <boost/call_traits.hpp>#include <boost/mpl/and.hpp>#include <boost/mpl/or.hpp>#include <boost/mpl/not.hpp>#include <cstring>#include "ros/builtin_message_traits.h"#include "ros/macros.h"#include <cstdio>#include <sstream>#include <log4cxx/logger.h>#include <boost/static_assert.hpp>#include <cassert>#include <string.h>#include <boost/shared_ptr.hpp>#include "ros/serialization.h"#include "ros/message_operations.h"#include "ros/message.h"#include "Core"#include "src/StlSupport/StdVector.h"#include "src/Core/util/DisableMSVCWarnings.h"#include "SVD"#include "LU"#include <limits>#include "src/Geometry/OrthoMethods.h"#include "src/Geometry/EulerAngles.h"#include "src/Core/util/EnableMSVCWarnings.h"#include <assert.h>#include <stddef.h>#include "ros/assert.h"#include <map>#include <set>#include <list>#include <boost/weak_ptr.hpp>#include <boost/function.hpp>#include "exceptions.h"#include "ros/types.h"#include <boost/shared_array.hpp>#include <std_msgs/Header.h>#include <boost/make_shared.hpp>#include "src/Core/util/Macros.h"#include <cerrno>#include <cstdlib>#include <complex>#include <functional>#include <iosfwd>#include <climits>#include <algorithm>#include "src/Core/util/Constants.h"#include "src/Core/util/ForwardDeclarations.h"#include "src/Core/util/Meta.h"#include "src/Core/util/XprHelper.h"#include "src/Core/util/StaticAssert.h"#include "src/Core/util/Memory.h"#include "src/Core/NumTraits.h"#include "src/Core/MathFunctions.h"#include "src/Core/GenericPacketMath.h"#include "src/Core/arch/Default/Settings.h"#include "src/Core/Functors.h"#include "src/Core/DenseCoeffsBase.h"#include "src/Core/DenseBase.h"#include "src/Core/MatrixBase.h"#include "src/Core/EigenBase.h"#include "src/Core/Assign.h"#include "src/Core/util/BlasUtil.h"#include "src/Core/DenseStorage.h"#include "src/Core/NestByValue.h"#include "src/Core/ForceAlignedAccess.h"#include "src/Core/ReturnByValue.h"#include "src/Core/NoAlias.h"#include "src/Core/PlainObjectBase.h"#include "src/Core/Matrix.h"#include "src/Core/Array.h"#include "src/Core/CwiseBinaryOp.h"#include "src/Core/CwiseUnaryOp.h"#include "src/Core/CwiseNullaryOp.h"#include "src/Core/CwiseUnaryView.h"#include "src/Core/SelfCwiseBinaryOp.h"#include "src/Core/Dot.h"#include "src/Core/StableNorm.h"#include "src/Core/MapBase.h"#include "src/Core/Stride.h"#include "src/Core/Map.h"#include "src/Core/Block.h"#include "src/Core/VectorBlock.h"#include "src/Core/Transpose.h"#include "src/Core/DiagonalMatrix.h"#include "src/Core/Diagonal.h"#include "src/Core/DiagonalProduct.h"#include "src/Core/PermutationMatrix.h"#include "src/Core/Transpositions.h"#include "src/Core/Redux.h"#include "src/Core/Visitor.h"#include "src/Core/Fuzzy.h"#include "src/Core/IO.h"#include "src/Core/Swap.h"#include "src/Core/CommaInitializer.h"#include "src/Core/Flagged.h"#include "src/Core/ProductBase.h"#include "src/Core/Product.h"#include "src/Core/TriangularMatrix.h"#include "src/Core/SelfAdjointView.h"#include "src/Core/SolveTriangular.h"#include "src/Core/products/Parallelizer.h"#include "src/Core/products/CoeffBasedProduct.h"#include "src/Core/products/GeneralBlockPanelKernel.h"#include "src/Core/products/GeneralMatrixVector.h"#include "src/Core/products/GeneralMatrixMatrix.h"#include "src/Core/products/GeneralMatrixMatrixTriangular.h"#include "src/Core/products/SelfadjointMatrixVector.h"#include "src/Core/products/SelfadjointMatrixMatrix.h"#include "src/Core/products/SelfadjointProduct.h"#include "src/Core/products/SelfadjointRank2Update.h"#include "src/Core/products/TriangularMatrixVector.h"#include "src/Core/products/TriangularMatrixMatrix.h"#include "src/Core/products/TriangularSolverMatrix.h"#include "src/Core/products/TriangularSolverVector.h"#include "src/Core/BandMatrix.h"#include "src/Core/BooleanRedux.h"#include "src/Core/Select.h"#include "src/Core/VectorwiseOp.h"#include "src/Core/Random.h"#include "src/Core/Replicate.h"#include "src/Core/Reverse.h"#include "src/Core/ArrayBase.h"#include "src/Core/ArrayWrapper.h"#include "src/Core/GlobalFunctions.h"#include <bitset>#include <pcl/ros_macros.h>#include <boost/type_traits/remove_all_extents.hpp>#include <boost/type_traits/is_same.hpp>#include <boost/mpl/assert.hpp>#include <boost/mpl/vector.hpp>#include <boost/mpl/for_each.hpp>#include <boost/preprocessor/seq/enum.hpp>#include <boost/preprocessor/seq/for_each.hpp>#include <boost/preprocessor/seq/transform.hpp>#include <boost/preprocessor/cat.hpp>#include <boost/preprocessor/repetition/repeat_from_to.hpp>#include <boost/type_traits/is_pod.hpp>#include <math.h>#include "geometry_msgs/Point.h"#include "geometry_msgs/Vector3.h"#include "geometry_msgs/Quaternion.h"#include "btMatrix3x3.h"#include "ros/console.h"
Go to the source code of this file.
Namespaces | |
| namespace | octomap |
Functions | |
| template<class OctomapT > | |
| static void | octomap::octomapMapToMsg (const OctomapT &octomap, octomap_ros::OctomapBinary &mapMsg) |
| Converts an octomap map structure to a ROS octomap msg as binary data. This will fill the timestamp of the header with the current time, but will not fill in the frame_id. | |
| template<class OctomapT > | |
| static void | octomap::octomapMapToMsgData (const OctomapT &octomap, std::vector< int8_t > &mapData) |
| Converts an octomap map structure to a ROS binary data, which can be put into a dedicated octomap msg. | |
| template<class OctomapT > | |
| static void | octomap::octomapMsgDataToMap (const std::vector< int8_t > &mapData, OctomapT &octomap) |
| Converts ROS binary data to an octomap map structure, e.g. coming from an octomap msg. | |
| template<class OctomapT > | |
| static void | octomap::octomapMsgToMap (const octomap_ros::OctomapBinary &mapMsg, OctomapT &octomap) |
| Converts a ROS octomap msg (binary data) to an octomap map structure. | |
| template<class PointT > | |
| static void | octomap::pointcloudPCLToOctomap (const pcl::PointCloud< PointT > &pclCloud, Pointcloud &octomapCloud) |
| Conversion from a PCL pointcloud to octomap::Pointcloud, used internally in OctoMap. | |
| static octomap::point3d | octomap::pointMsgToOctomap (const geometry_msgs::Point &ptMsg) |
| Conversion from geometry_msgs::Point to octomap::point3d. | |
| static geometry_msgs::Point | octomap::pointOctomapToMsg (const point3d &octomapPt) |
| Conversion from octomap::point3d to geometry_msgs::Point. | |
| template<class PointT > | |
| static PointT | octomap::pointOctomapToPCL (const point3d &octomapPt) |
| static tf::Point | octomap::pointOctomapToTf (const point3d &octomapPt) |
| Conversion from octomap::point3d to tf::Point. | |
| template<class PointT > | |
| static octomap::point3d | octomap::pointPCLToOctomap (const PointT &p) |
| Conversion from pcl::PointT to octomap::point3d. | |
| template<class PointT > | |
| static void | octomap::pointsOctomapToPCL (const point3d_list &points, pcl::PointCloud< PointT > &cloud) |
| Conversion from octomap::point3d_list (e.g. all occupied nodes from getOccupied()) to pcl PointCloud. | |
| static octomap::point3d | octomap::pointTfToOctomap (const tf::Point &ptTf) |
| Conversion from tf::Point to octomap::point3d. | |
| static tf::Pose | octomap::poseOctomapToTf (const octomap::pose6d &octomapPose) |
| Conversion from octomap::pose6f to tf::Pose. | |
| static octomap::pose6d | octomap::poseTfToOctomap (const tf::Pose &poseTf) |
| Conversion from tf::Pose to octomap::pose6d. | |
| static tf::Quaternion | octomap::quaternionOctomapToTf (const octomath::Quaternion &octomapQ) |
| Conversion from octomap Quaternion to tf::Quaternion. | |
| static octomath::Quaternion | octomap::quaternionTfToOctomap (const tf::Quaternion &qTf) |
| Conversion from tf::Quaternion to octomap Quaternion. | |