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

Method MatchSize

roborts_costmap/src/static_layer.cpp:90–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88}
89
90void StaticLayer::MatchSize() {
91 if (!layered_costmap_->IsRolling()) {
92 Costmap2D* master = layered_costmap_->GetCostMap();
93 ResizeMap(master->GetSizeXCell(), master->GetSizeYCell(), master->GetResolution(),
94 master->GetOriginX(), master->GetOriginY());
95 }
96}
97
98void StaticLayer::InComingMap(const nav_msgs::OccupancyGridConstPtr &new_map) {
99 unsigned int temp_index = 0;

Callers 1

ResizeMapMethod · 0.45

Calls 7

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

Tested by

no test coverage detected