Namespaces | Functions
nav_grid_message_utils.h File Reference
#include <nav_2d_utils/conversions.h>
#include <nav_2d_msgs/NavGridOfChars.h>
#include <nav_2d_msgs/NavGridOfCharsUpdate.h>
#include <nav_2d_msgs/NavGridOfDoubles.h>
#include <nav_2d_msgs/NavGridOfDoublesUpdate.h>
#include <nav_grid_iterators/whole_grid.h>
#include <nav_grid_iterators/sub_grid.h>
#include <nav_core2/bounds.h>
Include dependency graph for nav_grid_message_utils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  nav_grid_pub_sub

Functions

template<typename ROSMsgType , typename NumericType >
ROSMsgType nav_grid_pub_sub::toMsg (const nav_grid::NavGrid< NumericType > &grid, const ros::Time &stamp)
 Utilities for converting NavGrid objects to NavGridOfX messages and updates.
nav_2d_msgs::NavGridOfChars nav_grid_pub_sub::toMsg (const nav_grid::NavGrid< unsigned char > &grid, const ros::Time &stamp=ros::Time(0))
 NavGrid<unsigned char> to NavGridOfChars.
nav_2d_msgs::NavGridOfDoubles nav_grid_pub_sub::toMsg (const nav_grid::NavGrid< double > &grid, const ros::Time &stamp=ros::Time(0))
 NavGrid<double> to NavGridOfDoubles.
nav_2d_msgs::NavGridOfDoubles nav_grid_pub_sub::toMsg (const nav_grid::NavGrid< float > &grid, const ros::Time &stamp=ros::Time(0))
 NavGrid<float> to NavGridOfDoubles.
template<typename ROSMsgType , typename NumericType >
ROSMsgType nav_grid_pub_sub::toUpdate (const nav_grid::NavGrid< NumericType > &grid, const nav_core2::UIntBounds &bounds, const ros::Time &stamp)
 Generic conversion from a portion of a grid of arbitrary type to an update message of arbitrary type.
nav_2d_msgs::NavGridOfCharsUpdate nav_grid_pub_sub::toUpdate (const nav_grid::NavGrid< unsigned char > &grid, const nav_core2::UIntBounds &bounds, const ros::Time &stamp=ros::Time(0))
 NavGrid<unsigned char> to NavGridOfCharsUpdate.
nav_2d_msgs::NavGridOfDoublesUpdate nav_grid_pub_sub::toUpdate (const nav_grid::NavGrid< double > &grid, const nav_core2::UIntBounds &bounds, const ros::Time &stamp=ros::Time(0))
 NavGrid<double> to NavGridOfDoublesUpdate.
nav_2d_msgs::NavGridOfDoublesUpdate nav_grid_pub_sub::toUpdate (const nav_grid::NavGrid< float > &grid, const nav_core2::UIntBounds &bounds, const ros::Time &stamp=ros::Time(0))
 NavGrid<float> to NavGridOfDoublesUpdate.


nav_grid_pub_sub
Author(s):
autogenerated on Wed Jun 26 2019 20:09:52