WIP
This commit is contained in:
parent
8f6f18d296
commit
4a884fdc11
@ -5,4 +5,5 @@ from .nbv import NextBestView
|
|||||||
register("initial-view", InitialView)
|
register("initial-view", InitialView)
|
||||||
register("top-view", TopView)
|
register("top-view", TopView)
|
||||||
register("top-trajectory", TopTrajectory)
|
register("top-trajectory", TopTrajectory)
|
||||||
|
register("fixed-trajectory", FixedTrajectory)
|
||||||
register("nbv-grasp", NextBestView)
|
register("nbv-grasp", NextBestView)
|
||||||
|
@ -27,3 +27,11 @@ class TopTrajectory(MultiViewPolicy):
|
|||||||
linear, _ = compute_error(self.x_d, x)
|
linear, _ = compute_error(self.x_d, x)
|
||||||
if np.linalg.norm(linear) < 0.02:
|
if np.linalg.norm(linear) < 0.02:
|
||||||
self.done = True
|
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