Skip to content

Commit

Permalink
update point types
Browse files Browse the repository at this point in the history
Signed-off-by: M. Fatih Cırıt <[email protected]>
  • Loading branch information
xmfcx committed Oct 29, 2024
1 parent 4c20c43 commit 5865fc0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions Assets/AWSIM/Scripts/Sensors/LiDAR/PointCloudFormatLibrary.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public enum PointCloudFormat : UInt32
{
Pcl24,
Pcl48,
PointXYZIRCEADT,
PointXYZIRCAEDT,
MLInstanceSegmentation,
RadarSmartMicro,
Custom,
Expand Down Expand Up @@ -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
}},
Expand Down
2 changes: 1 addition & 1 deletion Assets/AWSIM/Scripts/Sensors/LiDAR/RglLidarPublisher.cs
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ public class RglLidarPublisher : MonoBehaviour
{
topic = "lidar/pointcloud_ex",
publish = true,
fieldsPreset = PointCloudFormat.PointXYZIRCEADT,
fieldsPreset = PointCloudFormat.PointXYZIRCAEDT,
},
};

Expand Down

0 comments on commit 5865fc0

Please sign in to comment.