glide_computer example added to docs

This commit is contained in:
Mateusz Pusz
2020-06-22 19:43:06 +02:00
parent b4121707df
commit a4fcc9422d
3 changed files with 9 additions and 0 deletions

View File

@@ -87,6 +87,7 @@ add_custom_command(OUTPUT "${SPHINX_INDEX_FILE}"
"${CMAKE_CURRENT_SOURCE_DIR}/examples/clcpp_response.rst"
"${CMAKE_CURRENT_SOURCE_DIR}/examples/conversion_factor.rst"
"${CMAKE_CURRENT_SOURCE_DIR}/examples/foot_pound_second.rst"
"${CMAKE_CURRENT_SOURCE_DIR}/examples/glide_computer.rst"
"${CMAKE_CURRENT_SOURCE_DIR}/examples/hello_units.rst"
"${CMAKE_CURRENT_SOURCE_DIR}/examples/kalman_filter-alpha_beta_filter_example2.rst"
"${CMAKE_CURRENT_SOURCE_DIR}/examples/linear_algebra.rst"

View File

@@ -11,6 +11,7 @@ Examples
examples/measurement
examples/linear_algebra
examples/foot_pound_second
examples/glide_computer
examples/capacitor_time_curve
examples/clcpp_response

View File

@@ -0,0 +1,7 @@
glide_computer
==============
.. literalinclude:: ../../example/glide_computer.cpp
:caption: glide_computer.cpp
:start-at: #include
:linenos: