8 #include <gtest/gtest.h> 10 #include "../../../include/cost_map_ros/converter.hpp" 26 EXPECT_EQ(2, grid_map.
getLayers().size());
37 int main(
int argc,
char **argv)
39 testing::InitGoogleTest(&argc, argv);
41 return RUN_ALL_TESTS();
int main(int argc, char **argv)
const unsigned char NO_INFORMATION
const Size & getSize() const
void add(const std::string &layer, const DataType value=NO_INFORMATION)
const unsigned char FREE_SPACE
void setGeometry(const Length &length, const double resolution, const Position &position=Position::Zero())
const std::vector< std::string > & getLayers() const
TEST(ToGridMap, creation)
float & at(const std::string &layer, const Index &index)
grid_map::Position Position
void toGridMap(const cost_map::CostMap cost_map, grid_map::GridMap &grid_map)
Convert a cost map object into a grid map object.
const Size & getSize() const