From e578cb522d8681d66e2b0261be41d949f73ead90 Mon Sep 17 00:00:00 2001 From: Gold87 <91761103+Gold872@users.noreply.github.com> Date: Wed, 5 Feb 2025 14:03:57 -0500 Subject: [PATCH 1/3] Add lidar messages --- lidar.proto | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 lidar.proto diff --git a/lidar.proto b/lidar.proto new file mode 100644 index 0000000..957278a --- /dev/null +++ b/lidar.proto @@ -0,0 +1,13 @@ +// Version 1.0 (not enforced) +syntax = "proto3"; +import "version.proto"; + +message LidarCartesianPoint { + float x = 1; + float y = 2; +} + +message LidarPointCloud { + repeated LidarCartesianPoint data = 1; + Version version = 2; +} \ No newline at end of file From 44c84ae850c8fa87534d0c93954a1fdc40e3e831 Mon Sep 17 00:00:00 2001 From: Gold87 <91761103+Gold872@users.noreply.github.com> Date: Fri, 7 Feb 2025 00:07:14 -0500 Subject: [PATCH 2/3] Add polar points --- lidar.proto | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/lidar.proto b/lidar.proto index 957278a..2fdb909 100644 --- a/lidar.proto +++ b/lidar.proto @@ -7,7 +7,13 @@ message LidarCartesianPoint { float y = 2; } +message LidarPolarPoint { + float angle = 1; + float distance = 2; +} + message LidarPointCloud { - repeated LidarCartesianPoint data = 1; - Version version = 2; + repeated LidarCartesianPoint cartesian = 1; + repeated LidarPolarPoint polar = 2; + Version version = 3; } \ No newline at end of file From 8c3a776e494927296de3a81d7cf7be85739aea29 Mon Sep 17 00:00:00 2001 From: Levi Lesches Date: Mon, 10 Feb 2025 17:12:56 -0500 Subject: [PATCH 3/3] Apply suggestions from code review --- lidar.proto | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lidar.proto b/lidar.proto index 2fdb909..137488d 100644 --- a/lidar.proto +++ b/lidar.proto @@ -1,4 +1,4 @@ -// Version 1.0 (not enforced) +// Version 1.0 syntax = "proto3"; import "version.proto";