forked from YDLIDAR/ydlidar_ros2_driver
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathydlidar.yaml
More file actions
66 lines (47 loc) · 1.53 KB
/
ydlidar.yaml
File metadata and controls
66 lines (47 loc) · 1.53 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
# YDLidar X4 Pro Configuration for ROS2 Jazzy
# Note: This lidar reports as S2PRO and requires single channel mode
ydlidar_ros2_driver_node:
ros__parameters:
# Serial port - your lidar is on USB1
port: /dev/ttyUSB1
# TF frame ID for the laser scan
frame_id: laser_frame
# Ignore array for filtering angle ranges (e.g., "-90, -80, 30, 40")
ignore_array: ""
# Baudrate: 128000 bps (as detected by SDK)
baudrate: 128000
# Lidar type: 1 = TYPE_TRIANGLE
lidar_type: 1
# Device type: 0 = YDLIDAR_TYPE_SERIAL
device_type: 0
# This lidar requires single channel mode (reports as S2PRO)
isSingleChannel: true
# No intensity data
intensity: false
intensity_bit: 0
# Sample rate: 5 KHz (as detected by SDK)
sample_rate: 5
# Number of abnormal startup data attempts
abnormal_check_count: 4
# Fixed angular resolution
fixed_resolution: true
# Reversion (matching what worked before)
reversion: true
# Inverted scanning direction (CounterClockWise)
inverted: true
# Auto reconnect on disconnect
auto_reconnect: true
# Motor DTR control
support_motor_dtr: false
# Angular range (full 360 degrees)
angle_max: 180.0
angle_min: -180.0
# Range: 0.12m - 12m
range_max: 12.0
range_min: 0.12
# Scanning frequency: 10 Hz
frequency: 10.0
# Invalid range handling
invalid_range_is_inf: false
# Debug mode
debug: false