Skip to content
This repository was archived by the owner on Jan 7, 2023. It is now read-only.

Commit 6f1ef7a

Browse files
committed
add PID and config file for realsense D455
1 parent bee6275 commit 6f1ef7a

File tree

3 files changed

+29
-0
lines changed

3 files changed

+29
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
/d435i:
2+
camera:
3+
ros__parameters:
4+
serial_no: 026222250386 # d455
5+
align_depth: false
6+
enable_pointcloud: true
7+
dense_pointcloud: true
8+
color0:
9+
enabled: true
10+
resolution: [640,480]
11+
fps: 30
12+
depth0:
13+
enabled: true
14+
resolution: [640,480]
15+
fps: 30
16+
infra1:
17+
enabled: true
18+
resolution: [640,480]
19+
fps: 30
20+
infra2:
21+
enabled: true
22+
resolution: [640,480]
23+
fps: 30
24+
accel0:
25+
enabled: true
26+
gyro0:
27+
enabled: true

realsense_ros/include/realsense/rs_constants.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ namespace realsense
2828
const uint16_t RS415_PID = 0x0ad3; // ASRC
2929
const uint16_t RS435_RGB_PID = 0x0b07; // AWGC
3030
const uint16_t RS435i_RGB_PID = 0x0B3A; // AWGC_MM
31+
const uint16_t RS455_RGB_PID = 0x0B5C; // D455
3132
const uint16_t RS_T265_PID = 0x0b37; // T265
3233
const uint16_t RS_USB2_PID = 0x0ad6; // USB2
3334
using stream_index_pair = std::pair<rs2_stream, int>;

realsense_ros/src/rs_factory.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ void RealSenseNodeFactory::startDevice()
9191
RCLCPP_INFO(this->get_logger(), "Create a node for D4X5 Camera");
9292
rs_node_ = std::make_unique<RealSenseD435>(ctx_, dev_, *this);
9393
break;
94+
case RS455_RGB_PID:
9495
case RS435i_RGB_PID:
9596
RCLCPP_INFO(this->get_logger(), "Create a node for D435i Camera");
9697
rs_node_ = std::make_unique<RealSenseD435I>(ctx_, dev_, *this);

0 commit comments

Comments
 (0)