Skip to content

Commit f26ce38

Browse files
author
SzabolcsGergely
committed
Merge remote-tracking branch 'origin/main' into HEAD
2 parents ed582ae + f0a9755 commit f26ce38

File tree

7 files changed

+40
-12
lines changed

7 files changed

+40
-12
lines changed

.github/workflows/main.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -464,3 +464,17 @@ jobs:
464464
PYPI_SERVER: ${{ secrets.PYPI_SERVER }}
465465
PYPI_USER: ${{ secrets.PYPI_USER }}
466466
PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
467+
468+
notify_robothub:
469+
if: startsWith(github.ref, 'refs/tags/v')
470+
needs: [release]
471+
runs-on: ubuntu-latest
472+
steps:
473+
- name: Repository Dispatch
474+
uses: peter-evans/repository-dispatch@v2
475+
with:
476+
token: ${{ secrets.REPO_ACCESS_TOKEN }}
477+
repository: luxonis/robothub-apps
478+
event-type: depthai-python-release
479+
client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}"}'
480+

docs/source/components/nodes/image_manip.rst

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,13 @@ Usage
6868
Image formats supported
6969
#######################
7070

71-
ImageManip node supports the following image formats:
71+
ImageManip node supports the following image formats (more info `in PR here <https://github.com/luxonis/depthai-core/pull/444>`__):
7272

73-
- for RGB input/output types only :code:`RGB888p` / :code:`BGR888p` (planar, not interleaved)
74-
- :code:`RAW16` input, but can only for cropping (use-case: depth map), outputting same format
75-
- can output :code:`GRAY8` (either as single plane, or 3-plane RGB as set with setFrameType()), but only from these inputs: :code:`RAW8`, :code:`GRAY8`, :code:`YUV420p` (:ref:`ColorCamera` isp), :code:`NV12` (:ref:`ColorCamera` video / still)
73+
- Input formats supported: RGB/BGR, planar/interleaved, YUV/NV12, RAW8 and GRAY8
74+
- Convert format to any other format mentioned above
75+
- RAW16 (uint16, ``depth`` output) supported, but without color conversion capability
76+
77+
Note that planar formats are faster to process.
7678

7779
Limitations
7880
###########

docs/source/components/nodes/imu.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,11 @@ Inputs and Outputs
4040

4141
- :code:`out` - :ref:`IMUData`
4242

43-
Maximum frequencies
44-
###################
43+
Limitations
44+
###########
4545

46-
Maximum output frequencies are 500 Hz raw accelerometer, 1000 Hz raw gyroscope values individually, and 500 Hz combined (synced) output.
47-
You can obtain the combined (synced) 500 Hz output with :code:`imu.enableIMUSensor([dai.IMUSensor.RAW_ACCELEROMETER, dai.IMUSensor.RAW_GYROSCOPE], 500)`.
46+
- For BNO086, gyroscope frequency above 400Hz can produce some jitter from time to time due to sensor HW limitation.
47+
- **Maximum frequencies**: 500 Hz raw accelerometer, 1000 Hz raw gyroscope values individually, and 500Hz combined (synced) output. You can obtain the combined synced 500Hz output with :code:`imu.enableIMUSensor([dai.IMUSensor.RAW_ACCELEROMETER, dai.IMUSensor.RAW_GYROSCOPE], 500)`.
4848

4949
Usage
5050
#####

docs/source/index.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@ We support both :ref:`Python API <Python API Reference>` and :ref:`C++ API <C++
2222
- **XLink** is a middleware that is capable to exchange data between device and host. :ref:`XLinkIn` node allows sending the data from the host to a device, while :ref:`XLinkOut` does the opposite.
2323
- **Messages** are transferred between nodes, as defined by a connection. More :ref:`information here <components_messages>`.
2424

25+
.. image:: https://user-images.githubusercontent.com/18037362/179389982-16711c75-42f1-4a96-9259-7113802d0104.png
26+
27+
Above there's a graph representation of a (more complex) 2-stage pipeline of the `age-gender recognition demo <https://github.com/luxonis/depthai-experiments/tree/master/gen2-age-gender>`__.
28+
Graph contains different :ref:`Nodes` connected (linked) to each other. `DepthAI Pipeline Graph <https://github.com/geaxgx/depthai_pipeline_graph#depthai-pipeline-graph-experimental>`__
29+
tool was used to generate this image.
30+
2531
Getting started
2632
---------------
2733

docs/source/install.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,9 @@ Raspberry Pi OS
130130
sudo curl -fL https://docs.luxonis.com/install_dependencies.sh | bash
131131
132132
133+
We have also prepared `pre-configured RPi images <https://docs.luxonis.com/projects/hardware/en/latest/pages/guides/raspberrypi.html>`__ so you can get up & running faster.
134+
135+
133136
Jetson
134137
******
135138

docs/source/samples/calibration/calibration_reader.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Calibration Reader
22
==================
33

4-
This example shows how to read calibration data stored on device over XLink.
4+
This example shows how to read calibration data stored on device over XLink. This example will print camera extrinsic and instrinsic parameters, along with other calibration values written on device (EEPROM).
55

66
.. rubric:: Similar samples:
77

utilities/device_manager.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -145,9 +145,10 @@ def wait(self) -> dai.DeviceInfo:
145145
elif len(event) == 3 and event[0] == "table" and event[1] == "+CLICKED+":
146146
# User selected a device
147147
deviceIndex = event[2][0]
148-
deviceSelected = self.infos[deviceIndex]
149-
self.window.close()
150-
return deviceSelected
148+
if deviceIndex is not None:
149+
deviceSelected = self.infos[deviceIndex]
150+
self.window.close()
151+
return deviceSelected
151152

152153
def unlockConfig(window, devType):
153154
if devType == "POE":
@@ -264,6 +265,8 @@ def flashBootloader(window, device: dai.DeviceInfo):
264265

265266
pr = Progress()
266267
progress = lambda p : pr.update(p)
268+
if type == dai.DeviceBootloader.Type.AUTO:
269+
type = bl.getType()
267270
bl.flashBootloader(memory=dai.DeviceBootloader.Memory.FLASH, type=type, progressCallback=progress)
268271
window.Element('currBoot').update(bl.getVersion())
269272
pr.finish("Flashed newest bootloader version.")

0 commit comments

Comments
 (0)