Skip to content

Commit eea5b15

Browse files
committed
Add hole_filling filter.
update version to 2.2.3
1 parent de6e825 commit eea5b15

File tree

4 files changed

+8
-2
lines changed

4 files changed

+8
-2
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ The topics are of the form: ```/camera/aligned_depth_to_color/image_raw``` etc.
8383
- ```disparity``` - convert depth to disparity before applying other filters and back.
8484
- ```spatial``` - filter the depth image spatially.
8585
- ```temporal``` - filter the depth image temporally.
86+
- ```hole_filling``` - apply hole-filling filter.
8687
- ```decimation``` - reduces depth scene complexity.
8788
- **enable_sync**: gathers closest frames of different sensors, infra red, color and depth, to be sent with the same timetag. This happens automatically when such filters as pointcloud are enabled.
8889
- ***<stream_type>*_width**, ***<stream_type>*_height**, ***<stream_type>*_fps**: <stream_type> can be any of *infra, color, fisheye, depth, gyro, accel, pose*. Sets the required format of the device. If the specified combination of parameters is not available by the device, the stream will not be published. Setting a value to 0, will choose the first format in the inner list. (i.e. consistent between runs but not defined). Note: for gyro accel and pose, only _fps option is meaningful.

realsense2_camera/include/constants.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
#define REALSENSE_ROS_MAJOR_VERSION 2
99
#define REALSENSE_ROS_MINOR_VERSION 2
10-
#define REALSENSE_ROS_PATCH_VERSION 2
10+
#define REALSENSE_ROS_PATCH_VERSION 3
1111

1212
#define STRINGIFY(arg) #arg
1313
#define VAR_ARG_STRING(arg) STRINGIFY(arg)

realsense2_camera/package.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0"?>
22
<package format="2">
33
<name>realsense2_camera</name>
4-
<version>2.2.0</version>
4+
<version>2.2.3</version>
55
<description>RealSense Camera package allowing access to Intel 3D D400 cameras</description>
66
<maintainer email="[email protected]">Sergey Dorodnicov</maintainer>
77
<maintainer email="[email protected]">Doron Hirshberg</maintainer>

realsense2_camera/src/base_realsense_node.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -891,6 +891,11 @@ void BaseRealSenseNode::setupFilters()
891891
ROS_INFO("Add Filter: temporal");
892892
_filters.push_back(NamedFilter("temporal", std::make_shared<rs2::temporal_filter>()));
893893
}
894+
else if ((*s_iter) == "hole_filling")
895+
{
896+
ROS_INFO("Add Filter: hole_filling");
897+
_filters.push_back(NamedFilter("hole_filling", std::make_shared<rs2::hole_filling_filter>()));
898+
}
894899
else if ((*s_iter) == "decimation")
895900
{
896901
ROS_INFO("Add Filter: decimation");

0 commit comments

Comments
 (0)