diff --git a/Assets/AWSIM/Scripts/Sensors/LiDAR/PointCloudFormatLibrary.cs b/Assets/AWSIM/Scripts/Sensors/LiDAR/PointCloudFormatLibrary.cs index f16b33551..ffeb8078b 100644 --- a/Assets/AWSIM/Scripts/Sensors/LiDAR/PointCloudFormatLibrary.cs +++ b/Assets/AWSIM/Scripts/Sensors/LiDAR/PointCloudFormatLibrary.cs @@ -22,7 +22,7 @@ public enum PointCloudFormat : UInt32 { Pcl24, Pcl48, - PointXYZIRCEADT, + PointXYZIRCAEDT, MLInstanceSegmentation, RadarSmartMicro, Custom, @@ -61,15 +61,15 @@ public static class PointCloudFormatLibrary RGLField.PADDING_32, RGLField.TIME_STAMP_F64 }}, - // PointXYZIRCEADT format used by Autoware - {PointCloudFormat.PointXYZIRCEADT, new[] + // PointXYZIRCAEDT format used by Autoware + {PointCloudFormat.PointXYZIRCAEDT, new[] { RGLField.XYZ_VEC3_F32, RGLField.INTENSITY_U8, RGLField.RETURN_TYPE_U8, RGLField.RING_ID_U16, - RGLField.ELEVATION_F32, RGLField.AZIMUTH_F32, + RGLField.ELEVATION_F32, RGLField.DISTANCE_F32, RGLField.TIME_STAMP_U32 }}, diff --git a/Assets/AWSIM/Scripts/Sensors/LiDAR/RglLidarPublisher.cs b/Assets/AWSIM/Scripts/Sensors/LiDAR/RglLidarPublisher.cs index d6b89d123..310b5fc26 100644 --- a/Assets/AWSIM/Scripts/Sensors/LiDAR/RglLidarPublisher.cs +++ b/Assets/AWSIM/Scripts/Sensors/LiDAR/RglLidarPublisher.cs @@ -151,7 +151,7 @@ public class RglLidarPublisher : MonoBehaviour { topic = "lidar/pointcloud_ex", publish = true, - fieldsPreset = PointCloudFormat.PointXYZIRCEADT, + fieldsPreset = PointCloudFormat.PointXYZIRCAEDT, }, };