Skip to content

Commit a3dd094

Browse files
author
maoyifei
committed
add debug statemetns
1 parent 8212d49 commit a3dd094

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

GEMstack/onboard/planning/parking_route_planner.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,9 @@ def is_successfully_parked(self, final_state: List[float], goal_pose: ObjectPose
572572
print("Vehicle is not contained within parking spot")
573573
try:
574574
with open(self.success_file, 'a') as f:
575-
f.write("Not Contained with parking spot")
575+
f.write("\nOrdered Vertices{ordered_vertices}")
576+
f.write("\nVehicle_Polygon{vehicle_polygon}")
577+
f.write("\nNot Contained with parking spot")
576578
except Exception as e:
577579
print(f"Error saving parking status: {e}")
578580
return False

0 commit comments

Comments
 (0)