From 4d6e61dba55a8271f801a701a78b8fa9555faca5 Mon Sep 17 00:00:00 2001 From: Linfeng Date: Mon, 15 Apr 2024 17:57:04 -0400 Subject: [PATCH] fix - make yapf ver consistent --- predicators/envs/spot_env.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/predicators/envs/spot_env.py b/predicators/envs/spot_env.py index b13ac035dd..587e210b4a 100644 --- a/predicators/envs/spot_env.py +++ b/predicators/envs/spot_env.py @@ -1200,9 +1200,9 @@ def in_general_view_classifier(state: State, def _obj_reachable_from_spot_pose(spot_pose: math_helpers.SE3Pose, obj_position: math_helpers.Vec3) -> bool: - is_xy_near = np.sqrt((spot_pose.x - obj_position.x)**2 + - (spot_pose.y - - obj_position.y)**2) <= _REACHABLE_THRESHOLD + is_xy_near = np.sqrt( + (spot_pose.x - obj_position.x)**2 + + (spot_pose.y - obj_position.y)**2) <= _REACHABLE_THRESHOLD # Compute angle between spot's forward direction and the line from # spot to the object.