Refactored TrackerPosition (#181)

This commit is contained in:
Ryan Butler authored and GitHub committed 2022-06-01 17:08:56 +03:00
1 parent 215f3b9f44
commit d40e2c2ce2
34 files changed
+1884 -1977

No files matched your search

@@ -24,7 +24,8 @@ public class ComputedHumanPoseTracker extends ComputedTracker
super(trackerId, "human://" + skeletonPosition.name(), true, true);
this.skeletonPosition = skeletonPosition;
this.trackerRole = role;
this.bodyPosition = TrackerPosition.getByRole(role);
// TODO: Use `TrackerPosition` instead of `TrackerRole`
this.bodyPosition = TrackerPosition.getByTrackerRole(role).get();
}
@Override