MCPcopy Create free account
hub / github.com/OpenPTrack/open_ptrack_v2 / getAliveIDs

Method getAliveIDs

tracking/src/tracker.cpp:225–234  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

223}
224
225void
226Tracker::getAliveIDs (opt_msgs::IDArray::Ptr& msg)
227{
228 for(std::list<open_ptrack::tracking::Track*>::iterator it = tracks_.begin(); it != tracks_.end(); it++)
229 {
230 open_ptrack::tracking::Track* t = *it;
231 msg->ids.push_back ((*it)->getId());
232 }
233 msg->max_ID = tracks_counter_;
234}
235
236size_t
237Tracker::appendToPointCloud(pcl::PointCloud<pcl::PointXYZRGB>::Ptr& pointcloud, size_t starting_index, size_t max_size)

Callers 4

detection_cbFunction · 0.45
detection_cbFunction · 0.45
detection_cbFunction · 0.45
detection_cbFunction · 0.45

Calls 3

beginMethod · 0.45
endMethod · 0.45
getIdMethod · 0.45

Tested by

no test coverage detected