Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build error and Localization mode #2

Open
jojo89776 opened this issue Jul 21, 2021 · 0 comments
Open

Build error and Localization mode #2

jojo89776 opened this issue Jul 21, 2021 · 0 comments

Comments

@jojo89776
Copy link

jojo89776 commented Jul 21, 2021

First, thank you for sharing your great work!

  1. When I tried to build and execute the code following the instruction(https://github.com/srrg-sapienza/srrg2_slam_interfaces/blob/master/srrg2_slam_interfaces/README.md), I met some errors as follows.
    There was no error on building srrg2_core (https://github.com/srrg-sapienza/srrg2_core/tree/master/srrg2_core).
    Do you have any idea of fixing the following errors?

Errors

  • srrg_ws/workspaces/srrg2/src/srrg2_slam_interfaces/srrg2_slam_interfaces/src/srrg2_slam_interfaces/initializers/initializer_camera.h:246:20: 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(camera_info_msg->rows.value());

  • srrg_ws/workspaces/srrg2/src/srrg2_slam_interfaces/srrg2_slam_interfaces/src/srrg2_slam_interfaces/system/multi_graph_slam_impl.cpp:366:8: error: ‘void srrg2_slam_interfaces::MultiGraphSLAM_<LoopClosureType_>::draw(srrg2_core::ViewerCanvasPtr) const [with LoopClosureType_ = srrg2_slam_interfaces::LoopClosure_<srrg2_slam_interfaces::LocalMap2D, srrg2_solver::SE2PosePoseGeodesicErrorFactor>; srrg2_core::ViewerCanvasPtr = std::shared_ptr<srrg2_core::ViewerCanvas>]’ marked ‘override’, but does not override
    void MultiGraphSLAM_<LoopClosureType_>::draw(ViewerCanvasPtr canvas) const {
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  • srrg_ws/workspaces/srrg2/src/srrg2_slam_interfaces/srrg2_slam_interfaces/src/srrg2_slam_interfaces/system/multi_graph_slam.h:121:7: error: reference to ‘setPlatform’ is ambiguous
    BaseType::setPlatform(platform_);


  1. Does this project support or provide a localization-only mode for navigation??

I appreciate any comments! Thank you!.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant