MCPcopy Create free account
hub / github.com/MIT-SPARK/Hydra / processFrontendOutput

Method processFrontendOutput

src/loop_closure/loop_closure_module.cpp:173–191  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

171}
172
173size_t LoopClosureModule::processFrontendOutput() {
174 const auto& msg = state_->lcd_queue->front();
175 VLOG(5) << "[Hydra LCD] Received archived places: "
176 << displayNodeSymbolContainer(msg->archived_places);
177
178 potential_lcd_root_nodes_.insert(potential_lcd_root_nodes_.end(),
179 msg->archived_places.begin(),
180 msg->archived_places.end());
181
182 VLOG(5) << "[Hydra LCD] Adding nodes: "
183 << displayNodeSymbolContainer(msg->new_agent_nodes);
184 for (const auto& node : msg->new_agent_nodes) {
185 agent_queue_.push(node);
186 }
187
188 size_t timestamp_ns = msg->timestamp_ns;
189 state_->lcd_queue->pop();
190 return timestamp_ns;
191}
192
193NodeIdSet LoopClosureModule::getPlacesToCache(const Eigen::Vector3d& agent_pos) {
194 NodeIdSet to_cache;

Callers

nothing calls this directly

Calls 2

pushMethod · 0.80
popMethod · 0.80

Tested by

no test coverage detected