-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathcam_config_server.yaml
More file actions
82 lines (76 loc) · 2.52 KB
/
cam_config_server.yaml
File metadata and controls
82 lines (76 loc) · 2.52 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
# =====================================================
# Head camera configuration
# =====================================================
# camera topic
head_camera:
# camera config
# if enable_zmq and enable_webrtc are both false, the camera will not start
# Set to true to enable ZMQ publishing, false to disable
enable_zmq: true
# Port to publish camera stream, e.g. zmq tcp://*:55555. image_client.py should connect to the same port
zmq_port : 55555
# Set to true to enable WebRTC publishing, false to disable
enable_webrtc: true
# Port for WebRTC signaling server
webrtc_port : 60001
# webrtc codec preference, options: "vp8", "h264"
webrtc_codec: h264
# Type of camera:
# - "opencv" → opencv driver
# - "realsense" → pyrealsense2 driver
# - "uvc" → pyuvc driver
type: uvc
# Image Format
# image resolution: [height, width]
image_shape: [480, 1280]
binocular: true
# frame per second
fps: 30
# Camera identifiers (choose one or more):
# - video_id: X → /dev/videoX (e.g. 0 → /dev/video0)
# - serial_number: Y → camera's hardware serial (e.g. 141722079879)
# - physical_path: Z → sysfs physical USB path (e.g. /sys/devices/pci0000:00/.../1-11.2:1.0)
#
# Identifier priority:
# physical_path > serial_number > video_id
# if an identifier is not used, set it to null. The system will resolve the camera by priority.
#
# Notes:
# - type "realsense": supports serial_number only (but a RealSense can also be used as opencv/uvc if desired)
# - type "opencv": supports video_id, serial_number, physical_path
# - type "uvc": supports video_id, serial_number, physical_path
video_id: 0
serial_number: 01.00.00
physical_path: null
# =====================================================
# Left wrist camera configuration
# =====================================================
left_wrist_camera:
enable_zmq: true
zmq_port : 55556
enable_webrtc: true
webrtc_port : 60002
webrtc_codec: h264
type: uvc
image_shape: [480, 640]
binocular: false
fps: 30
video_id: 2
serial_number: 200901010001
physical_path: null
# =====================================================
# Right wrist camera configuration
# =====================================================
right_wrist_camera:
enable_zmq: true
zmq_port : 55557
enable_webrtc: true
webrtc_port: 60003
webrtc_codec: h264
type: uvc
image_shape: [480, 640]
binocular: false
fps: 30
video_id: 4
serial_number: 200901010002
physical_path: null