Skip to content

Commit 266453e

Browse files
authored
Humble 2.10.1 (#593)
1 parent 4a28840 commit 266453e

File tree

19 files changed

+42
-29
lines changed

19 files changed

+42
-29
lines changed

depthai-ros/CHANGELOG.rst

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

5+
2.10.1 (2024-09-18)
6+
-------------------
7+
* Fix ToF synced publishing
8+
* Add camera_info publishing when publishing compressed images
9+
* Catch errors when starting the device
10+
511
2.10.0 (2024-08-29)
612
-------------------
7-
## What's Changed
813
* Adding stl files for SR and LR models by @danilo-pejovic in https://github.com/luxonis/depthai-ros/pull/491
914
* No imu fix Humble by @Serafadam in https://github.com/luxonis/depthai-ros/pull/500
1015
* Tracking converter for ROS2 Humble by @daniqsilva25 in https://github.com/luxonis/depthai-ros/pull/505
@@ -20,13 +25,6 @@ Changelog for package depthai-ros
2025
* WLS fix humble by @Serafadam in https://github.com/luxonis/depthai-ros/pull/582
2126
* Syncing & RS updates Humble by @Serafadam in https://github.com/luxonis/depthai-ros/pull/586
2227

23-
## New Contributors
24-
* @r4hul77 made their first contribution in https://github.com/luxonis/depthai-ros/pull/507
25-
* @Nibanovic made their first contribution in https://github.com/luxonis/depthai-ros/pull/511
26-
* @destogl made their first contribution in https://github.com/luxonis/depthai-ros/pull/524
27-
28-
**Full Changelog**: https://github.com/luxonis/depthai-ros/compare/v2.9.0-humble...v2.10.0-humble
29-
3028
2.9.0 (2024-01-24)
3129
-------------------
3230

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.0 LANGUAGES CXX C)
3+
project(depthai-ros VERSION 2.10.1 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.0</version>
4+
<version>2.10.1</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.0 LANGUAGES CXX C)
4+
project(depthai_bridge VERSION 2.10.1 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.0</version>
4+
<version>2.10.1</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.0)
2+
project(depthai_descriptions VERSION 2.10.1)
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.0</version>
4+
<version>2.10.1</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.0 LANGUAGES CXX C)
2+
project(depthai_examples VERSION 2.10.1 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.0</version>
4+
<version>2.10.1</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.0 LANGUAGES CXX C)
2+
project(depthai_filters VERSION 2.10.1 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.0</version>
5+
<version>2.10.1</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.0)
2+
project(depthai_ros_driver VERSION 2.10.1)
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/sr_poe_rgbd.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,10 @@
66
i_enable_ir: false
77
i_nn_type: none
88
i_pipeline_type: rgbtof
9+
pipeline_gen:
10+
i_enable_sync: true
911
right:
1012
i_low_bandwidth: true
13+
i_synced: true
14+
tof:
15+
i_synced: true

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.0</version>
5+
<version>2.10.1</version>
66
<description>Depthai ROS Monolithic node.</description>
77
<maintainer email="[email protected]">Adam Serafin</maintainer>
88

depthai_ros_driver/src/camera.cpp

+15-6
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Camera::Camera(const rclcpp::NodeOptions& options) : rclcpp::Node("camera", opti
1515
startTimer = this->create_wall_timer(std::chrono::seconds(1), [this]() {
1616
ph = std::make_unique<param_handlers::CameraParamHandler>(shared_from_this(), "camera");
1717
ph->declareParams();
18-
onConfigure();
18+
start();
1919
startTimer->cancel();
2020
});
2121
rclcpp::on_shutdown([this]() { stop(); });
@@ -78,11 +78,20 @@ void Camera::diagCB(const diagnostic_msgs::msg::DiagnosticArray::SharedPtr msg)
7878
}
7979

8080
void Camera::start() {
81-
RCLCPP_INFO(get_logger(), "Starting camera.");
82-
if(!camRunning) {
83-
onConfigure();
84-
} else {
85-
RCLCPP_INFO(get_logger(), "Camera already running!.");
81+
bool success = false;
82+
while(!success) {
83+
try {
84+
RCLCPP_INFO(this->get_logger(), "Starting camera.");
85+
if(!camRunning) {
86+
onConfigure();
87+
} else {
88+
RCLCPP_INFO(this->get_logger(), "Camera already running!.");
89+
}
90+
success = true;
91+
} catch(const std::exception& e) {
92+
RCLCPP_ERROR(this->get_logger(), "Exception occurred: %s. Retry", e.what());
93+
camRunning = false;
94+
}
8695
}
8796
}
8897

depthai_ros_driver/src/dai_nodes/sensors/img_pub.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,7 @@ void ImagePublisher::publish(std::shared_ptr<Image> img) {
185185
} else {
186186
ffmpegPub->publish(std::move(img->ffmpegPacket));
187187
}
188+
infoPub->publish(std::move(img->info));
188189
} else {
189190
if(ipcEnabled && (!pubConfig.lazyPub || detectSubscription(imgPub, infoPub))) {
190191
imgPub->publish(std::move(img->image));

depthai_ros_driver/src/param_handlers/tof_param_handler.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ ToFParamHandler::ToFParamHandler(std::shared_ptr<rclcpp::Node> node, const std::
1919
ToFParamHandler::~ToFParamHandler() = default;
2020
void ToFParamHandler::declareParams(std::shared_ptr<dai::node::Camera> cam, std::shared_ptr<dai::node::ToF> tof) {
2121
declareAndLogParam<bool>("i_publish_topic", true);
22-
declareAndLogParam<bool>("i_synced", true);
22+
declareAndLogParam<bool>("i_synced", false);
2323
declareAndLogParam<bool>("i_low_bandwidth", false);
2424
declareAndLogParam<int>("i_low_bandwidth_profile", 4);
2525
declareAndLogParam<int>("i_low_bandwidth_bitrate", 0);

depthai_ros_msgs/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_msgs VERSION 2.10.0)
3+
project(depthai_ros_msgs VERSION 2.10.1)
44

55
if(POLICY CMP0057)
66
cmake_policy(SET CMP0057 NEW)

depthai_ros_msgs/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_msgs</name>
4-
<version>2.10.0</version>
4+
<version>2.10.1</version>
55
<description>Package to keep interface independent of the driver</description>
66

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

0 commit comments

Comments
 (0)