Use KDL for checking IKs
This commit is contained in:
@@ -13,14 +13,14 @@ class TopView(SingleViewPolicy):
|
||||
def activate(self, bbox, view_sphere):
|
||||
super().activate(bbox, view_sphere)
|
||||
self.x_d = self.view_sphere.get_view(0.0, 0.0)
|
||||
self.done = False if self.view_sphere.is_feasible(self.x_d) else True
|
||||
self.done = False if self.is_feasible(self.x_d) else True
|
||||
|
||||
|
||||
class TopTrajectory(MultiViewPolicy):
|
||||
def activate(self, bbox, view_sphere):
|
||||
super().activate(bbox, view_sphere)
|
||||
self.x_d = self.view_sphere.get_view(0.0, 0.0)
|
||||
self.done = False if self.view_sphere.is_feasible(self.x_d) else True
|
||||
self.done = False if self.is_feasible(self.x_d) else True
|
||||
|
||||
def update(self, img, x):
|
||||
self.integrate(img, x)
|
||||
|
Reference in New Issue
Block a user