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