ignaciotb / bathymetric_slam

BSD 3-Clause "New" or "Revised" License
31 stars 16 forks source link

ceres version #8

Open filedfee opened 10 months ago

filedfee commented 10 months ago

I want to learn this project, but I encountered many problems during compilation. I would like to know what version of Ceres you are using for this project

lbhqw commented 7 months ago

have you solved this problem? I meet some problems: /home/l/bathymetric_slam/src/graph_optimization/src/ceres_optimizer.cpp:274:5: error: reference to ‘ceres’ is ambiguous 274 | ceres::optimizer::VectorOfConstraints constraints; | ^~~~~ In file included from /usr/local/include/g2o/autodiff/fixed_array.h:41, from /usr/local/include/g2o/core/base_fixed_sized_edge.h:36, from /usr/local/include/g2o/core/base_binary_edge.h:30, from /usr/local/include/g2o/types/slam3d/edge_se3.h:30, from /home/l/bathymetric_slam/src/graph_optimization/include/graph_optimization/graph_construction.hpp:16, from /home/l/bathymetric_slam/src/graph_optimization/inclu

luxiya01 commented 7 months ago

Hi, sorry for the delayed response. For the current master branch, I tested on Ubuntu 22.04 with ceres 2.1.0.

lbhqw commented 7 months ago

thank you for your work! but I meet some another problems:l@lb:~/bathymetric_slam/bin$ ./bathy_slam_real --simulation no --bathy_survey ../pipeline.cereal terminate called after throwing an instance of 'YAML::BadFile' what(): bad file 已放弃 (核心已转储)

limktoto commented 6 months ago

May I ask you how you solved this problem?I would be grateful if you could answer. @lbhqw

lbhqw commented 6 months ago

I have not solved: thank you for your work! but I meet some another problems:l@lb:~/bathymetric_slam/bin$ ./bathy_slam_real --simulation no --bathy_survey ../pipeline.cereal terminate called after throwing an instance of 'YAML::BadFile' what(): bad file 已放弃 (核心已转储)

luxiya01 commented 6 months ago

I'm sorry for the confusion. I forgot to update the README file. If you are using the latest version of this repo, you need to run: ./bathy_slam_real --simulation no --bathy_survey ../pipeline.cereal --config config.yaml, since it requires a yaml configuration file.

If you want to use the original version from the ICRA paper, you can get back to this commit, then the command you are trying should work.