WIP
This commit is contained in:
@@ -5,4 +5,5 @@ from .nbv import NextBestView
|
||||
register("initial-view", InitialView)
|
||||
register("top-view", TopView)
|
||||
register("top-trajectory", TopTrajectory)
|
||||
register("fixed-trajectory", FixedTrajectory)
|
||||
register("nbv-grasp", NextBestView)
|
||||
|
@@ -27,3 +27,11 @@ class TopTrajectory(MultiViewPolicy):
|
||||
linear, _ = compute_error(self.x_d, x)
|
||||
if np.linalg.norm(linear) < 0.02:
|
||||
self.done = True
|
||||
|
||||
|
||||
class FixedTrajectory(MultiViewPolicy):
|
||||
def activate(self, bbox, view_sphere):
|
||||
pass
|
||||
|
||||
def update(self, img, x, q):
|
||||
pass
|
||||
|
Reference in New Issue
Block a user