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

Function createSecondOrderPolyWorld

grid_map_core/test/test_helpers.cpp:57–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55}
56
57AnalyticalFunctions createSecondOrderPolyWorld(grid_map::GridMap *map)
58{
59
60 AnalyticalFunctions func;
61
62 func.f_ = [](double x,double y) {
63 return (-x*x -y*y +2.0*x*y +x*x*y*y);
64 };
65
66 fillGridMap(map, func);
67
68 return func;
69
70}
71
72AnalyticalFunctions createSaddleWorld(grid_map::GridMap *map)
73{

Callers 2

TESTFunction · 0.85
TESTFunction · 0.85

Calls 1

fillGridMapFunction · 0.70

Tested by

no test coverage detected