MCPcopy Create free account
hub / github.com/Robotics-STAR-Lab/SOAR / findIntersect

Method findIntersect

src/planner/plan_env/src/multi_map_manager.cpp:276–284  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

274}
275
276bool MultiMapManager::findIntersect(
277 const int& min1, const int& max1, const int& min2, const int max2, int& minr, int& maxr)
278{
279 minr = max(min1, min2);
280 maxr = min(max1, max2);
281 if (minr <= maxr)
282 return true;
283 return false;
284}
285
286void MultiMapManager::sendChunks(
287 const int& chunk_drone_id, const int& to_drone_id, const vector<int>& idx_list)

Callers

nothing calls this directly

Calls 2

maxFunction · 0.50
minFunction · 0.50

Tested by

no test coverage detected