feat: add runtime stream profile service

This commit is contained in:
slz
2026-07-08 16:10:51 +08:00
parent fdc0d1fe9c
commit d59c78d750
6 changed files with 506 additions and 101 deletions
+2
View File
@@ -25,6 +25,7 @@ rosidl_generate_interfaces(
"msg/Metadata.msg"
"msg/IMUInfo.msg"
"msg/RGBD.msg"
"msg/StreamProfile.msg"
"srv/GetBool.srv"
"srv/GetDeviceConfig.srv"
"srv/GetDeviceInfo.srv"
@@ -38,6 +39,7 @@ rosidl_generate_interfaces(
"srv/GetUserCalibParams.srv"
"srv/SetUserCalibParams.srv"
"srv/SetBagRecording.srv"
"srv/SetStreamProfile.srv"
DEPENDENCIES
sensor_msgs
std_msgs
+5
View File
@@ -0,0 +1,5 @@
string stream_name
int32 width
int32 height
int32 fps
string format
@@ -0,0 +1,4 @@
StreamProfile[] profiles
---
bool success
string message