ethz-asl / maplab

A Modular and Multi-Modal Mapping Framework
https://maplab.asl.ethz.ch
Apache License 2.0
2.57k stars 722 forks source link

Unknown Command: create_new_map #162

Open Armand42 opened 4 years ago

Armand42 commented 4 years ago

TODO: ADD YOUR QUESTION/PROBLEM DESCRIPTION HERE Hello, I am trying to generate a new map with the create_new_map command in my maplab <>:/$ console but I get the following error:

E0917 17:06:27.269898 17653 command-registerer.cc:127] Unknown command: create_new_map

Am I missing any dependencies and if so what should I do?


Before submitting this issue, please consider the following checklist:

mfehr commented 4 years ago

Hi @Armand42 This probably means that the plugin that contains this command was not loaded when starting the console. E.g. if you run the console with --v=1 you should get sth like this:

still@work:/tmp$ rosrun maplab_console maplab_console --v=1
I0919 18:42:02.888236 20876 maplab-console.cc:80] RVIZ visualization initialized!
I0919 18:42:02.888403 20876 maplab-console.cc:106] Installed plugin visualization from libvi_map_visualization_plugin.so.
I0919 18:42:02.888451 20876 maplab-console.cc:106] Installed plugin summarization from libvi_map_summarization_plugin.so.
I0919 18:42:02.888478 20876 maplab-console.cc:106] Installed plugin data_import_export from libvi_map_data_import_export_plugin.so.
I0919 18:42:02.888526 20876 maplab-console.cc:106] Installed plugin vi_map_basic from libvi_map_basic_plugin.so.
I0919 18:42:02.888588 20876 maplab-console.cc:106] Installed plugin statistics from libstatistics_plugin.so.
I0919 18:42:02.888617 20876 maplab-console.cc:106] Installed plugin posegraphmanipulation from libpose_graph_manipulation_plugin.so.
I0919 18:42:02.888631 20876 maplab-console.cc:106] Installed plugin visual_inertial_gps_wheel_radar_fusion from lib_visual_inertial_gps_wheel_radar_fusion.so.
I0919 18:42:02.888643 20876 maplab-console.cc:106] Installed plugin mapping_workflows from libmapping_workflows_plugin.so.
I0919 18:42:02.888665 20876 maplab-console.cc:106] Installed plugin map_sparsification from libmap_sparsification_plugin.so.
I0919 18:42:02.888695 20876 maplab-console.cc:106] Installed plugin map-optimization from libmap_optimization_plugin.so.
I0919 18:42:02.888710 20876 maplab-console.cc:106] Installed plugin imu_based_loop_closure from libimu_based_loop_closure.so.
I0919 18:42:02.888725 20876 maplab-console.cc:106] Installed plugin map-optimization-legacy from libmap_optimization_legacy_plugin.so.
I0919 18:42:02.888758 20876 maplab-console.cc:106] Installed plugin anchoring from libmap_anchoring_plugin.so.
I0919 18:42:02.888797 20876 maplab-console.cc:106] Installed plugin loopclosure from libloop_closure_plugin.so.
I0919 18:42:02.888833 20876 maplab-console.cc:106] Installed plugin landmark_manipulation from liblandmark_manipulation_plugin.so.
I0919 18:42:02.888869 20876 maplab-console.cc:106] Installed plugin dense_reconstruction from libdense_reconstruction_plugin.so.
I0919 18:42:02.888972 20876 maplab-console.cc:106] Installed plugin linear_time_map_optimization from liblinear_time_map_optimization.so.

If there are no plugins loaded the two most likely options are: They were never built, e.g. you did catkin build maplab_console instead of catkin build maplab or something with the way the plugins are registered to be picked up by the console is broken on your machine.