MRPT  2.0.1
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.1 Git: 0fef1a6d7 Fri Apr 3 23:00:21 2020 +0200 at vie abr 3 23:20:28 CEST 2020