diff --git a/src/active_bo_ros/active_bo_ros/BayesianOptimization/BO2D.py b/src/active_bo_ros/active_bo_ros/BayesianOptimization/BO2D.py index be77ad9..fa17658 100644 --- a/src/active_bo_ros/active_bo_ros/BayesianOptimization/BO2D.py +++ b/src/active_bo_ros/active_bo_ros/BayesianOptimization/BO2D.py @@ -133,9 +133,9 @@ class BayesianOptimization: self.Y[0] = reward self.best_reward[0] = np.max(self.Y) else: - self.X = np.vstack((self.X, np.around(x, decimals=8)), dtype=np.float64) - self.Y = np.vstack((self.Y, reward), dtype=np.float64) - self.best_reward = np.vstack((self.best_reward, np.max(self.Y)), dtype=np.float64) + self.X = np.vstack((self.X, np.around(x, decimals=8))) + self.Y = np.vstack((self.Y, reward)) + self.best_reward = np.vstack((self.best_reward, np.max(self.Y))) self.gp.fit(self.X, self.Y) self.episode += 1 diff --git a/src/active_bo_ros/launch/interactive_bo_robot.launch.py b/src/active_bo_ros/launch/interactive_bo_robot.launch.py index ca55443..bbabc3f 100755 --- a/src/active_bo_ros/launch/interactive_bo_robot.launch.py +++ b/src/active_bo_ros/launch/interactive_bo_robot.launch.py @@ -27,4 +27,9 @@ def generate_launch_description(): executable='iml_experiment', name='iml_experiment' ), + Node( + package='franka_iml_experiment', + executable='check_experiment_pose', + name='check_experiment_pose' + ), ])