提交 5b62b059 编写于 作者: seasoulchris's avatar seasoulchris 提交者: Diego Hu

D-kit: change config file structure to adjust multiple lidars models

上级 0e6c0c7f
# Define all coms in DAG streaming.
module_config {
module_library : "/apollo/bazel-bin/modules/drivers/velodyne/driver/libvelodyne_driver_component.so"
components {
class_name : "VelodyneDriverComponent"
config {
name : "velodyne_driver"
config_file_path : "/apollo/modules/drivers/lidar/conf/lidar_conf.pb.txt"
}
}
}
module_config {
module_library : "/apollo/bazel-bin/modules/drivers/velodyne/parser/libvelodyne_convert_component.so"
components {
class_name : "VelodyneConvertComponent"
config {
name : "velodyne_convert"
config_file_path : "/apollo/modules/drivers/lidar/conf/lidar_conf.pb.txt"
readers {channel: "/apollo/sensor/lidar16/Scan"}
}
}
}
module_config {
module_library : "/apollo/bazel-bin/modules/drivers/velodyne/compensator/libvelodyne_compensator_component.so"
components {
class_name : "CompensatorComponent"
config {
name : "velodyne_compensator"
config_file_path : "/apollo/modules/drivers/lidar/conf/lidar_fusion_compensator.pb.txt"
readers {channel: "/apollo/sensor/lidar16/PointCloud2"}
}
}
}
cyber_modules {
key: "Camera"
value: {
dag_files: "/apollo/modules/drivers/camera/dag/camera.dag"
dag_files: "/apollo/modules/drivers/camera/dag/dev_kit_camera.dag"
dag_files: "/apollo/modules/drivers/video/dag/video.dag"
required_for_safety: false
}
......@@ -9,7 +9,7 @@ cyber_modules {
cyber_modules {
key: "Lidar"
value: {
dag_files: "/apollo/modules/drivers/velodyne/dag/velodyne16.dag"
dag_files: "/apollo/modules/drivers/lidar/dag/lidar.dag"
}
}
cyber_modules {
......
cyber_modules {
key: "Camera"
value: {
dag_files: "/apollo/modules/drivers/camera/dag/camera.dag"
dag_files: "/apollo/modules/drivers/camera/dag/dev_kit_camera.dag"
dag_files: "/apollo/modules/drivers/video/dag/video.dag"
}
}
cyber_modules {
key: "Lidar"
value: {
dag_files: "/apollo/modules/drivers/velodyne/dag/velodyne16.dag"
dag_files: "/apollo/modules/drivers/lidar/dag/lidar.dag"
}
}
cyber_modules {
......
......@@ -138,3 +138,11 @@ data_files {
source_path: "perception_launch"
dest_path: "/apollo/modules/perception/production/launch"
}
data_files {
source_path: "lidar_dag"
dest_path: "/apollo/modules/drivers/lidar/dag"
}
data_files {
source_path: "lidar_conf"
dest_path: "/apollo/modules/drivers/lidar/conf"
}
\ No newline at end of file
world_frame_id: "world"
transform_query_timeout: 0.02
output_channel: "/apollo/sensor/lidar16/compensator/PointCloud2"
frame_id: "velodyne128"
scan_channel: "/apollo/sensor/lidar16/Scan"
rpm: 600.0
model: VLP16
mode: STRONGEST
prefix_angle: 18000
firing_data_port: 2369
positioning_data_port: 8309
use_sensor_sync: false
max_range: 100.0
min_range: 0.9
use_gps_time: true
calibration_online: false
calibration_file: "/apollo/modules/drivers/velodyne/params/VLP16_calibration.yaml"
organized: false
convert_channel_name: "/apollo/sensor/lidar16/PointCloud2"
use_poll_sync: true
is_main_frame: true
world_frame_id: "world"
transform_query_timeout: 0.02
output_channel: "/apollo/sensor/lidar16/compensator/PointCloud2"
# Define all coms in DAG streaming.
module_config {
module_library : "/apollo/bazel-bin/modules/drivers/velodyne/driver/libvelodyne_driver_component.so"
components {
class_name : "VelodyneDriverComponent"
config {
name : "velodyne_driver"
config_file_path : "/apollo/modules/drivers/lidar/conf/lidar_conf.pb.txt"
}
}
}
module_config {
module_library : "/apollo/bazel-bin/modules/drivers/velodyne/parser/libvelodyne_convert_component.so"
components {
class_name : "VelodyneConvertComponent"
config {
name : "velodyne_convert"
config_file_path : "/apollo/modules/drivers/lidar/conf/lidar_conf.pb.txt"
readers {channel: "/apollo/sensor/lidar16/Scan"}
}
}
}
module_config {
module_library : "/apollo/bazel-bin/modules/drivers/velodyne/compensator/libvelodyne_compensator_component.so"
components {
class_name : "CompensatorComponent"
config {
name : "velodyne_compensator"
config_file_path : "/apollo/modules/drivers/lidar/conf/lidar_fusion_compensator.pb.txt"
readers {channel: "/apollo/sensor/lidar16/PointCloud2"}
}
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册