feat:添加udev配置
parent
bde4e8d476
commit
d7c2582190
|
@ -0,0 +1,4 @@
|
||||||
|
# 串口继电器
|
||||||
|
KERNEL=="ttyUSB*", SUBSYSTEM=="tty", ENV{ID_PATH}=="platform-xhci-hcd.4.auto-usb-0:1:1.0-port0", SYMLINK+="autolabor_relay", MODE="0777"
|
||||||
|
# 雷达
|
||||||
|
KERNEL=="ttyUSB*", SUBSYSTEM=="tty", ENV{ID_PATH}=="platform-fc840000.usb-usb-0:1:1.0-port0", SYMLINK+="autolabor_ld19", MODE="0777"
|
|
@ -63,7 +63,7 @@ namespace Autolabor.Benz.ObstacleDetection
|
||||||
|
|
||||||
// 4. 配置组件
|
// 4. 配置组件
|
||||||
// 激光雷达配置
|
// 激光雷达配置
|
||||||
_lidarDriver.SetProperty("lidar.port", "/dev/tty.usbserial-2120");
|
_lidarDriver.SetProperty("lidar.port", "/dev/autolabor_ld19");
|
||||||
_lidarDriver.SetProperty("lidar.x", 0.0);
|
_lidarDriver.SetProperty("lidar.x", 0.0);
|
||||||
_lidarDriver.SetProperty("lidar.y", 0.0);
|
_lidarDriver.SetProperty("lidar.y", 0.0);
|
||||||
_lidarDriver.SetProperty("lidar.originName", "frontLidarOrigin");
|
_lidarDriver.SetProperty("lidar.originName", "frontLidarOrigin");
|
||||||
|
@ -77,7 +77,7 @@ namespace Autolabor.Benz.ObstacleDetection
|
||||||
_lidarDriver.SetProperty("sim.lidar.listen.port", _FrontLidarListenPort);
|
_lidarDriver.SetProperty("sim.lidar.listen.port", _FrontLidarListenPort);
|
||||||
|
|
||||||
// 串口继电器配置
|
// 串口继电器配置
|
||||||
_serialRelay.SetProperty("serial.relay.port", "/dev/tty.usbserial-AC012VIB");
|
_serialRelay.SetProperty("serial.relay.port", "/dev/autolabor_relay");
|
||||||
|
|
||||||
// 创建感兴趣区
|
// 创建感兴趣区
|
||||||
_lidarRois = new[]
|
_lidarRois = new[]
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue