ll7 / paf21-1

8 stars 2 forks source link

Bug Global Planner #97

Closed stoljarjo closed 2 years ago

stoljarjo commented 2 years ago

['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 "/app/catkin_ws/src/src/global_planner/src/global_planner/main.py", line 30, in _handle_navigation_request\n global_route = GlobalPlanner.generate_waypoints(\n',

' File "/app/catkin_ws/src/src/global_planner/src/global_planner/global_route_planner.py", line 195, in generate_waypoints\n ann_route = RouteAnnotation.annotate_waypoints(interpol_route, route_metadata)\n',

' File "/app/catkin_ws/src/src/global_planner/src/global_planner/route_annotation.py", line 74, in annotate_waypoints\n actual_lane = metadata.sections_ahead[sec_id].lane_id\n', 'IndexError: list index out of range\n']

Bonifatius94 commented 2 years ago

This bug is most likely related to navigating between points that are part of the same road. I'll have a look at it because this bug is really annoying when testing. I'll let you know about my progress ;)

Bonifatius94 commented 2 years ago

Have a look at #99 which might solve the issue

Bonifatius94 commented 2 years ago

Status for PAF meeting 10-03-2022: no idea why this bug is happening. tried to fix the symptom of the issue, but the cause is still unclear and needs yet to be discovered

Bonifatius94 commented 2 years ago

Issue didn't happen for a while, seems to be fixed now. But still no idea why it happened.