MIT-SPARK / Kimera-Semantics

Real-Time 3D Semantic Reconstruction from 2D data
BSD 2-Clause "Simplified" License
633 stars 134 forks source link

Allow for geometric-only reconstruction #7

Closed ToniRV closed 4 years ago

ToniRV commented 4 years ago

Done, just run:

roslaunch kimera_semantics_ros kimera_semantics.launch play_bag:=true metric_semantic_reconstruction:=false
amburkoff commented 4 years ago

catkin build gives an error:

Errors << kimera_semantics:make /home/amburkoff/cb_ws/logs/kimera_semantics/build.make.010.log
/home/amburkoff/cb_ws/src/Kimera-Semantics/kimera_semantics/src/simulation/semantic_simulation_world.cpp: In member function ‘void kimera::SemanticSimulationWorld::generateSemanticSdfFromWorld(voxblox::FloatingPoint, voxblox::Layer*)’: /home/amburkoff/cb_ws/src/Kimera-Semantics/kimera_semantics/src/simulation/semantic_simulation_world.cpp:84:57: error: ‘std::__cxx11::list<std::uniqueptr > voxblox::SimulationWorld::objects’ is private within this context for (const std::uniqueptr& object : objects) { ^~~~ In file included from /home/amburkoff/cb_ws/src/Kimera-Semantics/kimera_semantics/include/kimera_semantics/simulation/semantic_simulation_world.h:1:0, from /home/amburkoff/cb_ws/src/Kimera-Semantics/kimera_semantics/src/simulation/semantic_simulation_world.cpp:1: /home/amburkoff/cb_ws/src/voxblox/voxblox/include/voxblox/simulation/simulation_world.h:102:39: note: declared private here std::list<std::uniqueptr > objects; ^~~~ /home/amburkoff/cb_ws/src/Kimera-Semantics/kimera_semantics/src/simulation/semantic_simulation_world.cpp:88:39: error: ‘class voxblox::Object’ has no member named ‘getType’; did you mean ‘Type’? selectSemanticLabel(object->getType(), &semantic_label); ^~~ Type make[2]: [CMakeFiles/kimera_semantics.dir/src/simulation/semantic_simulation_world.cpp.o] Error 1 make[1]: [CMakeFiles/kimera_semantics.dir/all] Error 2 make: *** [all] Error 2