fixstars / cuda-bundle-adjustment

A CUDA implementation of Bundle Adjustment
Apache License 2.0
365 stars 46 forks source link

Some issues applying it to orbslam2 #18

Open mathidot opened 7 months ago

mathidot commented 7 months ago

Hello, I followed your instructions to make modifications on my orbslam2, but several problems occurred during compilation. First, the optimizer does not seem to implement the setCameraPrams(camera) function. Second, if(pbStopFlag) optimizer.setForceStopFlag(pbStopFlag); how to deal with this code, the optimizer does not seem to implement similar functions.

atakagi-fixstars commented 7 months ago

Hi, @mathidot

Sorry. The instructions on the wiki are for older version. We will update it soon. And we currently do not implement optimizer.setForceStopFlag.

atakagi-fixstars commented 7 months ago

Hi, @mathidot

We have updated the Wiki to the latest cuda-bundle-adjustment (2.1.1). https://github.com/fixstars/cuda-bundle-adjustment/wiki/Use-cuda-bundle-adjustment-in-ORB-SLAM2

In fact, the environment required by ORB-SLAM2 is so old that it was very difficult to incorporate the latest cuda-bundle-adjustment.

mathidot commented 7 months ago

Thank u!

At 2024-02-06 18:38:06, "Akihiro Takagi" @.***> wrote:

Hi, @mathidot

We have updated the Wiki to the latest cuda-bundle-adjustment (2.1.1). https://github.com/fixstars/cuda-bundle-adjustment/wiki/Use-cuda-bundle-adjustment-in-ORB-SLAM2

In fact, the environment required by ORB-SLAM2 is so old that it was very difficult to incorporate the latest cuda-bundle-adjustment.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>