def _reset_obstacles(self):
    for (obstacle_name, obstacle_pose) in zip(self.obstacle_names, self.obstacle_poses):
        obstacle_state = ModelState()
        obstacle_state.model_name = obstacle_name
        obstacle_state.pose = obstacle_pose
        obstacle_state.twist.linear.x = 0
        obstacle_state.twist.linear.y = 0
        obstacle_state.twist.linear.z = 0
        obstacle_state.twist.angular.x = 0
        obstacle_state.twist.angular.y = 0
        obstacle_state.twist.angular.z = 0
        self.set_model_state(obstacle_state)
        self.track_data.reset_object(obstacle_name, obstacle_pose)
def _reset_obstacles(self):
    for (obstacle_name, obstacle_pose) in zip(self.obstacle_names, self.obstacle_poses):
        obstacle_state = ModelState()
        obstacle_state.model_name = obstacle_name
        obstacle_state.pose = obstacle_pose
        obstacle_state.twist.linear.x = 0
        obstacle_state.twist.linear.y = 0
        obstacle_state.twist.linear.z = 0
        obstacle_state.twist.angular.x = 0
        obstacle_state.twist.angular.y = 0
        obstacle_state.twist.angular.z = 0
        self.set_model_state(obstacle_state)
        self.track_data.reset_object(obstacle_name, obstacle_pose)