support different controller for different type of policies

This commit is contained in:
0nhc
2024-10-13 06:51:46 -05:00
parent 79d709d1ac
commit 7cad070b13
3 changed files with 32 additions and 18 deletions

View File

@@ -60,9 +60,6 @@ class ActivePerceptionMultiViewPolicy(MultiViewPolicy):
self.pcdvis = RealTime3DVisualizer()
def activate(self, bbox, view_sphere):
super().activate(bbox, view_sphere)
def update(self, img, seg, target_id, x, q):
if len(self.views) > self.max_views or self.best_grasp_prediction_is_stable():
self.done = True