forked from RoboStack/ros-humble
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
patch realsense2_camera \n\n IntelRealSense/realsense-ros#2868
- Loading branch information
tingfan wu
committed
Oct 7, 2023
1 parent
4f331d1
commit 30e64e5
Showing
1 changed file
with
12 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
diff --git a/src/base_realsense_node.cpp b/src/base_realsense_node.cpp | ||
index 5e4e6e7..59cf468 100755 | ||
--- a/src/base_realsense_node.cpp | ||
+++ b/src/base_realsense_node.cpp | ||
@@ -784,7 +784,7 @@ void BaseRealSenseNode::SetBaseStream() | ||
|
||
void BaseRealSenseNode::publishPointCloud(rs2::points pc, const rclcpp::Time& t, const rs2::frameset& frameset) | ||
{ | ||
- std::string frame_id = (_align_depth_filter->is_enabled() ? OPTICAL_FRAME_ID(COLOR) : OPTICAL_FRAME_ID(DEPTH)); | ||
+ std::string frame_id = OPTICAL_FRAME_ID(DEPTH); | ||
_pc_filter->Publish(pc, t, frameset, frame_id); | ||
} |