mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-01 03:14:29 +02:00
glide_computer example added to docs
This commit is contained in:
@@ -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"
|
||||
|
@@ -11,6 +11,7 @@ Examples
|
||||
examples/measurement
|
||||
examples/linear_algebra
|
||||
examples/foot_pound_second
|
||||
examples/glide_computer
|
||||
|
||||
examples/capacitor_time_curve
|
||||
examples/clcpp_response
|
||||
|
7
docs/examples/glide_computer.rst
Normal file
7
docs/examples/glide_computer.rst
Normal file
@@ -0,0 +1,7 @@
|
||||
glide_computer
|
||||
==============
|
||||
|
||||
.. literalinclude:: ../../example/glide_computer.cpp
|
||||
:caption: glide_computer.cpp
|
||||
:start-at: #include
|
||||
:linenos:
|
Reference in New Issue
Block a user