Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ros Release 2.23 #925

Merged
merged 561 commits into from
Nov 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
561 commits
Select commit Hold shift + click to select a range
66420ce
Update FW w/ syncing stall fix
SzabolcsGergely Feb 2, 2023
d2a50d2
Update stereo with more robust frame sync
SzabolcsGergely Feb 2, 2023
84bc648
Update FW with optional override of spec translation for stereo algor…
SzabolcsGergely Feb 3, 2023
104c219
Correct type
SzabolcsGergely Feb 3, 2023
fed2d61
Update SPIOut.hpp
anonymous-1000 Feb 3, 2023
2e15fa3
Expose center alignment scale factor for debug purposes
SzabolcsGergely Feb 4, 2023
b694610
Merge pull request #713 from anonymous-1000/patch-1
themarpe Feb 4, 2023
f9d9534
Expose SIPP mempool configurable sizes
SzabolcsGergely Feb 4, 2023
4cfdafb
Update FW
SzabolcsGergely Feb 6, 2023
9a75541
Merge remote-tracking branch 'origin/develop' into HEAD
SzabolcsGergely Feb 6, 2023
cf497be
Fixed usage of DeviceBootloader with incomplete DeviceInfo and added …
themarpe Feb 6, 2023
87928ce
Closes: #714
themarpe Feb 6, 2023
f22f558
Merge pull request #717 from luxonis/android_readme
themarpe Feb 6, 2023
57c8e7c
Add alpha scaling option for StereoDepth
SzabolcsGergely Feb 6, 2023
e08025e
Update FW before merge
SzabolcsGergely Feb 7, 2023
9f1de69
Update FW with RGB alignment fix
SzabolcsGergely Feb 7, 2023
ec72ea8
Update FW with performance metrics when DEPTHAI_LEVEL=info is enabled…
SzabolcsGergely Feb 7, 2023
25bacff
Improve spatial calculation X and Y accuracy; fix RGB alignment when …
SzabolcsGergely Feb 8, 2023
62c276f
[XLink] Increased max number of links from 32 to 64
themarpe Feb 8, 2023
a1febd3
Add crash dump functionality
SzabolcsGergely Feb 10, 2023
846433d
Change API to return just crash dump
SzabolcsGergely Feb 10, 2023
b7a4cb7
Update FW with commit hash attached to crash dump
SzabolcsGergely Feb 10, 2023
3fc14d5
Update FW with fix for serialization of thread name
SzabolcsGergely Feb 10, 2023
80af184
Add hasCrashDump API
SzabolcsGergely Feb 13, 2023
f747c2f
Update FW
SzabolcsGergely Feb 13, 2023
de15c27
Update FW, crash dump contains device ID
SzabolcsGergely Feb 14, 2023
1a542a3
Merge remote-tracking branch 'origin/crash_dump' into HEAD
SzabolcsGergely Feb 14, 2023
11d175b
Merge remote-tracking branch 'origin/develop' into HEAD
SzabolcsGergely Feb 14, 2023
6059098
Enable MEDAIN spatial calculation method for SpatialDetectionNetwork
SzabolcsGergely Feb 14, 2023
9e4af24
Update FW
SzabolcsGergely Feb 14, 2023
708d9a8
Update docs
SzabolcsGergely Feb 15, 2023
47d6fff
FW: HW sync (trigger mode) enabled for OAK-D-LR, for cameras with mat…
alex-luxonis Feb 19, 2023
244ffba
Change default SIPP buffer sizes
SzabolcsGergely Feb 21, 2023
0b6e484
Add 3A skipping option to reduce CPU usage
SzabolcsGergely Feb 23, 2023
69a99c6
Change API to be able to configure isp 3A FPS
SzabolcsGergely Feb 25, 2023
6526e93
Update BoarConfig with limits
SzabolcsGergely Feb 27, 2023
d34f74c
Update script node python bindings
SzabolcsGergely Feb 27, 2023
b62967c
Merge remote-tracking branch 'origin/develop' into HEAD
SzabolcsGergely Feb 28, 2023
37b1cc5
Update FW: Add workaround for BNO sequence number limit of 256 (senso…
SzabolcsGergely Mar 1, 2023
ae75d72
FW: camera sensor improvements:
alex-luxonis Mar 2, 2023
9cc8b36
Update stereo_depth_video.cpp
Erol444 Mar 3, 2023
fb57ecb
Merge pull request #746 from luxonis/stereo-depth-video-patch
SzabolcsGergely Mar 3, 2023
0a7956b
Enable interrupt mode: Update BMI driver with fixes from: https://git…
SzabolcsGergely Mar 3, 2023
c8cb7ca
Update ObjectTracker with improvements from rvc3
SzabolcsGergely Mar 3, 2023
f6c6f00
Add API to set trackingPerClass in ObjectTracker node
SzabolcsGergely Mar 3, 2023
2687c4c
Update FW before merge
SzabolcsGergely Mar 5, 2023
2bc8c15
Merge remote-tracking branch 'origin/develop' into HEAD
SzabolcsGergely Mar 5, 2023
0bf416d
Merge pull request #747 from luxonis/bmi270_interrupt_mode
SzabolcsGergely Mar 5, 2023
14fed3c
Update FW with IMU fix for BNO
SzabolcsGergely Mar 5, 2023
6489b1e
Add IMU versioning; firmware versioning, firmware update status callb…
SzabolcsGergely Mar 6, 2023
0655df1
Update FW with fix for BMI timestamp
SzabolcsGergely Mar 6, 2023
e316468
Update FW: IMU support for OAK-D-SR
SzabolcsGergely Mar 6, 2023
560b753
Fix 'default constrictible' error on some compilers
SzabolcsGergely Mar 7, 2023
4ed3413
Update FW
SzabolcsGergely Mar 7, 2023
49aaf1d
Add IMU FW update RPC
SzabolcsGergely Mar 7, 2023
1555805
Update IMU FW update example
SzabolcsGergely Mar 7, 2023
80880f5
Updated yolo description
Erol444 Mar 8, 2023
b519def
Update FW; API
SzabolcsGergely Mar 8, 2023
5ead66c
Merge pull request #755 from luxonis/yolo_update
SzabolcsGergely Mar 8, 2023
53dfa7e
Update examples
SzabolcsGergely Mar 8, 2023
12b198a
Update FW with deprecation warning for enableFirmwareUpdate
SzabolcsGergely Mar 8, 2023
f319dc8
Change imu version to imu type
SzabolcsGergely Mar 8, 2023
0c433c7
Update FW before merge
SzabolcsGergely Mar 9, 2023
60e7ee5
Merge pull request #752 from luxonis/imu_version_query
SzabolcsGergely Mar 9, 2023
bce1444
Added C++14 requirement to examples & tests
themarpe Mar 12, 2023
8440a90
Tweaked crash_report example
themarpe Mar 12, 2023
ddca0b2
Merge branch 'cpp14_examples_tests' into develop
themarpe Mar 12, 2023
e5dae8f
[FW] Added missing bindings for CameraControl and ImgFrame
themarpe Mar 13, 2023
0c3d6be
Update FW with fix for calibration load example
SzabolcsGergely Mar 16, 2023
c2b96c8
Merge remote-tracking branch 'origin/develop' into HEAD
SzabolcsGergely Mar 16, 2023
1e3cbb8
fix stability_stress_test fail to link on ubuntu
diablodale Mar 16, 2023
8c9912c
fix isClosed/checkClosed threading, rpcClient exceptions
diablodale Mar 13, 2023
9e56b82
Merge pull request #771 from diablodale/fix769-stability-fail-link
themarpe Mar 18, 2023
5db9896
fix var hides class member, this-> in constructors
diablodale Mar 18, 2023
af2b8c9
Merge pull request #772 from diablodale/fix247-more-cleaning
themarpe Mar 19, 2023
ec37219
fix: stdexcept header added for std::runtime_error
onuralpszr Mar 19, 2023
9dab6fc
Merge pull request #775 from onuralpszr/std_except_fix
themarpe Mar 19, 2023
fc81e1b
[FW] Removed UTF-8 degree sign from temperature prints. Closes: #773
themarpe Mar 19, 2023
3b4c56d
Merge branch 'develop' of github.com:luxonis/depthai-core into develop
themarpe Mar 19, 2023
12d7f16
Merge pull request #764 from diablodale/fix520-close-threading
themarpe Mar 19, 2023
6b2963b
Move sipp buffer size from BoardConfig to GlobalProperties
SzabolcsGergely Mar 20, 2023
9a91f91
Merge remote-tracking branch 'origin/develop' into HEAD
SzabolcsGergely Mar 20, 2023
f74ce33
Update style
SzabolcsGergely Mar 20, 2023
23e86d6
Partially reverted bce144449056aa2a914bc70da526aebe2f359c32 - only ke…
themarpe Mar 22, 2023
9ad7109
[Stereo] Add option to invalidate edge pixels on disparity/depth frame
SzabolcsGergely Mar 27, 2023
26e65a3
Update FW: handle disparity flipping
SzabolcsGergely Mar 27, 2023
2097673
Update FW: support for stereo.setOutputSize when LEFT or RIGHT alignm…
SzabolcsGergely Mar 28, 2023
143f778
Merge remote-tracking branch 'origin/main' into HEAD
SzabolcsGergely Mar 28, 2023
4c2035b
Update FW: support for stereo between RGB and LEFT/RIGHT
SzabolcsGergely Mar 28, 2023
9987406
[FW] ImageManip CSC improvements, New boards and power cycle fix
themarpe Mar 30, 2023
f605e58
Merge remote-tracking branch 'origin/disparity_invalidation' into HEAD
SzabolcsGergely Mar 31, 2023
b3a1c3b
Update FW: support for configurable ImageManip interpolation type
SzabolcsGergely Mar 28, 2023
e67e1c3
FW: fix for UART0 / '/dev/ttyS0' init failure in Script node
alex-luxonis Mar 31, 2023
9be2ff9
Update API to use dai::Interpolation
SzabolcsGergely Mar 31, 2023
8cea094
Merge remote-tracking branch 'origin/develop' into imagemanip_interpo…
SzabolcsGergely Mar 31, 2023
b2c65a8
Update FW with latest develop fixes
SzabolcsGergely Mar 31, 2023
8ed944b
Update FW with fix for USB devices stuck after reboot
SzabolcsGergely Mar 31, 2023
56b8e70
Merge remote-tracking branch 'origin/develop' into HEAD
SzabolcsGergely Mar 31, 2023
15bb02f
Update shared
SzabolcsGergely Mar 31, 2023
a0def1f
Release v2.21.0
SzabolcsGergely Apr 1, 2023
f8c459e
Merge pull request #790 from luxonis/develop
SzabolcsGergely Apr 1, 2023
4b3c687
Fix device destructor
SzabolcsGergely Apr 4, 2023
3e4152a
Merge pull request #796 from luxonis/device_destructor
SzabolcsGergely Apr 4, 2023
b21dafa
Update FW: fix spatial location calculator for 400p/480p resolution
SzabolcsGergely Apr 4, 2023
0cd6c14
Release v2.21.1
SzabolcsGergely Apr 4, 2023
ffd0546
FW: Fix camera intrinsics when RGB alignment is used
SzabolcsGergely Apr 5, 2023
125feb8
Release v2.21.2
SzabolcsGergely Apr 5, 2023
c4af66c
FW: fix running 4 cameras with Ethernet,
alex-luxonis Apr 13, 2023
e03c037
prevent duplicate xlink stream names
diablodale Apr 14, 2023
8d35bac
[FW] Fix for OAK-D-SR camera enumeration
themarpe Apr 18, 2023
53198b3
[FW] OAK-D-LR R1 preparation
themarpe Apr 18, 2023
c03bfea
[FW / BL] Updated both FW & BL for OAK-D-LR R1. ETH fixes and moved t…
themarpe Apr 18, 2023
8a1316f
[BL] Updated to 0.0.25 release
themarpe Apr 19, 2023
664bad9
Deprecated misleading board socket aliases
themarpe Apr 23, 2023
a8935bf
[FW] Match shared
themarpe Apr 23, 2023
05fe811
Tweaked naming a bit more
themarpe Apr 23, 2023
6933082
WIP: Refactoring constructors
themarpe Apr 23, 2023
4257f31
Added 2 additional board socket enums
themarpe Apr 23, 2023
4c67a51
Removed ;
themarpe Apr 23, 2023
6e5c1d0
Updated FW and fixed Device constructors
themarpe Apr 23, 2023
dbb0f95
Merge branch 'camera_name_examples' into develop
themarpe Apr 23, 2023
a24e907
Added more checks when parsing message and a test
themarpe Apr 23, 2023
4f7160a
Merge pull request #811 from diablodale/fix469-deadlock-xlink-dup-names
themarpe Apr 23, 2023
cb80458
Add get/set to all config messages
SzabolcsGergely Apr 24, 2023
1e315d4
Refactored logging to use device logger and capability to modify log …
themarpe Apr 24, 2023
a5fbcbc
Added custom spdlog logger library usage and exposed profiling data g…
themarpe Apr 26, 2023
771f5d3
Updated XLink with new functionality and increased PoE search time
themarpe Apr 26, 2023
d27ad1e
Added means of grabbing global profiling data as well
themarpe Apr 26, 2023
870f194
Merge remote-tracking branch 'origin/logging_improvements' into develop
themarpe May 2, 2023
a3dad2b
Merge remote-tracking branch 'origin/stream_message_parser_bugfix' in…
themarpe May 2, 2023
d7ee0f7
Updated XLink with 255.255.255.255 discovery added
themarpe May 2, 2023
c8187b5
Applied formatting
themarpe May 2, 2023
8ed7b6a
[Stereo] Fix auto distortion correction for 400p
SzabolcsGergely May 2, 2023
9096d62
[Stereo] Fix temporal filter crash on startup
SzabolcsGergely May 2, 2023
4168149
Add missing info log level
SzabolcsGergely May 5, 2023
1d990f9
Logging: fixed `DEPTHAI_DEBUG=1` causing a crash at init,
alex-luxonis May 6, 2023
c116e42
Merge 'origin/develop' into gen2_uvc
alex-luxonis May 6, 2023
bdbbf82
CrashDump: add optional clear of crash dump, enabled by default
SzabolcsGergely May 10, 2023
88c16dc
Color/Mono/Camera: add `setRawOutputPacked` config
alex-luxonis Mar 17, 2023
e1197f7
ImgFrame: handle RAW10/12/14 (unpacked) like RAW16
alex-luxonis Mar 17, 2023
9d554e5
ToF node with ToFConfig
FlorinBuica-luxonis Apr 21, 2023
b7de293
`make clangformat`
alex-luxonis May 12, 2023
e58b85b
Merge pull request #826 from luxonis/tof_vga
alex-luxonis May 12, 2023
7bf36cd
Merge 'origin/develop' into gen2_uvc
alex-luxonis May 12, 2023
5056dee
FW: UVC: H.264 with `ImgFrame::Type::BITSTREAM`, few more config checks
alex-luxonis May 15, 2023
4a452a9
Device: fix some constructors to forward pipeline DeviceConfig
alex-luxonis May 15, 2023
4bb0f83
Merge pull request #825 from luxonis/gen2_uvc
alex-luxonis May 15, 2023
cc8edba
Modified XLink to a temporary branch
themarpe May 15, 2023
1defb67
Updated XLink with fixed winusb mxid retrieval
themarpe May 16, 2023
a33f90b
Merge branch 'xlink_get_win_usb_mx_id_fix' into develop
themarpe May 16, 2023
75b93d6
FW: Stereo: handle queue blocking settings
SzabolcsGergely May 18, 2023
2bd6419
[FW] Updated for some devices and ToF
themarpe May 24, 2023
c732289
Added filter by device name
themarpe May 25, 2023
14dd92b
[FW] WIP for S2 PoE boards
themarpe May 29, 2023
be9c9d9
[FW] WIP for new SoMs
themarpe May 30, 2023
7c07d7c
Fixed build
themarpe May 30, 2023
ceb954c
[FW] Fixed camera orientation
themarpe Jun 2, 2023
5f75ae7
Updated bootloader to 0.0.26. Includes some stability improvements. U…
themarpe Jun 5, 2023
73d36a3
Add example for read calibration in script node
Jun 7, 2023
ae03794
Bump version to v2.22.0
themarpe Jun 7, 2023
c7e7c25
Add to cmake and fix errors
Jun 7, 2023
830fa4c
Merge branch 'device_name_list' into release_v2.22.0
themarpe Jun 8, 2023
0435b50
FW: update IMX296 tuning
alex-luxonis Jun 12, 2023
2facab6
[FW] Fixed OAK-D-SR and OV9782 issues
themarpe Jun 13, 2023
82ab07d
Merge branch 'release_v2.22.0'
themarpe Jun 13, 2023
44586d6
Merge remote-tracking branch 'origin/main' into develop
themarpe Jun 14, 2023
6884d77
Change printf to node.info in script node read calibration example
Jun 20, 2023
bd5a580
Merge branch 'script_node_read_calibration' into develop
Jun 20, 2023
b0e37dc
ToF: Add median filter support
SzabolcsGergely Jun 21, 2023
8b3daa5
Merge remote-tracking branch 'origin/develop' into HEAD
SzabolcsGergely Jun 21, 2023
23db0d6
Update FW to latest develop
SzabolcsGergely Jun 26, 2023
733fbe0
Merge pull request #855 from luxonis/tof_median_filter
SzabolcsGergely Jun 26, 2023
e52f10f
FW: Stereo: Apply alpha scaling parameter to RGB intrinsics when RGB …
SzabolcsGergely Jul 4, 2023
1702d31
FW: fix CAM_D enumeration on OAK-FFC-4P R7
alex-luxonis Jul 4, 2023
3ef1175
Camera: move alpha parameter as optional to be consistent with stereo
SzabolcsGergely Jul 4, 2023
b4fe512
Merge remote-tracking branch 'origin/develop' into camera_node_alpha_…
SzabolcsGergely Jul 4, 2023
4faa36e
Update FW
SzabolcsGergely Jul 5, 2023
945e7b8
Merge pull request #867 from luxonis/camera_node_alpha_scaling
SzabolcsGergely Jul 5, 2023
ca3de86
BMI: Fix accumulating latency due to slow xlink read
SzabolcsGergely Jul 5, 2023
c7f3076
Merge remote-tracking branch 'origin/develop' into HEAD
SzabolcsGergely Jul 6, 2023
cba779c
Fix constructors overriding maxUsbSpeed
Jul 12, 2023
cf736ab
Merge pull request #873 from luxonis/usb_speed_override
themarpe Jul 13, 2023
40df8f3
hasAutofocus fix based on device name/lensPosition
AnielAlexa Jul 14, 2023
147781e
WIP: Device name improvements
themarpe Jul 27, 2023
dbed228
Added improvements to device naming
themarpe Jul 27, 2023
58603c1
Merge branch 'develop' into autofocus_fix
AnielAlexa Jul 28, 2023
1289c3a
Merge pull request #874 from luxonis/autofocus_fix
AnielAlexa Jul 28, 2023
0e37dcd
Fixed device related logging
themarpe Jul 31, 2023
e8441f0
Moved ts, tsDevice, and sequenceNum from descendants to RawBuffer
asahtik Aug 11, 2023
864ef84
Merge branch 'develop' of github.com:luxonis/depthai-core into move_t…
asahtik Aug 14, 2023
bebb3d0
Added getters and setters
asahtik Aug 14, 2023
a175a26
z_map for tof
AnielAlexa Aug 14, 2023
fb4ed92
Merge pull request #888 from luxonis/tof_depth_map
SzabolcsGergely Aug 14, 2023
ebb1ed3
Merge branch 'develop' of github.com:luxonis/depthai-core into move_t…
asahtik Aug 15, 2023
2a25f0f
ts to tsDevice fix
asahtik Aug 15, 2023
977cefb
Updated ColorCamera's setSensorCrop comment for documentation
Erol444 Apr 17, 2023
6302eeb
Removed redundant getters and setters
asahtik Aug 17, 2023
5198e8b
FW: add support for OAK-D-SR-PoE R1M1E1
alex-luxonis Aug 17, 2023
05cb121
Fixed mistake in ImgFrame
asahtik Aug 17, 2023
f09e7ee
Ran ClangFormat
asahtik Aug 18, 2023
a568ab6
Added DEPTHAI_ENABLE_LIBUSB option, to enable/disable USB protocol in…
themarpe Aug 21, 2023
4310b9d
Applied style
themarpe Aug 21, 2023
5e65300
Updated XLink library with some fixes
themarpe Aug 21, 2023
a91cdef
Merge pull request #814 from luxonis/update_sensorcrop_docs
themarpe Aug 21, 2023
26cc2fb
FW: fix default fsync on OAK-D-SR-PoE. GPIO46 input by default
alex-luxonis Aug 23, 2023
517ce93
hasautofocusIC
AnielAlexa Aug 24, 2023
0343e42
FW: fix 4 cams crash on PoE due to memory allocation
alex-luxonis Aug 28, 2023
e12f552
Merge remote-tracking branch 'origin/develop' into HEAD
SzabolcsGergely Aug 31, 2023
cd9d883
Update FW / shared
SzabolcsGergely Aug 31, 2023
27d49a1
Merge remote-tracking branch 'origin/develop' into HEAD
SzabolcsGergely Aug 31, 2023
47055d5
FW: fix OAK-D-SR camera enum. IMX296 updates:
alex-luxonis Aug 31, 2023
fd3f4d7
Attempt to fix serialization error on windows compiler
SzabolcsGergely Sep 1, 2023
1c5fe7d
Update FW
SzabolcsGergely Sep 1, 2023
f7acca2
Implemented timesync optimization
asahtik Sep 1, 2023
025b8d8
Fixed new timesync bugs
asahtik Sep 7, 2023
803f242
Moved treceive back to XLink
asahtik Sep 7, 2023
7afad88
Changes according to PR issue
asahtik Sep 8, 2023
bdfa86d
Clangformat
asahtik Sep 8, 2023
a4ec927
Bump FW
asahtik Sep 8, 2023
3af7c38
WIP: Device name improvements
themarpe Sep 12, 2023
d841b96
Added improvements to device naming
themarpe Sep 12, 2023
0af97a8
FIXME: does not work on rpi
asahtik Sep 13, 2023
4bc7dc6
Merge resolution
asahtik Sep 13, 2023
8699c18
Updated FW with changes
themarpe Sep 13, 2023
b5ac2ee
Bump shared
asahtik Sep 13, 2023
67aaeda
Merge branch 'device_name_improvements' of github.com:luxonis/depthai…
asahtik Sep 13, 2023
5e0df28
Fixed compiler error
asahtik Sep 13, 2023
f4bfbf8
Changed struct timespec to custom struct to fix RPI size issues
asahtik Sep 14, 2023
3a90239
Bump shared
asahtik Sep 15, 2023
57de7c0
FW, ColorCamera: add new almost-full-FOV resolutions for IMX378/477, …
alex-luxonis Sep 15, 2023
f93b8cb
Fixed incorrect warp in issue #882
asahtik Sep 22, 2023
b6f35d3
Merge branch 'device_name_improvements' into develop
themarpe Sep 22, 2023
eba456e
Merge remote-tracking branch 'origin/timesync_optimization' into develop
themarpe Sep 22, 2023
052603c
[FW] OAK-D SR PoE and ToF improvements
themarpe Sep 22, 2023
b1e9c90
Merge remote-tracking branch 'origin/incorrect_warp_4pt' into develop
themarpe Sep 22, 2023
b928542
[FW] Improved OV9782 fps handling
themarpe Sep 22, 2023
a441ae2
Updated FW & XLink with backward compatible timestamping
themarpe Sep 25, 2023
66ec090
FW: fixes for AR0234 fsync, AR0234 AE max exposure: 16->33 ms,
alex-luxonis Sep 28, 2023
143defc
fixed the order of translation multiplication
saching13 Sep 29, 2023
02b1be7
clang update
saching13 Sep 29, 2023
b754f59
[FW] deviceName fixes and updated for EepromData changes
themarpe Sep 29, 2023
73d9bd4
Increased num XLink connections to 64
themarpe Sep 29, 2023
ff0617b
Bumped num XLink connections to 64
themarpe Sep 29, 2023
f1b6d30
Merge remote-tracking branch 'origin/imu-extrinsic-fix' into release_…
themarpe Sep 30, 2023
bcd7a0e
Merge remote-tracking branch 'origin/release_v2.23.0' into main
themarpe Oct 3, 2023
f00e11b
Update README.md
Erol444 Nov 9, 2023
6b5093d
Merge pull request #443 from luxonis/readme_shield
Erol444 Nov 9, 2023
eeb32f2
Merge remote-tracking branch 'origin/main' into ros-release-2.23
saching13 Nov 14, 2023
97cc569
Update changelog and package xml
saching13 Nov 14, 2023
26f43da
removed merge dubpicate
saching13 Nov 15, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,29 @@
Changelog for package depthai
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

2.23.0 (2023-11-14)
-----------
* ImageManip - configurable interpolation type
* Script - added missing bindings for reading device releated data (on device calibration, etc...)
* Added Device::getDeviceName and Device::getProductName that target a user name and a "SKU" name
* Timesync - improved synchronization with tweaks to XLink
* Calibration - added housingExtrinsics
* Fix CAM_D enumeration on OAK-FFC-4P R7
* BMI270 IMU - fix latency when slow reading
* Device related logging
* OAK-D-SR-POE - new revision bugfixes
* Fix 4 cameras crash on PoE due to memory allocation
* Fixed incorrect warp in issue #882
* XLink - updated number of devices to 64
* ToF - median filter and Z map support (still not the final decoding pipeline)
* hasAutofocus value fixed and introduced hasAutofocusIC
* Added timestamps and sequence numbers to all Message types
* Added DEPTHAI_ENABLE_LIBUSB for potentially disabling USB protocol (to not require libusb library)
* OV9782 and AR0234 improvements:
* OV9782 FPS improvements
* AR0234 max exposure time bump to 33ms and improved FSync INPUT mode
* Contributors: Alex Bougdan, Szabolcs Gergely, Martin Peterlin

2.22.0 (2023-06-15)
-----------
* UVC Node - Capability to create a pipeline that sends data over UVC (or flash it)
Expand Down
16 changes: 12 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ endif()

set(HUNTER_SKIP_PACKAGE_nlohmann_json OFF)
set(BUILD_SHARED_LIBS ON)
# Early options
option(DEPTHAI_ENABLE_LIBUSB "Enable usage of libusb and interaction with USB devices" ON)

# Set type to canonicalize relative paths for user-provided toolchain
set(CMAKE_TOOLCHAIN_FILE "" CACHE FILEPATH "CMake toolchain path")

Expand Down Expand Up @@ -45,7 +48,7 @@ if(WIN32)
endif()

# Create depthai project
project(depthai VERSION "2.22.0" LANGUAGES CXX C)
project(depthai VERSION "2.23.0" LANGUAGES CXX C)
get_directory_property(has_parent PARENT_DIRECTORY)
if(has_parent)
set(DEPTHAI_VERSION ${PROJECT_VERSION} PARENT_SCOPE)
Expand Down Expand Up @@ -254,6 +257,7 @@ add_library(${TARGET_CORE_NAME}
src/utility/Environment.cpp
src/utility/XLinkGlobalProfilingLogger.cpp
src/utility/Logging.cpp
src/utility/EepromDataParser.cpp
src/xlink/XLinkConnection.cpp
src/xlink/XLinkStream.cpp
src/openvino/OpenVINO.cpp
Expand Down Expand Up @@ -449,13 +453,16 @@ target_link_libraries(${TARGET_CORE_NAME}
set(DEPTHAI_DEVICE_VERSION "${DEPTHAI_DEVICE_SIDE_COMMIT}")
target_compile_definitions(${TARGET_CORE_NAME}
PRIVATE
# XLink required define
__PC__
# Add depthai-device version
DEPTHAI_DEVICE_VERSION="${DEPTHAI_DEVICE_VERSION}"
# Add depthai-bootloader version
DEPTHAI_BOOTLOADER_VERSION="${DEPTHAI_BOOTLOADER_VERSION}"
)
# Add compile flag if libusb is available
if(DEPTHAI_ENABLE_LIBUSB)
target_compile_definitions(${TARGET_CORE_NAME} PRIVATE DEPTHAI_ENABLE_LIBUSB)
set(DEPTHAI_HAVE_LIBUSB_SUPPORT ON)
endif()

# Add Backward dependency if enabled (On by default)
if(DEPTHAI_ENABLE_BACKWARD)
Expand Down Expand Up @@ -484,8 +491,9 @@ macro(add_runtime_dependencies depending_target dependency)
set(required_dll_files ${dlls} ${depthai_dll_libraries})
# Copy the required dlls
add_custom_command(TARGET ${depending_target} POST_BUILD COMMAND
${CMAKE_COMMAND} -E copy_if_different ${required_dll_files} $<TARGET_FILE_DIR:${depending_target}>
"$<$<BOOL:${required_dll_files}>:${CMAKE_COMMAND};-E;copy_if_different;${required_dll_files};$<TARGET_FILE_DIR:${depending_target}>>"
COMMAND_EXPAND_LISTS
VERBATIM
)
message(STATUS "Required dlls for core are: ${required_dll_files}")
endif()
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# DepthAI C++ Library

[![Forum](https://img.shields.io/badge/Forum-discuss-orange)](https://discuss.luxonis.com/)
[![Docs](https://img.shields.io/badge/Docs-DepthAI_API-yellow)](https://docs.luxonis.com/projects/api)
[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT)

Core C++ library
Expand Down
2 changes: 1 addition & 1 deletion cmake/Depthai/DepthaiDeviceSideConfig.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
set(DEPTHAI_DEVICE_SIDE_MATURITY "snapshot")

# "full commit hash of device side binary"
set(DEPTHAI_DEVICE_SIDE_COMMIT "f033fd9c7eb0b3578d12f90302e87759c78cfb36")
set(DEPTHAI_DEVICE_SIDE_COMMIT "39a9d271a9ed0172f6481877723fca96d41b54c6")

# "version if applicable"
set(DEPTHAI_DEVICE_SIDE_VERSION "")
6 changes: 4 additions & 2 deletions cmake/Hunter/config.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@ hunter_config(
hunter_config(
XLink
VERSION "luxonis-2021.4.2-develop"
URL "https://github.com/luxonis/XLink/archive/457b23fb33e1146610e1a4e52defa7565046977a.tar.gz"
SHA1 "006a2bd391498aea7895e988b787a420e7f51fa9"
URL "https://github.com/luxonis/XLink/archive/c940feaf9321f06a7d9660f28e686a9718135f38.tar.gz"
SHA1 "52935b6ceb470ee632de3348b9d2aaa2c6c24ac0"
CMAKE_ARGS
XLINK_ENABLE_LIBUSB=${DEPTHAI_ENABLE_LIBUSB}
)

hunter_config(
Expand Down
23 changes: 23 additions & 0 deletions cmake/config.hpp.in
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,32 @@
// This build supports OpenCV integration?
#cmakedefine DEPTHAI_HAVE_OPENCV_SUPPORT

// This build supports libusb?
#cmakedefine DEPTHAI_HAVE_LIBUSB_SUPPORT

// Build specific settings overwrite
#ifdef DEPTHAI_TARGET_CORE
#ifndef DEPTHAI_TARGET_OPENCV
#undef DEPTHAI_HAVE_OPENCV_SUPPORT
#endif
#endif

namespace dai
{
namespace build
{

#ifdef DEPTHAI_HAVE_OPENCV_SUPPORT
constexpr static bool HAVE_OPENCV_SUPPORT = true;
#else
constexpr static bool HAVE_OPENCV_SUPPORT = false;
#endif

#ifdef DEPTHAI_HAVE_LIBUSB_SUPPORT
constexpr static bool HAVE_LIBUSB_SUPPORT = true;
#else
constexpr static bool HAVE_LIBUSB_SUPPORT = false;
#endif

} // namespace build
} // namespace dai
4 changes: 3 additions & 1 deletion examples/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,9 @@ function(dai_add_example example_name example_src enable_test)
set(depthai_dll_libraries "$<TARGET_RUNTIME_DLLS:${example_name}>")
endif()
add_custom_command(TARGET ${example_name} POST_BUILD COMMAND
${CMAKE_COMMAND} -E copy_if_different ${depthai_dll_libraries} $<TARGET_FILE_DIR:${example_name}>
"$<$<BOOL:${depthai_dll_libraries}>:${CMAKE_COMMAND};-E;copy_if_different;${depthai_dll_libraries};$<TARGET_FILE_DIR:${example_name}>>"
COMMAND_EXPAND_LISTS
VERBATIM
)
endif()
endfunction()
Expand Down Expand Up @@ -320,6 +321,7 @@ dai_add_example(script_json_communication Script/script_json_communication.cpp O
dai_add_example(script_change_pipeline_flow Script/script_change_pipeline_flow.cpp OFF)
target_compile_definitions(script_change_pipeline_flow PRIVATE BLOB_PATH="${mobilenet_5shaves_blob}")
dai_add_example(script_get_device_info Script/script_get_device_info.cpp ON)
dai_add_example(script_read_calibration Script/script_read_calibration.cpp ON)

# SpatialDetection
dai_add_example(spatial_location_calculator SpatialDetection/spatial_location_calculator.cpp ON)
Expand Down
2 changes: 1 addition & 1 deletion examples/ColorCamera/rgb_preview.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ int main() {
}

// Device name
cout << "Device name: " << device.getDeviceName() << endl;
cout << "Device name: " << device.getDeviceName() << " Product name: " << device.getProductName() << endl;

// Output queue will be used to get the rgb frames from the output defined above
auto qRgb = device.getOutputQueue("rgb", 4, false);
Expand Down
43 changes: 43 additions & 0 deletions examples/Script/script_read_calibration.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
#include <iostream>

// Includes common necessary includes for development using depthai library
#include "depthai/depthai.hpp"

int main() {
using namespace std;

// Start defining a pipeline
dai::Pipeline pipeline;

// Script node
auto script = pipeline.create<dai::node::Script>();
script->setProcessor(dai::ProcessorType::LEON_CSS);
script->setScript(R"(
import time

cal = Device.readCalibration2()
left_camera_id = cal.getStereoLeftCameraId()
right_camera_id = cal.getStereoRightCameraId()

extrinsics = cal.getCameraExtrinsics(left_camera_id, right_camera_id)
intrinsics_left = cal.getCameraIntrinsics(left_camera_id)

node.info(extrinsics.__str__())
node.info(intrinsics_left.__str__())

time.sleep(1)
node.io['end'].send(Buffer(32))
)");

auto xout = pipeline.create<dai::node::XLinkOut>();
xout->setStreamName("end");

script->outputs["end"].link(xout->input);

// Connect to device with pipeline
dai::Device device(pipeline);

device.getOutputQueue("end")->get();

return 0;
}
4 changes: 2 additions & 2 deletions examples/Warp/warp_mesh.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ int main() {
constexpr std::tuple<int, int> WARP1_OUTPUT_FRAME_SIZE = {992, 500};
warp1->setOutputSize(WARP1_OUTPUT_FRAME_SIZE);
warp1->setMaxOutputFrameSize(std::get<0>(WARP1_OUTPUT_FRAME_SIZE) * std::get<1>(WARP1_OUTPUT_FRAME_SIZE) * 3);
warp1->setInterpolation(dai::node::Warp::Properties::Interpolation::BYPASS);
warp1->setInterpolation(dai::Interpolation::NEAREST_NEIGHBOR);
warp1->setHwIds({1});

camRgb->preview.link(warp1->inputImage);
Expand All @@ -47,7 +47,7 @@ int main() {
// clang-format on
warp2->setWarpMesh(mesh2, 3, 3);
warp2->setMaxOutputFrameSize(maxFrameSize);
warp2->setInterpolation(dai::node::Warp::Properties::Interpolation::BICUBIC);
warp2->setInterpolation(dai::Interpolation::BICUBIC);
warp2->setHwIds({2});

camRgb->preview.link(warp2->inputImage);
Expand Down
1 change: 1 addition & 0 deletions include/depthai/common/CameraFeatures.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ inline std::ostream& operator<<(std::ostream& out, const dai::CameraFeatures& ca
}
out << "], ";
out << "hasAutofocus: " << camera.hasAutofocus << ", ";
out << "hasAutofocusIC: " << camera.hasAutofocusIC << ", ";
out << "name: " << camera.name << "}";

return out;
Expand Down
31 changes: 31 additions & 0 deletions include/depthai/device/CalibrationHandler.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,37 @@ class CalibrationHandler {
uint32_t boardOptions,
std::string boardCustom = "");

/**
* Set the Board Info object. Creates version 7 EEPROM data
*
* @param deviceName Sets device name.
* @param productName Sets product name (alias).
* @param boardName Sets board name.
* @param boardRev Sets board revision id.
* @param boardConf Sets board configuration id.
* @param hardwareConf Sets hardware configuration id.
* @param batchName Sets batch name. Not supported anymore
* @param batchTime Sets batch time (unix timestamp).
* @param boardCustom Sets a custom board (Default empty string).
*/
void setBoardInfo(std::string deviceName,
std::string productName,
std::string boardName,
std::string boardRev,
std::string boardConf,
std::string hardwareConf,
std::string batchName,
uint64_t batchTime,
uint32_t boardOptions,
std::string boardCustom = "");

/**
* Set the deviceName which responses to getDeviceName of Device
*
* @param deviceName Sets device name.
*/
void setDeviceName(std::string deviceName);

/**
* Set the productName which acts as alisas for users to identify the device
*
Expand Down
15 changes: 9 additions & 6 deletions include/depthai/device/DeviceBase.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -292,8 +292,8 @@ class DeviceBase {

/**
* Connects to device 'devInfo' with custom config.
* @param devInfo DeviceInfo which specifies which device to connect to
* @param config Device custom configuration to boot with
* @param devInfo DeviceInfo which specifies which device to connect to
*/
DeviceBase(Config config, const DeviceInfo& devInfo);

Expand Down Expand Up @@ -364,8 +364,8 @@ class DeviceBase {

/**
* Connects to device specified by devInfo.
* @param version OpenVINO version which the device will be booted with
* @param config Config with which specifies which device to connect to
* @param config Config with which the device will be booted with
* @param devInfo DeviceInfo which specifies which device to connect to
* @param maxUsbSpeed Maximum allowed USB speed
*/
DeviceBase(Config config, const DeviceInfo& devInfo, UsbSpeed maxUsbSpeed);
Expand Down Expand Up @@ -456,6 +456,12 @@ class DeviceBase {
*/
std::string getDeviceName();

/**
* Get product name if available
* @returns product name or empty string if not available
*/
std::string getProductName();

/**
* Get MxId of device
*
Expand Down Expand Up @@ -867,7 +873,6 @@ class DeviceBase {
void init(OpenVINO::Version version);
void init(OpenVINO::Version version, const dai::Path& pathToCmd);
void init(OpenVINO::Version version, UsbSpeed maxUsbSpeed);
void init(OpenVINO::Version version, bool usb2Mode, const dai::Path& pathToMvcmd);
void init(OpenVINO::Version version, UsbSpeed maxUsbSpeed, const dai::Path& pathToMvcmd);
void init(const Pipeline& pipeline);
void init(const Pipeline& pipeline, UsbSpeed maxUsbSpeed);
Expand All @@ -876,9 +881,7 @@ class DeviceBase {
void init(const Pipeline& pipeline, const DeviceInfo& devInfo, bool usb2Mode);
void init(const Pipeline& pipeline, const DeviceInfo& devInfo, UsbSpeed maxUsbSpeed);
void init(const Pipeline& pipeline, const DeviceInfo& devInfo, const dai::Path& pathToCmd);
void init(const Pipeline& pipeline, bool usb2Mode, const dai::Path& pathToMvcmd);
void init(const Pipeline& pipeline, UsbSpeed maxUsbSpeed, const dai::Path& pathToMvcmd);
void init(Config config, bool usb2Mode, const dai::Path& pathToMvcmd);
void init(Config config, UsbSpeed maxUsbSpeed, const dai::Path& pathToMvcmd);
void init(Config config, UsbSpeed maxUsbSpeed);
void init(Config config, const dai::Path& pathToCmd);
Expand Down
16 changes: 0 additions & 16 deletions include/depthai/pipeline/datatype/AprilTags.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,22 +25,6 @@ class AprilTags : public Buffer {

std::vector<AprilTag>& aprilTags;

/**
* Retrieves image timestamp related to dai::Clock::now()
*/
std::chrono::time_point<std::chrono::steady_clock, std::chrono::steady_clock::duration> getTimestamp() const;

/**
* Retrieves image timestamp directly captured from device's monotonic clock,
* not synchronized to host time. Used mostly for debugging
*/
std::chrono::time_point<std::chrono::steady_clock, std::chrono::steady_clock::duration> getTimestampDevice() const;

/**
* Retrieves image sequence number
*/
int64_t getSequenceNum() const;

/**
* Sets image timestamp related to dai::Clock::now()
*/
Expand Down
Loading