
First of all, I really appreciate about your great work.
I tried to run visualise.py
error1)cv2.error: OpenCV(4.7.0) 馃憥 error: (-5:Bad argument) in function 'line'
Overload resolution failed:
- Can't parse 'pt1'. Sequence item with index 0 has a wrong type
error2)AttributeError: 'FigureCanvasQTAgg' object has no attribute 'renderer'
solution1) Edit 'visualise.py' line37
->cv2.line(trajectory_img, (round(path[t][0]),round(path[t][1])) , (round(path[t+1][0]),round(path[t+1][1])), color, 4)
solution2) Edit 'matplotlib/backends/backend_agg.py' def tostring_rgb(self):
def tostring_rgb(self):
self.renderer = self.get_renderer() # edit
return self.renderer.tostring_rgb()
==================
After this two steps, i solved errors but outputs are empty.
First of all, I really appreciate about your great work.
I tried to run visualise.py
error1)cv2.error: OpenCV(4.7.0) 馃憥 error: (-5:Bad argument) in function 'line'
error2)AttributeError: 'FigureCanvasQTAgg' object has no attribute 'renderer'
solution1) Edit 'visualise.py' line37
->cv2.line(trajectory_img, (round(path[t][0]),round(path[t][1])) , (round(path[t+1][0]),round(path[t+1][1])), color, 4)
solution2) Edit 'matplotlib/backends/backend_agg.py' def tostring_rgb(self):
==================
After this two steps, i solved errors but outputs are empty.