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

Method updateTracks

tracking/src/tracker_object.cpp:145–159  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

143}
144
145void
146TrackerObject::updateTracks()
147{
148 createDistanceMatrix();
149 createCostMatrix();
150
151 // Solve Global Nearest Neighbor problem:
152 Munkres munkres;
153 cost_matrix_ = munkres.solve(cost_matrix_, false); // rows: targets (tracks), cols: detections
154
155 updateDetectedTracks();
156 fillUnassociatedDetections();
157 updateLostTracks();
158 createNewTracks();
159}
160
161void
162TrackerObject::toMarkerArray(visualization_msgs::MarkerArray::Ptr& msg)

Callers

nothing calls this directly

Calls 1

solveMethod · 0.80

Tested by

no test coverage detected