Skip to content
Snippets Groups Projects
Commit c6e9a69e authored by Daniel Christoph's avatar Daniel Christoph
Browse files

Replace location_monitor_node.py

parent 7992dd00
Branches
No related merge requests found
......@@ -195,8 +195,8 @@ def objectWithRadiusDetection(radius, cordlist, l_x, l_y, simtime):
temp = min(distList)
#print(distList)
if WriteFlag == 0:
logger.info("[T:" + str(simtime) + "] " + "Dist. To nearest Bot Collision point: " + str(temp))
rospy.loginfo("Dist to collision point: " + str(temp))
logger.info("[T:" + str(simtime) + "] " + "Dist. To nearest Bot Collision point: " + str(temp-radius))
rospy.loginfo("Dist to collision point: " + str(temp-radius))
if temp < safedist:
rospy.loginfo("Collision!")
if WriteFlag == 0:
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment