MRPT  2.0.4
Functions
map_unittest.cpp File Reference
#include <gtest/gtest.h>
#include <mrpt/maps/COccupancyGridMap2D.h>
#include <mrpt/ros1bridge/map.h>
#include <nav_msgs/OccupancyGrid.h>
#include <ros/console.h>
Include dependency graph for map_unittest.cpp:

Go to the source code of this file.

Functions

void getEmptyRosMsg (nav_msgs::OccupancyGrid &msg)
 
 TEST (Map, basicTestHeader)
 
 TEST (Map, check_ros2mrpt_and_back)
 

Function Documentation

◆ getEmptyRosMsg()

void getEmptyRosMsg ( nav_msgs::OccupancyGrid &  msg)

Definition at line 25 of file map_unittest.cpp.

Referenced by TEST().

Here is the caller graph for this function:

◆ TEST() [1/2]

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().

Here is the call graph for this function:

◆ TEST() [2/2]

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().

Here is the call graph for this function:



Page generated by Doxygen 1.8.14 for MRPT 2.0.4 Git: 33de1d0ad Sat Jun 20 11:02:42 2020 +0200 at sáb jun 20 17:35:17 CEST 2020