Skip to content
This repository is currently being migrated. It's locked while the migration is in progress.

Commit b011d2d

Browse files
author
hzb
committed
update frame_start_azimuth
1 parent 4ec4625 commit b011d2d

File tree

6 files changed

+4
-34
lines changed

6 files changed

+4
-34
lines changed

.vscode/c_cpp_properties.json

-20
This file was deleted.

.vscode/settings.json

-10
This file was deleted.

config/config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ lidar:
88
correction_file_path: "Your correction file path" #The path of correction file
99
firetimes_path: "Your firetime file path" #The path of firetimes file
1010
source_type: 1 #The type of data source, 1: real-time lidar connection, 2: pcap, 3: packet rosbag
11-
frame_azimuth: 200 #Frame azimuth for Pandar128, range from 1 to 359, set it less than 0 if you
11+
frame_start_azimuth: 200 #Frame azimuth for Pandar128, range from 1 to 359, set it less than 0 if you
1212
#do not want to use it.
1313
#transform param
1414
x: 0

src/driver/HesaiLidar_SDK_2.0

Submodule HesaiLidar_SDK_2.0 updated from 339a267 to 5c816a7

src/manager/source_driver_ros1.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ inline void SourceDriver::Init(const YAML::Node& config)
107107
YamlRead<float>(driver_config, "pitch", driver_param.decoder_param.transform_param.pitch, 0);
108108
YamlRead<float>(driver_config, "yaw", driver_param.decoder_param.transform_param.yaw, 0);
109109
YamlRead<std::string>(driver_config, "device_ip_address", driver_param.input_param.device_ip_address, "192.168.1.201");
110-
YamlRead<float>(driver_config, "frame_azimuth", driver_param.decoder_param.frame_azimuth, -1);
110+
YamlRead<float>(driver_config, "frame_start_azimuth", driver_param.decoder_param.frame_start_azimuth, -1);
111111

112112
int source_type = 0;
113113
YamlRead<int>(driver_config, "source_type", source_type, 0);

src/manager/source_driver_ros2.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ inline void SourceDriver::Init(const YAML::Node& config)
105105
YamlRead<float>(driver_config, "pitch", driver_param.decoder_param.transform_param.pitch, 0);
106106
YamlRead<float>(driver_config, "yaw", driver_param.decoder_param.transform_param.yaw, 0);
107107
YamlRead<std::string>(driver_config, "device_ip_address", driver_param.input_param.device_ip_address, "192.168.1.201");
108-
YamlRead<float>(driver_config, "frame_azimuth", driver_param.decoder_param.frame_azimuth, -1);
108+
YamlRead<float>(driver_config, "frame_start_azimuth", driver_param.decoder_param.frame_start_azimuth, -1);
109109

110110
int source_type = 0;
111111
YamlRead<int>(driver_config, "source_type", source_type, 0);

0 commit comments

Comments
 (0)