mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-30 00:50:37 +08:00
Update docs and code in preparation for 1.14.0
Change-Id: I81b430fbff62fb5e3f4c75945f6d40361d546918
This commit is contained in:
@@ -9,7 +9,7 @@ Getting the source code
|
||||
.. _section-source:
|
||||
|
||||
You can start with the `latest stable release
|
||||
<http://ceres-solver.org/ceres-solver-1.13.0.tar.gz>`_ . Or if you want
|
||||
<http://ceres-solver.org/ceres-solver-1.14.0.tar.gz>`_ . Or if you want
|
||||
the latest version, you can clone the git repository
|
||||
|
||||
.. code-block:: bash
|
||||
@@ -159,10 +159,10 @@ We are now ready to build, test, and install Ceres.
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
tar zxf ceres-solver-1.13.0.tar.gz
|
||||
tar zxf ceres-solver-1.14.0.tar.gz
|
||||
mkdir ceres-bin
|
||||
cd ceres-bin
|
||||
cmake ../ceres-solver-1.13.0
|
||||
cmake ../ceres-solver-1.14.0
|
||||
make -j3
|
||||
make test
|
||||
# Optionally install Ceres, it can also be exported using CMake which
|
||||
@@ -176,7 +176,7 @@ dataset [Agarwal]_.
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
bin/simple_bundle_adjuster ../ceres-solver-1.13.0/data/problem-16-22106-pre.txt
|
||||
bin/simple_bundle_adjuster ../ceres-solver-1.14.0/data/problem-16-22106-pre.txt
|
||||
|
||||
This runs Ceres for a maximum of 10 iterations using the
|
||||
``DENSE_SCHUR`` linear solver. The output should look something like
|
||||
@@ -193,7 +193,7 @@ this.
|
||||
5 1.803399e+04 5.33e+01 1.48e+04 1.23e+01 9.99e-01 8.33e+05 1 1.45e-01 1.08e+00
|
||||
6 1.803390e+04 9.02e-02 6.35e+01 8.00e-01 1.00e+00 2.50e+06 1 1.50e-01 1.23e+00
|
||||
|
||||
Ceres Solver v1.13.0 Solve Report
|
||||
Ceres Solver v1.14.0 Solve Report
|
||||
----------------------------------
|
||||
Original Reduced
|
||||
Parameter blocks 22122 22122
|
||||
@@ -294,10 +294,10 @@ We are now ready to build, test, and install Ceres.
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
tar zxf ceres-solver-1.13.0.tar.gz
|
||||
tar zxf ceres-solver-1.14.0.tar.gz
|
||||
mkdir ceres-bin
|
||||
cd ceres-bin
|
||||
cmake ../ceres-solver-1.13.0
|
||||
cmake ../ceres-solver-1.14.0
|
||||
make -j3
|
||||
make test
|
||||
# Optionally install Ceres, it can also be exported using CMake which
|
||||
@@ -325,7 +325,7 @@ following:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
tar zxf ceres-solver-1.13.0.tar.gz
|
||||
tar zxf ceres-solver-1.14.0.tar.gz
|
||||
mkdir ceres-bin
|
||||
cd ceres-bin
|
||||
# Configure the local shell only (not persistent) to use the Homebrew LLVM
|
||||
@@ -337,7 +337,7 @@ following:
|
||||
export PATH="/usr/local/opt/llvm/bin:$PATH"
|
||||
# Force CMake to use the Homebrew version of Clang. OpenMP will be
|
||||
# automatically enabled if it is detected that the compiler supports it.
|
||||
cmake -DCMAKE_C_COMPILER=/usr/local/opt/llvm/bin/clang -DCMAKE_CXX_COMPILER=/usr/local/opt/llvm/bin/clang++ ../ceres-solver-1.13.0
|
||||
cmake -DCMAKE_C_COMPILER=/usr/local/opt/llvm/bin/clang -DCMAKE_CXX_COMPILER=/usr/local/opt/llvm/bin/clang++ ../ceres-solver-1.14.0
|
||||
make -j3
|
||||
make test
|
||||
# Optionally install Ceres. It can also be exported using CMake which
|
||||
|
||||
Reference in New Issue
Block a user