Mentions légales du service

Skip to content
Snippets Groups Projects
Commit f66507eb authored by AUTERNAUD Alex's avatar AUTERNAUD Alex
Browse files

remove print

parent 6745994c
No related branches found
No related tags found
No related merge requests found
...@@ -361,7 +361,7 @@ class RobotController(): ...@@ -361,7 +361,7 @@ class RobotController():
else: else:
self.set_target_pose(target[:-1]) self.set_target_pose(target[:-1])
else: else:
rospy.loginfo('Goto target not set') rospy.logdebug('Goto target not set')
self.is_failure = True self.is_failure = True
self.controller_config.goto_target_id = -1 self.controller_config.goto_target_id = -1
with self.lock: with self.lock:
...@@ -382,7 +382,7 @@ class RobotController(): ...@@ -382,7 +382,7 @@ class RobotController():
self.is_failure = True self.is_failure = True
self.controller_config.human_target_id = -1 self.controller_config.human_target_id = -1
else: else:
rospy.loginfo('Human target not valid') rospy.logdebug('Human target not valid')
self.is_failure = True self.is_failure = True
self.controller_config.human_target_id = -1 self.controller_config.human_target_id = -1
...@@ -414,7 +414,7 @@ class RobotController(): ...@@ -414,7 +414,7 @@ class RobotController():
else: else:
self.pan_target_pose = global_to_local(state.robot_pose, target[:2]) self.pan_target_pose = global_to_local(state.robot_pose, target[:2])
else: else:
rospy.loginfo('Human target not valid') rospy.logdebug('Human target not valid')
self.is_failure = True self.is_failure = True
self.controller_config.pan_target_id = -1 self.controller_config.pan_target_id = -1
...@@ -629,7 +629,6 @@ class RobotController(): ...@@ -629,7 +629,6 @@ class RobotController():
return [pos_local, angle, vel, flag] return [pos_local, angle, vel, flag]
def update_goals(self, state): def update_goals(self, state):
rospy.logdebug('mode : {}'.format(self.mode))
if self.mode == 0 or self.mode == 2: if self.mode == 0 or self.mode == 2:
with self.lock: with self.lock:
shared_waypoint = np.array([*self.shared_waypoint]) shared_waypoint = np.array([*self.shared_waypoint])
......
...@@ -120,8 +120,6 @@ class PathPlanner(): ...@@ -120,8 +120,6 @@ class PathPlanner():
robot_pose = [sh_robot_pose[0], robot_pose = [sh_robot_pose[0],
sh_robot_pose[1], sh_robot_pose[1],
sh_robot_pose[2]] sh_robot_pose[2]]
# print("robot_pose : {}".format(robot_pose))
# print("update_distance : {}".format(update_distance))
if update_distance: if update_distance:
try: try:
self.get_distance_map(global_map) self.get_distance_map(global_map)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment