MarvinStuede / cmr_lidarloop

Method to add Lidar based loop detections to Graph based SLAM
BSD 3-Clause "New" or "Revised" License
17 stars 4 forks source link

Service call failed: service [/cmr_lidarloop/LiDAR_Loopdetector] #9

Open AxelCORNILLEAU opened 1 year ago

AxelCORNILLEAU commented 1 year ago

Hello guys, I keep getting the following with n_verify = 3 : [ERROR] [1674033940.559889]: Error processing request: index 4 is out of bounds for axis 0 with size 4 ['Traceback (most recent call last):\n', ' File "/opt/ros/noetic/lib/python3/dist-packages/rospy/impl/tcpros_service.py", line 633, in _handle_request\n response = convert_return_to_response(self.handler(request), self.response_class)\n', ' File "/home/user/local_ws/src/cmr_lidarloop/scripts/lidar_loopdetector_server.py", line 88, in handle_LiDAR_Loopdetector\n histogram_i=np.array(data[j+1][i],ndmin=2)\n', 'IndexError: index 4 is out of bounds for axis 0 with size 4\n'] [ERROR] [1674033940.565373247]: Service call failed: service [/cmr_lidarloop/LiDAR_Loopdetector] responded with an error: error processing request: index 4 is out of bounds for axis 0 with size 4 [ERROR] [1674033940.565471409]: Failed to call service LiDAR_Loopdetector for loop verification.

What is hapenning ? There is no issue with n_verify = 1 : can we actually change it ? Maybe I get what it does wrong..