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

How to run multi thread ICE-BA (run local/global BA in parallel) #20

Closed
chenleexyz opened this issue Oct 11, 2018 · 0 comments
Closed

Comments

@chenleexyz
Copy link

void Create(const Calibration &K, const int serial = IBA_SERIAL_NONE,

the serial parameter controls running mode, specifically:

  • IBA_SERIAL_NONE is the default parameter, both LBA and GBA runs in background, calling PushFrame returns directly
  • IBA_SERIAL_LBA makes LBA serial, the GBA still runs in background, calling PushFrame will block until LBA finished
  • IBA_SERIAL_LBA|IBA_SERIAL_GBA both serial, calling PushFrame will block until both LBA and GBA finished

NOTE In the demo apps, we create solver with IBA_SERIAL_LBA|IBA_SERIAL_GBA.

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