Fix sphinx-build errors in evaluation.rst (#883)

Adds language arguments that are required for code blocks in newer Sphinx versions.

Resolves the missing code blocks in the HTML output.
master
Michael Grupp 2018-02-02 15:13:23 +01:00 committed by Wally B. Feed
parent 86a8944589
commit 655bd65abc
1 changed files with 3 additions and 3 deletions

View File

@ -71,20 +71,20 @@ How-To
Given a serialized state of a fully optimized trajectory (here: ``optimized.pbstream`` file), the ground truth relations can be generated with the following command:
.. code-block::
.. code-block:: bash
cd <build> # (directory where Cartographer's binaries are located)
./cartographer_autogenerate_ground_truth -pose_graph_filename optimized.pbstream -output_filename relations.pbstream -min_covered_distance 100 -outlier_threshold_meters 0.15 -outlier_threshold_radians 0.02
Then, a non-optimized trajectory ``test.pbstream`` can be evaluated against the generated relations with:
.. code-block::
.. code-block:: bash
./cartographer_compute_relations_metrics -relations_filename relations.pbstream -pose_graph_filename test.pbstream
This will produce output in this form:
.. code-block::
.. code-block:: none
Abs translational error 0.01944 +/- 0.01819 m
Sqr translational error 0.00071 +/- 0.00189 m^2