maplab icon indicating copy to clipboard operation
maplab copied to clipboard

Unknown Command: create_new_map

Open Armand42 opened this issue 5 years ago • 1 comments

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:

  • Consult the FAQ and Known Issues pages.
  • Make sure maplab was installed using the proper installation instructions
  • For bugs and build problems please add (if applicable):
    • Version of:
      • Operating System (32/64bit, 14.04/16.04/...)
      • Eigen
      • ROS
    • A backtrace (if maplab crashed)
    • Run catkin config in your workspace and post it here.
    • Details about the commands/scripts used.
    • Details about special parameter values or manual changes to the system.
    • Pictures/screen recordings
  • For general questions:
    • Please elaborate, we are no mind readers :)

Armand42 avatar Sep 18 '19 00:09 Armand42

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.

mfehr avatar Sep 19 '19 16:09 mfehr