mirror of
https://github.com/orbbec/OrbbecSDK_ROS2.git
synced 2026-10-12 23:39:50 +08:00
Add device_status topic for state monitoring
This commit is contained in:
@@ -17,6 +17,7 @@ find_package(std_msgs REQUIRED)
|
||||
rosidl_generate_interfaces(
|
||||
${PROJECT_NAME}
|
||||
"msg/DeviceInfo.msg"
|
||||
"msg/DeviceStatus.msg"
|
||||
"msg/Extrinsics.msg"
|
||||
"msg/Metadata.msg"
|
||||
"msg/IMUInfo.msg"
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
std_msgs/Header header
|
||||
|
||||
# --- Color stream ---
|
||||
float64 color_frame_rate_cur
|
||||
float64 color_frame_rate_avg
|
||||
float64 color_frame_rate_min
|
||||
float64 color_frame_rate_max
|
||||
|
||||
float64 color_delay_ms_cur
|
||||
float64 color_delay_ms_avg
|
||||
float64 color_delay_ms_min
|
||||
float64 color_delay_ms_max
|
||||
|
||||
# --- Depth stream ---
|
||||
float64 depth_frame_rate_cur
|
||||
float64 depth_frame_rate_avg
|
||||
float64 depth_frame_rate_min
|
||||
float64 depth_frame_rate_max
|
||||
|
||||
float64 depth_delay_ms_cur
|
||||
float64 depth_delay_ms_avg
|
||||
float64 depth_delay_ms_min
|
||||
float64 depth_delay_ms_max
|
||||
|
||||
# --- Device info ---
|
||||
bool device_online
|
||||
string connection_type # e.g. "USB2.0", "USB3.0", "GigE"
|
||||
|
||||
# --- Calibration status ---
|
||||
bool calibration_from_user_file
|
||||
bool calibration_from_device
|
||||
bool calibration_from_launch_param
|
||||
Reference in New Issue
Block a user