MCPcopy Create free account
hub / github.com/Robotics-STAR-Lab/RACER / toAddress

Method toAddress

swarm_exploration/active_perception/src/uniform_grid.cpp:314–316  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

312}
313
314int UniformGrid::toAddress(const Eigen::Vector3i& id) {
315 return id[0] * grid_num_(1) * grid_num_(2) + id[1] * grid_num_(2) + id[2];
316}
317
318void UniformGrid::adrToIndex(const int& adr, Eigen::Vector3i& idx) {
319 // id[0] * grid_num_(1) * grid_num_(2) + id[1] * grid_num_(2) + id[2];

Callers 7

coarseToFineIdMethod · 0.80
fineToCoarseIdMethod · 0.80
toadrMethod · 0.80
insertChunkToMapMethod · 0.80
publishMapAllMethod · 0.80
publishMapLocalMethod · 0.80
publishUnknownMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected