MCPcopy Create free account
hub / github.com/RoboMaster/RoboRTS / InflationLayer

Method InflationLayer

roborts_costmap/src/inflation_layer.cpp:60–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58namespace roborts_costmap {
59
60InflationLayer::InflationLayer()
61 : inflation_radius_(0),
62 weight_(0),
63 inflate_unknown_(false),
64 cell_inflation_radius_(0),
65 cached_cell_inflation_radius_(0),
66 seen_(NULL),
67 cached_costs_(NULL),
68 cached_distances_(NULL),
69 last_min_x_(-std::numeric_limits<float>::max()),
70 last_min_y_(-std::numeric_limits<float>::max()),
71 last_max_x_(std::numeric_limits<float>::max()),
72 last_max_y_(std::numeric_limits<float>::max()) {
73 inflation_access_ = new std::recursive_mutex();
74}
75
76void InflationLayer::OnInitialize() {
77

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected