feat: add runtime stream profile service

This commit is contained in:
slz
2026-07-07 18:04:32 +08:00
parent 3e58c45f0d
commit 5223994d9a
6 changed files with 299 additions and 23 deletions
+2
View File
@@ -20,6 +20,7 @@ rosidl_generate_interfaces(${PROJECT_NAME}
"msg/Metadata.msg"
"msg/IMUInfo.msg"
"msg/RGBD.msg"
"msg/StreamProfile.msg"
"srv/GetBool.srv"
"srv/GetDeviceInfo.srv"
"srv/GetCameraInfo.srv"
@@ -27,6 +28,7 @@ rosidl_generate_interfaces(${PROJECT_NAME}
"srv/GetString.srv"
"srv/SetInt32.srv"
"srv/SetString.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