Skip to content

Commit

Permalink
ray collision diagnosis warning
Browse files Browse the repository at this point in the history
  • Loading branch information
yijiangh committed Jun 5, 2022
1 parent 6761f55 commit 037c61d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pybullet_planning/interfaces/debug_utils/debug_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,9 +256,9 @@ def draw_ray_result_diagnosis(ray, ray_result, sweep_body=None, sweep_link=None,
b2_name = body_name_from_id[b2] if b2 in body_name_from_id else get_name(b2)
l2_name = get_link_name(b2, l2)

LOGGER.info('ray collision: Sweeping (Body #{0}, Link #{1}) -> (Body #{2}, Link #{3})'.format(
LOGGER.warning('ray collision: Sweeping (Body #{0}, Link #{1}) -> (Body #{2}, Link #{3})'.format(
sweep_body_name, sweep_link_name, b2_name, l2_name))
LOGGER.info('hit_fraction: {:.2f} | hit_position ({:.6f},{:.6f},{:.6f}) | hit_normal ({:.6f},{:.6f},{:.6f})'.format(
LOGGER.warning('hit_fraction: {:.2f} | hit_position ({:.6f},{:.6f},{:.6f}) | hit_normal ({:.6f},{:.6f},{:.6f})'.format(
ray_result.hit_fraction, *ray_result.hit_position, *ray_result.hit_normal))

if has_gui():
Expand Down

0 comments on commit 037c61d

Please sign in to comment.