From 305654a200661a5747c31afe63842c8aa0db4dd6 Mon Sep 17 00:00:00 2001 From: Michel Breyer Date: Wed, 13 Oct 2021 17:39:28 +0200 Subject: [PATCH] Minor formatting --- src/active_grasp/controller.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/active_grasp/controller.py b/src/active_grasp/controller.py index 62f24fa..1497fd3 100644 --- a/src/active_grasp/controller.py +++ b/src/active_grasp/controller.py @@ -76,18 +76,15 @@ class GraspController: def run(self): bbox = self.reset() - self.switch_to_cartesian_velocity_control() with Timer("search_time"): grasp = self.search_grasp(bbox) - if grasp: self.switch_to_joint_trajectory_control() with Timer("grasp_time"): res = self.execute_grasp(grasp) else: res = "aborted" - return self.collect_info(res) def reset(self):