Skip to content

Commit 26543fa

Browse files
committed
Fixed paths to CPP examples
1 parent ac18be5 commit 26543fa

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+117
-129
lines changed
14.6 KB
Loading

docs/source/samples/ColorCamera/rgb_camera_control.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@ Source code
5050

5151
.. tab:: C++
5252

53-
Also `available on GitHub <https://github.com/luxonis/depthai-core/blob/main/examples/src/rgb_camera_control.cpp>`__
53+
Also `available on GitHub <https://github.com/luxonis/depthai-core/blob/main/examples/src/ColorCamera/rgb_camera_control.cpp>`__
5454

55-
.. literalinclude:: ../../../../depthai-core/examples/src/rgb_camera_control.cpp
55+
.. literalinclude:: ../../../../depthai-core/examples/src/ColorCamera/rgb_camera_control.cpp
5656
:language: cpp
5757
:linenos:
5858

docs/source/samples/ColorCamera/rgb_preview.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ Source code
4646

4747
.. tab:: C++
4848

49-
Also `available on GitHub <https://github.com/luxonis/depthai-core/blob/main/examples/src/rgb_preview.cpp>`__
49+
Also `available on GitHub <https://github.com/luxonis/depthai-core/blob/main/examples/src/ColorCamera/rgb_preview.cpp>`__
5050

51-
.. literalinclude:: ../../../../depthai-core/examples/src/rgb_preview.cpp
51+
.. literalinclude:: ../../../../depthai-core/examples/src/ColorCamera/rgb_preview.cpp
5252
:language: cpp
5353
:linenos:
5454

docs/source/samples/ColorCamera/rgb_scene.rst

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,18 +23,10 @@ Source code
2323

2424
.. tab:: Python
2525

26-
Also `available on GitHub <https://github.com/luxonis/depthai-python/blob/main/examples/ColorCamera/rgb_video.py>`__
26+
Also `available on GitHub <https://github.com/luxonis/depthai-python/blob/main/examples/ColorCamera/rgb_scene.py>`__
2727

28-
.. literalinclude:: ../../../../examples/ColorCamera/rgb_video.py
28+
.. literalinclude:: ../../../../examples/ColorCamera/rgb_scene.py
2929
:language: python
3030
:linenos:
3131

32-
.. tab:: C++
33-
34-
Also `available on GitHub <https://github.com/luxonis/depthai-core/blob/main/examples/src/rgb_video.cpp>`__
35-
36-
.. literalinclude:: ../../../../depthai-core/examples/src/rgb_video.cpp
37-
:language: cpp
38-
:linenos:
39-
4032
.. include:: /includes/footer-short.rst

docs/source/samples/ColorCamera/rgb_video.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ Source code
3737

3838
.. tab:: C++
3939

40-
Also `available on GitHub <https://github.com/luxonis/depthai-core/blob/main/examples/src/rgb_video.cpp>`__
40+
Also `available on GitHub <https://github.com/luxonis/depthai-core/blob/main/examples/src/ColorCamera/rgb_video.cpp>`__
4141

42-
.. literalinclude:: ../../../../depthai-core/examples/src/rgb_video.cpp
42+
.. literalinclude:: ../../../../depthai-core/examples/src/ColorCamera/rgb_video.cpp
4343
:language: cpp
4444
:linenos:
4545

docs/source/samples/EdgeDetector/edge_detector.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ Source code
3030

3131
.. tab:: C++
3232

33-
Also `available on GitHub <https://github.com/luxonis/depthai-core/blob/main/examples/src/edge_detector.cpp>`__
33+
Also `available on GitHub <https://github.com/luxonis/depthai-core/blob/main/examples/src/EdgeDetector/edge_detector.cpp>`__
3434

35-
.. literalinclude:: ../../../../depthai-core/examples/src/edge_detector.cpp
35+
.. literalinclude:: ../../../../depthai-core/examples/src/EdgeDetector/edge_detector.cpp
3636
:language: cpp
3737
:linenos:
3838

docs/source/samples/FeatureTracker/feature_detector.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ Source code
2929

3030
.. tab:: C++
3131

32-
Also `available on GitHub <https://github.com/luxonis/depthai-core/blob/main/examples/src/feature_detector.cpp>`__
32+
Also `available on GitHub <https://github.com/luxonis/depthai-core/blob/main/examples/src/FeatureTracker/feature_detector.cpp>`__
3333

34-
.. literalinclude:: ../../../../depthai-core/examples/src/feature_detector.cpp
34+
.. literalinclude:: ../../../../depthai-core/examples/src/FeatureTracker/feature_detector.cpp
3535
:language: cpp
3636
:linenos:
3737

docs/source/samples/FeatureTracker/feature_tracker.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ Source code
3333

3434
.. tab:: C++
3535

36-
Also `available on GitHub <https://github.com/luxonis/depthai-core/blob/main/examples/src/feature_tracker.cpp>`__
36+
Also `available on GitHub <https://github.com/luxonis/depthai-core/blob/main/examples/src/FeatureTracker/feature_tracker.cpp>`__
3737

38-
.. literalinclude:: ../../../../depthai-core/examples/src/feature_tracker.cpp
38+
.. literalinclude:: ../../../../depthai-core/examples/src/FeatureTracker/feature_tracker.cpp
3939
:language: cpp
4040
:linenos:
4141

docs/source/samples/IMU/imu_accelerometer_gyroscope.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ Source code
4141

4242
.. tab:: C++
4343

44-
Also `available on GitHub <https://github.com/luxonis/depthai-core/blob/main/examples/src/imu_gyroscope_accelerometer.cpp>`__
44+
Also `available on GitHub <https://github.com/luxonis/depthai-core/blob/main/examples/src/IMU/imu_gyroscope_accelerometer.cpp>`__
4545

46-
.. literalinclude:: ../../../../depthai-core/examples/src/imu_gyroscope_accelerometer.cpp
46+
.. literalinclude:: ../../../../depthai-core/examples/src/IMU/imu_gyroscope_accelerometer.cpp
4747
:language: cpp
4848
:linenos:
4949

docs/source/samples/IMU/imu_rotation_vector.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ Source code
4242

4343
.. tab:: C++
4444

45-
Also `available on GitHub <https://github.com/luxonis/depthai-core/blob/main/examples/src/imu_rotation_vector.cpp>`__
45+
Also `available on GitHub <https://github.com/luxonis/depthai-core/blob/main/examples/src/IMU/imu_rotation_vector.cpp>`__
4646

47-
.. literalinclude:: ../../../../depthai-core/examples/src/imu_rotation_vector.cpp
47+
.. literalinclude:: ../../../../depthai-core/examples/src/IMU/imu_rotation_vector.cpp
4848
:language: cpp
4949
:linenos:
5050

0 commit comments

Comments
 (0)