| 
    MRPT
    1.9.9
    
   | 
 
#include <gtest/gtest.h>#include <mrpt/maps/COccupancyGridMap2D.h>#include <mrpt/ros1bridge/map.h>#include <nav_msgs/OccupancyGrid.h>#include <ros/console.h>Go to the source code of this file.
Functions | |
| void | getEmptyRosMsg (nav_msgs::OccupancyGrid &msg) | 
| TEST (Map, basicTestHeader) | |
| TEST (Map, check_ros2mrpt_and_back) | |
| void getEmptyRosMsg | ( | nav_msgs::OccupancyGrid & | msg | ) | 
Definition at line 25 of file map_unittest.cpp.
Referenced by TEST().
| TEST | ( | Map | , | 
| basicTestHeader | |||
| ) | 
Definition at line 42 of file map_unittest.cpp.
References EXPECT_EQ(), EXPECT_TRUE(), mrpt::ros1bridge::fromROS(), getEmptyRosMsg(), mrpt::maps::COccupancyGridMap2D::getPos(), mrpt::maps::COccupancyGridMap2D::getResolution(), mrpt::maps::COccupancyGridMap2D::getSizeX(), and mrpt::maps::COccupancyGridMap2D::getSizeY().
| TEST | ( | Map | , | 
| check_ros2mrpt_and_back | |||
| ) | 
Definition at line 65 of file map_unittest.cpp.
References EXPECT_EQ(), EXPECT_NEAR(), EXPECT_TRUE(), mrpt::ros1bridge::fromROS(), mrpt::maps::COccupancyGridMap2D::getCell(), getEmptyRosMsg(), and mrpt::ros1bridge::toROS().
| Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: c7a3bec24 Sun Mar 29 18:33:13 2020 +0200 at dom mar 29 18:50:38 CEST 2020 |