ethz-asl / polygon_coverage_planning

Coverage planning in general polygons with holes.
GNU General Public License v3.0
529 stars 155 forks source link

Fix/benchmark #76

Open rikba opened 2 years ago

stlucas44 commented 2 years ago

Looked into failing test quickly (Jenkins Run 92): It seems to fail on a random polygon because of a NULL pointer. Could not reproduce this on my computer yet.

[ INFO] [1664289405.990071159]: Polygon number: 86
[ INFO] [1664289405.990083430]: Polygon name: 4/0006
[ INFO] [1664289405.990101438]: Number of holes: 4
[ INFO] [1664289405.990163917]: Planning with: our_bcd
[ INFO] [1664289405.990177196]: Start creating sweep plan graph.
[ INFO] [1664289406.160898359]: Successfully created boustrophedon decomposition with 13 polygon(s).
[ INFO] [1664289406.818376816]: Created sweep plan graph with 58 nodes and 3088 edges.
[ INFO] [1664289406.818392652]: Initially created 136 nodes.
[ INFO] [1664289406.818398586]: Pruned 78 nodes.
[ INFO] [1664289406.818411665]: Start solving GTSP using GK MA.
[ WARN] [1664289406.825742214]: The adjacency matrix is ill conditioned. Consider removing small details in the polygon to have even decomposition sizes. Loss of optimality!
[ INFO] [1664289406.825761397]: The adjacency matrix scale is: 63034.142175216
[ INFO] [1664289406.826005721]: Start solving GTSP

Unhandled Exception:
System.NullReferenceException: Object reference not set to an instance of an object
  at GkMa.OurSolver.Solve () [0x0003f] in <e78ccf37e26e4de29a8887c1002dbb4c>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.NullReferenceException: Object reference not set to an instance of an object
  at GkMa.OurSolver.Solve () [0x0003f] in <e78ccf37e26e4de29a8887c1002dbb4c>:0 
-- run_tests.py: verify result "/home/jenkins/workspace/polygon_coverage_planning/build/polygon_coverage_benchmark/test_results/polygon_coverage_benchmark/gtest-test_benchmark.xml"
Cannot find results, writing failure results to '/home/jenkins/workspace/polygon_coverage_planning/build/polygon_coverage_benchmark/test_results/polygon_coverage_benchmark/MISSING-gtest-test_benchmark.xml'