WIP
This commit is contained in:
parent
8f6f18d296
commit
4a884fdc11
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user