Skip to content

no matching function for call to merge_frames #310

Description

@LyuHaiFeng

Ubuntu 2404
ROS2 JAZZY
ros-jazzy-glim-ros-cuda13.1

colcon build --cmake-args -DBUILD_WITH_CUDA=ON -DBUILD_WITH_VIEWER=ON -DBUILD_WITH_MARCH_NATIVE=OFF
compile error:
glim/src/glim/mapping/sub_mapping.cpp:496:47: error: no matching function for call to ‘merge_frames(std::vector<Eigen::Transform<double, 3, 1> >&, std::vector<std::shared_ptr >&, const double&, const int&)’
496 | submap->frame = gtsam_points::merge_frames(poses_to_merge, keyframes_to_merge, params.submap_downsample_resolution, params.submap_target_num_points);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions