Skip to content

Commit

Permalink
fix - make yapf ver consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
lf-zhao committed Apr 15, 2024
1 parent 6bb29ef commit 4d6e61d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions predicators/envs/spot_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 4d6e61d

Please sign in to comment.