diff --git a/shared/ff_common/src/thread.cc b/shared/ff_common/src/thread.cc index 9ce3efa7d1..192fc92623 100644 --- a/shared/ff_common/src/thread.cc +++ b/shared/ff_common/src/thread.cc @@ -45,7 +45,8 @@ void* ff_common::HolderFunction(void* ptr) { } ff_common::ThreadPool::ThreadPool() - : max_concurrent_jobs_(FLAGS_num_threads) { + //: max_concurrent_jobs_(FLAGS_num_threads) { + : max_concurrent_jobs_(30) { pthread_mutex_init(&cond_mutex_, NULL); pthread_cond_init(&cond_, NULL); if (max_concurrent_jobs_ <= 0) { diff --git a/tools/localization_analysis/scripts/groundtruth_sweep.py b/tools/localization_analysis/scripts/groundtruth_sweep.py index f0479a58f7..bbbffed756 100755 --- a/tools/localization_analysis/scripts/groundtruth_sweep.py +++ b/tools/localization_analysis/scripts/groundtruth_sweep.py @@ -72,9 +72,6 @@ def check_params(groundtruth_params_list): if not os.path.isfile(params.base_surf_map): print(("Base surf map " + params.base_surf_map + " does not exist.")) sys.exit() - if not os.path.isdir(params.maps_directory): - print(("Maps directory " + params.maps_directory + " does not exist.")) - sys.exit() if not os.path.isfile(params.loc_map): print(("Loc map " + params.loc_map + " does not exist.")) sys.exit() @@ -118,7 +115,7 @@ def groundtruth_sweep(config_file, num_processes): ) parser.add_argument( "config_file", - help="Config file containing arguments for each job to run. Should be formatted with one job per line and using a single space between each argument. Arguments for a job in order are: bagfile base_surf_map maps_directory loc_map config_path world image_topic robot_name use_image_features. See make_groundtruth.py description for more details on each argument.", + help="Config file containing arguments for each job to run. Should be formatted with one job per line and using a single space between each argument. Arguments for a job in order are: bagfile base_surf_map loc_map image_topic use_image_features. See make_groundtruth.py description for more details on each argument.", ) parser.add_argument("-o", "--output-directory", default="groundtruth_sweep") parser.add_argument(