[Surabhi Version] GA crashes if run for ~150 times (with 10 times avg on each)
Oddly enough, the GA doesn't crash if you only take 1 time per set for 1000 times. However if you take 10 times per set for 1000 times, it crashes around set 150.
I tried putting print statements at the start and end of every GA but this was the final print I got before it crashed.
------------ START calculate_SO_total_fitness2 ----------
------------ END calculate_SO_total_fitness2 ----------
[optimizer-4] process has died [pid 19589, exit code -9, cmd /home/darren/catkin_ws/devel/lib/cam_lidar_calibration/optimizer __name:=optimizer __log:=/home/darren/.ros/log/8605eeb0-f3ea-11ea-bf81-4c1d96358941/optimizer-4.log].
log file: /home/darren/.ros/log/8605eeb0-f3ea-11ea-bf81-4c1d96358941/optimizer-4*.log
The next steps should've been:
------------ START calculate_SO_total_fitness2 ----------
------------ END calculate_SO_total_fitness2 ----------
------------ START SO_report_generation2 ----------
------------ END SO_report_generation2 ----------
------------ START crossover2 ----------
------------ END crossover2 ----------
------------ START eval_solution2 ----------
------------ START rotation_fitness_func ----------
------------ END rotation_fitness_func ----------
------------ END eval_solution2 ----------
But it crashed at the end of the function?? I don't know what the intermediate steps are between SO_total fitness and SO report generation.
Edited by Darren Tsai