Skip to content

Commit

Permalink
reverted changes to pybullet world
Browse files Browse the repository at this point in the history
  • Loading branch information
ichumuh committed Sep 14, 2020
1 parent 3106d01 commit b9830ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/giskardpy/pybullet_world.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,11 @@ def check_collisions(self, cut_off_distances, collision_list_size=15):
robot_link_id = self.robot.get_pybullet_link_id(robot_link)
if body_b == robot_name or link_b != CollisionEntry.ALL:
contacts = [ContactInfo(*x) for x in p.getClosestPoints(self.robot.get_pybullet_id(), object_id,
distance * 2,
distance * 1.1,
robot_link_id, link_b_id)]
else:
contacts = [ContactInfo(*x) for x in p.getClosestPoints(self.robot.get_pybullet_id(), object_id,
distance * 2,
distance * 1.1,
robot_link_id)]
if len(contacts) > 0:
try:
Expand Down

0 comments on commit b9830ae

Please sign in to comment.