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

 nav_grid_pub_sub
 

Functions

template<typename ROSMsgType , typename NumericType >
void nav_grid_pub_sub::fromMsg (const ROSMsgType &msg, nav_grid::NavGrid< NumericType > &grid)
 Generic conversion from message of arbitrary type to grid of arbitrary type. More...
 
template<typename ROSMsgType , typename NumericType >
nav_core2::UIntBounds nav_grid_pub_sub::fromUpdate (const ROSMsgType &update, nav_grid::NavGrid< NumericType > &grid)
 Generic conversion from an update message to a portion of a grid of arbitrary type. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 


nav_grid_pub_sub
Author(s):
autogenerated on Sun Jan 10 2021 04:08:50