You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for sharing this slam.
I want to run this slam and have set up a build environment.
However, I get an error in srrg2_slam_interfaces and cannot build it.
I am using Ubuntu 18.04 and ROS is melodic.
Could you please tell me how to solve this problem?
This problem is the same as the following two
Error:
・In file included from /home/k-nagao/slam/workspaces/srrg2/src/srrg2_slam_interfaces/src/srrg2_slam_interfaces/mapping/local_map.cpp:1:0:/home/k-nagao/slam/workspaces/srrg2/src/srrg2_slam_interfaces/src/srrg2_slam_interfaces/mapping/local_map.h:16:10: error: ‘void srrg2_slam_interfaces::DynamicPropertyContainerOwner::draw(srrg2_core::ViewerCanvasPtr) const’ marked ‘override’, but does not override void draw(srrg2_core::ViewerCanvasPtr canvas) const override;
・In file included from /home/k-nagao/slam/workspaces/srrg2/src/srrg2_slam_interfaces/src/srrg2_slam_interfaces/instances.cpp:12:0:/home/k-nagao/slam/workspaces/srrg2/src/srrg2_slam_interfaces/src/srrg2_slam_interfaces/system/multi_graph_slam_impl.cpp: In member function ‘void srrg2_slam_interfaces::MultiGraphSLAM_<LoopClosureType_>::compute()’: /home/k-nagao/slam/workspaces/srrg2/src/srrg2_slam_interfaces/src/srrg2_slam_interfaces/system/multi_graph_slam_impl.cpp:101:12: error: reference to ‘_platform’ is ambiguous if (!_platform) {
・In file included from /home/k-nagao/slam/workspaces/srrg2/src/srrg2_slam_interfaces/src/srrg2_slam_interfaces/instances.cpp:13:0:/home/k-nagao/slam/workspaces/srrg2/src/srrg2_slam_interfaces/src/srrg2_slam_interfaces/trackers/multi_tracker.h: In instantiation of ‘class srrg2_slam_interfaces::MultiTrackerBase_<Eigen::Transform<float, 2, 1> >’: /home/k-nagao/slam/workspaces/srrg2/src/srrg2_slam_interfaces/src/srrg2_slam_interfaces/instances.cpp:51:5: required from here /home/k-nagao/slam/workspaces/srrg2/src/srrg2_slam_interfaces/src/srrg2_slam_interfaces/trackers/multi_tracker_impl.cpp:175:8: error: ‘void srrg2_slam_interfaces::MultiTrackerBase_::draw(srrg2_core::ViewerCanvasPtr) const [with EstimateType_ = Eigen::Transform<float, 2, 1>; srrg2_core::ViewerCanvasPtr = std::shared_ptr<srrg2_core::ViewerCanvas>]’ marked ‘override’, but does not override void MultiTrackerBase_<EstimateType_>::draw(srrg2_core::ViewerCanvasPtr canvas_) const {
・/home/k-nagao/slam/workspaces/srrg2/src/srrg2_slam_interfaces/src/srrg2_slam_interfaces/initializers/initializer_camera.h:250:22: error: ‘using element_type = class srrg2_core::CameraMatrixOwner_<3> {aka class srrg2_core::CameraMatrixOwner_<3>}’ has no member named ‘param_canvas_rows’; did you mean ‘canvas_rows’? cmowner->param_canvas_rows.setValue(image_message->image_rows.value());
The text was updated successfully, but these errors were encountered:
Hello.
Thanks for sharing this slam.
I want to run this slam and have set up a build environment.
However, I get an error in srrg2_slam_interfaces and cannot build it.
I am using Ubuntu 18.04 and ROS is melodic.
Could you please tell me how to solve this problem?
This problem is the same as the following two
・build error with srrg2_slam_interfaces · Issue #4 · srrg-sapienza/srrg2_proslam (github.com)
・Build error and Localization mode · Issue #2 · srrg-sapienza/srrg2_slam_interfaces (github.com)
Error:
・In file included from /home/k-nagao/slam/workspaces/srrg2/src/srrg2_slam_interfaces/src/srrg2_slam_interfaces/mapping/local_map.cpp:1:0:/home/k-nagao/slam/workspaces/srrg2/src/srrg2_slam_interfaces/src/srrg2_slam_interfaces/mapping/local_map.h:16:10: error: ‘void srrg2_slam_interfaces::DynamicPropertyContainerOwner::draw(srrg2_core::ViewerCanvasPtr) const’ marked ‘override’, but does not override void draw(srrg2_core::ViewerCanvasPtr canvas) const override;
・In file included from /home/k-nagao/slam/workspaces/srrg2/src/srrg2_slam_interfaces/src/srrg2_slam_interfaces/instances.cpp:12:0:/home/k-nagao/slam/workspaces/srrg2/src/srrg2_slam_interfaces/src/srrg2_slam_interfaces/system/multi_graph_slam_impl.cpp: In member function ‘void srrg2_slam_interfaces::MultiGraphSLAM_<LoopClosureType_>::compute()’: /home/k-nagao/slam/workspaces/srrg2/src/srrg2_slam_interfaces/src/srrg2_slam_interfaces/system/multi_graph_slam_impl.cpp:101:12: error: reference to ‘_platform’ is ambiguous if (!_platform) {
・In file included from /home/k-nagao/slam/workspaces/srrg2/src/srrg2_slam_interfaces/src/srrg2_slam_interfaces/instances.cpp:13:0:/home/k-nagao/slam/workspaces/srrg2/src/srrg2_slam_interfaces/src/srrg2_slam_interfaces/trackers/multi_tracker.h: In instantiation of ‘class srrg2_slam_interfaces::MultiTrackerBase_<Eigen::Transform<float, 2, 1> >’: /home/k-nagao/slam/workspaces/srrg2/src/srrg2_slam_interfaces/src/srrg2_slam_interfaces/instances.cpp:51:5: required from here /home/k-nagao/slam/workspaces/srrg2/src/srrg2_slam_interfaces/src/srrg2_slam_interfaces/trackers/multi_tracker_impl.cpp:175:8: error: ‘void srrg2_slam_interfaces::MultiTrackerBase_::draw(srrg2_core::ViewerCanvasPtr) const [with EstimateType_ = Eigen::Transform<float, 2, 1>; srrg2_core::ViewerCanvasPtr = std::shared_ptr<srrg2_core::ViewerCanvas>]’ marked ‘override’, but does not override void MultiTrackerBase_<EstimateType_>::draw(srrg2_core::ViewerCanvasPtr canvas_) const {
・/home/k-nagao/slam/workspaces/srrg2/src/srrg2_slam_interfaces/src/srrg2_slam_interfaces/initializers/initializer_camera.h:250:22: error: ‘using element_type = class srrg2_core::CameraMatrixOwner_<3> {aka class srrg2_core::CameraMatrixOwner_<3>}’ has no member named ‘param_canvas_rows’; did you mean ‘canvas_rows’? cmowner->param_canvas_rows.setValue(image_message->image_rows.value());
The text was updated successfully, but these errors were encountered: