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

Cartographer is effectively GPL because of Ceres -> SuiteSparse dependency #1939

Open
ojura opened this issue Nov 9, 2023 · 1 comment
Open

Comments

@ojura
Copy link
Contributor

ojura commented Nov 9, 2023

In #971, the following was noticed:

When libsuitesparse-dev is not installed, (Ceres) optimization will take >100 times longer.
It would nice to warn about this.

Building Cartographer was then switched to require Ceres with SuiteSparse in #189.

However, a component of SuiteSparse, CHOLMOD/Supernodal, is licensed under GPL. Effectively, this turn Ceres, Cartographer and all other software that builds upon it to be GPL licensed.

More information in:
ceres-solver/ceres-solver#1026

In order for Cartographer to be GPL-free, Ceres either needs to use a GPL-free sparse linear algebra backend (as described in ceres-solver/ceres-solver#1026); or Cartographer needs to be switched to another solver for solving the pose graph optimization problem.

The Ceres scan matcher in LocalTrajectoryBuilder is fine; it does not need a sparse solver. The OptimizationProblem in PoseGraph needs a sparse solver.

@bufeng-12
Copy link

bufeng-12 commented Nov 9, 2023 via email

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

2 participants