fix(config): preserve dev camera definitions

This commit is contained in:
linbo 2026-09-20 14:31:15 +08:00
parent b9b6088800
commit 7ecf0324f1

View File

@ -35,8 +35,8 @@ camera {
stream_mode: STREAM_MODE_RGB
}
encoder {
width: 640
height: 360
width: 480
height: 320
fps: 30
codec: "H264"
enable_stream_timestamp: true
@ -48,21 +48,21 @@ camera {
}
cameras {
id: "cam3"
id: "left_hand_cam"
realsense {
serialNumber: "243122075614"
camera_mode: CAMERA_MODE_VIDEO
capture {
width: 640
height: 480
width: 1280
height: 720
fps: 30
stream_mode: STREAM_MODE_RGBD
stream_mode: STREAM_MODE_RGB
}
encoder {
width: 640
height: 480
width: 480
height: 320
fps: 30
codec: "H265"
codec: "H264"
enable_stream_timestamp: true
buffer_size: 30
}
@ -83,8 +83,8 @@ camera {
stream_mode: STREAM_MODE_RGBD
}
encoder {
width: 1280
height: 720
width: 480
height: 320
fps: 30
codec: "H264"
enable_stream_timestamp: true
@ -92,7 +92,7 @@ camera {
}
consume_new_frame_only: false
viewer_pip {
enable: true
enable: false
left: -10
bottom: 10
width: 320
@ -101,7 +101,57 @@ camera {
}
}
cameras {
id: "mujoco_external_touch_cam"
mujoco {
world_id: "mujoco_world"
camera_name: "external_touch_cam"
render {
width: 1280
height: 720
fps: 30
stream_mode: STREAM_MODE_RGBD
}
encoder {
width: 480
height: 320
fps: 30
codec: "H264"
enable_stream_timestamp: true
buffer_size: 30
}
consume_new_frame_only: false
viewer_pip {
enable: false
left: 10
bottom: 10
width: 320
height: 180
}
}
}
cameras {
id: "left_eye_cam"
uvc {
usb: "/dev/uvc_left_camera"
camera_mode: CAMERA_MODE_VIDEO
capture {
width: 640
height: 480
fps: 30
stream_mode: STREAM_MODE_RGB
}
encoder {
width: 640
height: 480
fps: 30
codec: "H265"
enable_stream_timestamp: true
buffer_size: 30
}
}
}
cameras {
id: "cam5"
@ -146,6 +196,7 @@ camera {
buffer_size: 30
}
}
cameras {
id: "hikvision_thermal_cam"
hikvision {