MCPcopy Create free account
hub / github.com/ANYbotics/grid_map / createSaddleWorld

Function createSaddleWorld

grid_map_core/test/test_helpers.cpp:72–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70}
71
72AnalyticalFunctions createSaddleWorld(grid_map::GridMap *map)
73{
74 AnalyticalFunctions func;
75
76 func.f_ = [](double x,double y) {
77 return (x*x-y*y);
78 };
79
80 fillGridMap(map, func);
81
82 return func;
83
84}
85
86AnalyticalFunctions createSineWorld(grid_map::GridMap *map)
87{

Callers 2

TESTFunction · 0.85
TESTFunction · 0.85

Calls 1

fillGridMapFunction · 0.70

Tested by

no test coverage detected