Skip to content

Commit 037c61d

Browse files
committed
ray collision diagnosis warning
1 parent 6761f55 commit 037c61d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pybullet_planning/interfaces/debug_utils/debug_utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -256,9 +256,9 @@ def draw_ray_result_diagnosis(ray, ray_result, sweep_body=None, sweep_link=None,
256256
b2_name = body_name_from_id[b2] if b2 in body_name_from_id else get_name(b2)
257257
l2_name = get_link_name(b2, l2)
258258

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

264264
if has_gui():

0 commit comments

Comments
 (0)