Skip to content

Commit 7935cb0

Browse files
authored
Iron 2.10.5 (#626)
1 parent 9cdd438 commit 7935cb0

File tree

22 files changed

+98
-426
lines changed

22 files changed

+98
-426
lines changed

depthai-ros/CHANGELOG.rst

+10
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@
22
Changelog for package depthai-ros
33
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
44

5+
2.10.5 (2024-11-12)
6+
-------------------
7+
* Fix low bandwidth stereo publishing
8+
9+
2.10.4 (2024-11-07)
10+
-------------------
11+
* Fix rectified topic names
12+
* Fix pointcloud launch
13+
* Add sensor parameters for max autoexposure, sharpness, luma and chroma denoise
14+
515
2.10.3 (2024-10-14)
616
-------------------
717
* Allow setting USB speed without specifying device information

depthai-ros/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cmake_minimum_required(VERSION 3.10.2) # CMake version in Ubuntu 18.04 LTS
22

3-
project(depthai-ros VERSION 2.10.3 LANGUAGES CXX C)
3+
project(depthai-ros VERSION 2.10.5 LANGUAGES CXX C)
44

55
set(CMAKE_CXX_STANDARD 14)
66

depthai-ros/package.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0"?>
22
<package format="3">
33
<name>depthai-ros</name>
4-
<version>2.10.3</version>
4+
<version>2.10.5</version>
55
<description>The depthai-ros package</description>
66

77
<!-- One maintainer tag required, multiple allowed, one person per tag -->

depthai_bridge/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
cmake_minimum_required(VERSION 3.10.2) # CMake version in Ubuntu 18.04 LTS
22
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
33

4-
project(depthai_bridge VERSION 2.10.3 LANGUAGES CXX C)
4+
project(depthai_bridge VERSION 2.10.5 LANGUAGES CXX C)
55

66
set(CMAKE_CXX_STANDARD 14)
77
set(CMAKE_CXX_STANDARD_REQUIRED ON)

depthai_bridge/package.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0"?>
22
<package format="3">
33
<name>depthai_bridge</name>
4-
<version>2.10.3</version>
4+
<version>2.10.5</version>
55
<description>The depthai_bridge package</description>
66

77
<maintainer email="[email protected]">Adam Serafin</maintainer>

depthai_descriptions/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
cmake_minimum_required(VERSION 3.8)
2-
project(depthai_descriptions VERSION 2.10.3)
2+
project(depthai_descriptions VERSION 2.10.5)
33

44
if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
55
add_compile_options(-Wall -Wextra -Wpedantic)

depthai_descriptions/package.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0"?>
22
<package format="3">
33
<name>depthai_descriptions</name>
4-
<version>2.10.3</version>
4+
<version>2.10.5</version>
55
<description>The depthai_descriptions package</description>
66

77
<maintainer email="[email protected]">Adam Serafin</maintainer>

depthai_examples/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
cmake_minimum_required(VERSION 3.10.2) # CMake version in Ubuntu 18.04 LTS
2-
project(depthai_examples VERSION 2.10.3 LANGUAGES CXX C)
2+
project(depthai_examples VERSION 2.10.5 LANGUAGES CXX C)
33

44
set(CMAKE_CXX_STANDARD 14)
55
set(CMAKE_CXX_STANDARD_REQUIRED ON)

depthai_examples/package.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0"?>
22
<package format="3">
33
<name>depthai_examples</name>
4-
<version>2.10.3</version>
4+
<version>2.10.5</version>
55
<description>The depthai_examples package</description>
66

77
<!-- One maintainer tag required, multiple allowed, one person per tag -->

depthai_filters/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
cmake_minimum_required(VERSION 3.8)
2-
project(depthai_filters VERSION 2.10.3 LANGUAGES CXX C)
2+
project(depthai_filters VERSION 2.10.5 LANGUAGES CXX C)
33

44
if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
55
add_compile_options(-Wall -Wextra -Wpedantic)

depthai_filters/package.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?>
33
<package format="3">
44
<name>depthai_filters</name>
5-
<version>2.10.3</version>
5+
<version>2.10.5</version>
66
<description>Depthai filters package</description>
77
<maintainer email="[email protected]">Adam Serafin</maintainer>
88
<license>MIT</license>

depthai_ros_driver/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
cmake_minimum_required(VERSION 3.22)
2-
project(depthai_ros_driver VERSION 2.10.3)
2+
project(depthai_ros_driver VERSION 2.10.5)
33
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
44
set(CMAKE_BUILD_SHARED_LIBS ON)
55
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)

depthai_ros_driver/config/pcl.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
i_align_depth: true
77
i_board_socket_id: 2
88
i_subpixel: true
9-
i_publish_right_rect: true
9+
i_right_rect_publish_topic: true

depthai_ros_driver/launch/camera.launch.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,8 @@ def launch_setup(context, *args, **kwargs):
143143
},
144144
}
145145
parameter_overrides["depth"] = {
146-
"i_publish_left_rect": True,
147-
"i_publish_right_rect": True,
146+
"i_left_rect_publish_topic": True,
147+
"i_right_rect_publish_topic": True,
148148
}
149149

150150
tf_params = {}

depthai_ros_driver/package.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?>
33
<package format="3">
44
<name>depthai_ros_driver</name>
5-
<version>2.10.3</version>
5+
<version>2.10.5</version>
66
<description>Depthai ROS Monolithic node.</description>
77
<maintainer email="[email protected]">Adam Serafin</maintainer>
88

depthai_ros_driver/src/dai_nodes/sensors/img_pub.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ void ImagePublisher::createImageConverter(std::shared_ptr<dai::Device> device) {
9999
if(convConfig.alphaScalingEnabled) {
100100
converter->setAlphaScaling(convConfig.alphaScaling);
101101
}
102-
if(convConfig.outputDisparity) {
102+
if(!convConfig.outputDisparity) {
103103
auto calHandler = device->readCalibration();
104104
double baseline = calHandler.getBaselineDistance(pubConfig.leftSocket, pubConfig.rightSocket, false);
105105
if(convConfig.reverseSocketOrder) {

depthai_ros_driver/src/dai_nodes/sensors/stereo.cpp

+4-3
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,9 @@ void Stereo::setNames() {
8080

8181
void Stereo::setXinXout(std::shared_ptr<dai::Pipeline> pipeline) {
8282
bool outputDisparity = ph->getParam<bool>("i_output_disparity");
83+
bool lowBandwidth = ph->getParam<bool>("i_low_bandwidth");
8384
std::function<void(dai::Node::Input)> stereoLinkChoice;
84-
if(outputDisparity) {
85+
if(outputDisparity || lowBandwidth) {
8586
stereoLinkChoice = [&](auto input) { stereoCamNode->disparity.link(input); };
8687
} else {
8788
stereoLinkChoice = [&](auto input) { stereoCamNode->depth.link(input); };
@@ -92,7 +93,7 @@ void Stereo::setXinXout(std::shared_ptr<dai::Pipeline> pipeline) {
9293
encConf.bitrate = ph->getParam<int>("i_low_bandwidth_bitrate");
9394
encConf.frameFreq = ph->getParam<int>("i_low_bandwidth_frame_freq");
9495
encConf.quality = ph->getParam<int>("i_low_bandwidth_quality");
95-
encConf.enabled = ph->getParam<bool>("i_low_bandwidth");
96+
encConf.enabled = lowBandwidth;
9697

9798
stereoPub = setupOutput(pipeline, stereoQName, stereoLinkChoice, ph->getParam<bool>("i_synced"), encConf);
9899
}
@@ -155,7 +156,7 @@ void Stereo::setupRectQueue(std::shared_ptr<dai::Device> device,
155156
pubConfig.width = ph->getOtherNodeParam<int>(sensorName, "i_width");
156157
pubConfig.height = ph->getOtherNodeParam<int>(sensorName, "i_height");
157158
pubConfig.topicName = "~/" + sensorName;
158-
pubConfig.topicSuffix = rsCompabilityMode() ? "/image_rect_raw" : "/image_raw";
159+
pubConfig.topicSuffix = rsCompabilityMode() ? "/image_rect_raw" : "/image_rect";
159160
pubConfig.maxQSize = ph->getOtherNodeParam<int>(sensorName, "i_max_q_size");
160161
pubConfig.socket = sensorInfo.socket;
161162
pubConfig.infoMgrSuffix = "rect";

0 commit comments

Comments
 (0)