First of all !
Thanks for your share!
I made it successfully.
However,when i run cartographer_paper_deutsches_museum.bag using offline_node,
it print out said "W0802 13:53:34.000000 8483 ordered_multi_queue.cc:155] Queue waiting for data: (0, echoes) "
and the result file .pbstream is so small which is just about 90 bytes.It seemed to be wrong?
Could you help me to run this bag?
Maybe there is some mistakes during my code.
I just modify the code just as below:
DEFINE_string(configuration_directory, "/home/mm/cartographer_superbuild/cartographer_ros/cartographer_ros/configuration_files",
"First directory in which configuration files are searched, "
"second is always the Cartographer installation to allow "
"including files from there.");
DEFINE_string(
configuration_basenames, "backpack_2d.lua",
"Comma-separated list of basenames, i.e. not containing any "
"directory prefix, of the configuration files for each trajectory. "
"The first configuration file will be used for node options. "
"If less configuration files are specified than trajectories, the "
"first file will be used the remaining trajectories.");
DEFINE_string(
bag_filenames, "/home/mm/Downloads/cartographer_paper_deutsches_museum.bag",
"Comma-separated list of bags to process. One bag per trajectory. "
"Any combination of simultaneous and sequential bags is supported.");
DEFINE_string(urdf_filenames, "/home/mm/cartographer_superbuild/cartographer_ros/cartographer_ros/urdf/backpack_2d.urdf",
"Comma-separated list of one or more URDF files that contain "
"static links for the sensor configuration(s).");
DEFINE_bool(use_bag_transforms, true,
"Whether to read, use and republish transforms from bags.");
DEFINE_string(load_state_filename, "",
"If non-empty, filename of a .pbstream file to load, containing "
"a saved SLAM state.");
DEFINE_bool(load_frozen_state, true,
"Load the saved state as frozen (non-optimized) trajectories.");
DEFINE_bool(keep_running, false,
"Keep running the offline node after all messages from the bag "
"have been processed.");
DEFINE_double(skip_seconds, 0,
"Optional amount of seconds to skip from the beginning "
"(i.e. when the earliest bag starts.). ");
First of all ! Thanks for your share! I made it successfully. However,when i run cartographer_paper_deutsches_museum.bag using offline_node, it print out said "W0802 13:53:34.000000 8483 ordered_multi_queue.cc:155] Queue waiting for data: (0, echoes) " and the result file .pbstream is so small which is just about 90 bytes.It seemed to be wrong? Could you help me to run this bag? Maybe there is some mistakes during my code.
I just modify the code just as below:
DEFINE_string(configuration_directory, "/home/mm/cartographer_superbuild/cartographer_ros/cartographer_ros/configuration_files", "First directory in which configuration files are searched, " "second is always the Cartographer installation to allow " "including files from there."); DEFINE_string( configuration_basenames, "backpack_2d.lua", "Comma-separated list of basenames, i.e. not containing any " "directory prefix, of the configuration files for each trajectory. " "The first configuration file will be used for node options. " "If less configuration files are specified than trajectories, the " "first file will be used the remaining trajectories."); DEFINE_string( bag_filenames, "/home/mm/Downloads/cartographer_paper_deutsches_museum.bag", "Comma-separated list of bags to process. One bag per trajectory. " "Any combination of simultaneous and sequential bags is supported."); DEFINE_string(urdf_filenames, "/home/mm/cartographer_superbuild/cartographer_ros/cartographer_ros/urdf/backpack_2d.urdf", "Comma-separated list of one or more URDF files that contain " "static links for the sensor configuration(s)."); DEFINE_bool(use_bag_transforms, true, "Whether to read, use and republish transforms from bags."); DEFINE_string(load_state_filename, "", "If non-empty, filename of a .pbstream file to load, containing " "a saved SLAM state."); DEFINE_bool(load_frozen_state, true, "Load the saved state as frozen (non-optimized) trajectories."); DEFINE_bool(keep_running, false, "Keep running the offline node after all messages from the bag " "have been processed."); DEFINE_double(skip_seconds, 0, "Optional amount of seconds to skip from the beginning " "(i.e. when the earliest bag starts.). ");