MRPT
2.0.4
|
#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 2.0.4 Git: 33de1d0ad Sat Jun 20 11:02:42 2020 +0200 at sáb jun 20 17:35:17 CEST 2020 |