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

Method MatchSize

roborts_costmap/src/costmap_layer.cpp:63–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61}
62
63void CostmapLayer::MatchSize() {
64 Costmap2D *master = layered_costmap_->GetCostMap();
65 ResizeMap(master->GetSizeXCell(), master->GetSizeYCell(), master->GetResolution(),
66 master->GetOriginX(), master->GetOriginY());
67}
68
69void CostmapLayer::AddExtraBounds(double mx0, double my0, double mx1, double my1) {
70 extra_min_x_ = std::min(mx0, extra_min_x_);

Callers

nothing calls this directly

Calls 6

GetSizeXCellMethod · 0.80
GetSizeYCellMethod · 0.80
GetResolutionMethod · 0.80
GetOriginXMethod · 0.80
GetOriginYMethod · 0.80
GetCostMapMethod · 0.45

Tested by

no test coverage detected