Colab wurde zerquetscht, als er G2O Python -Funktion nannte
Posted: 20 Apr 2025, 07:12
Mein Colab-Dateiverbindungslink unten
https://colab.research.google.com/drive ... _xcn94awaw? Mein Code < /p>
Wenn ich v.set_estimate (Punkt [: 2]) aufrufe, zerkleinert das Colab, dass ein unbekannter Fehler aufgetreten ist.>
https://colab.research.google.com/drive ... _xcn94awaw? Mein Code < /p>
Code: Select all
def create_keypoint_vertex(self, point_id, point):
"""Create a vertex for a keypoint"""
v = g2o.VertexPointXY()
v.set_id(point_id)
v.set_estimate(point[:2])
v.set_marginalized(False)
if point[2] > 0.5: # High confidence points are fixed
v.set_fixed(True)
return v