-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
76 additions
and
0 deletions.
There are no files selected for viewing
12 changes: 12 additions & 0 deletions
12
...itySensorsROS/Runtime/Scripts/Publishers/LiDAR/DepthBufferLiDARLivoxCustomMsgPublisher.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
using UnityEngine; | ||
using UnitySensors.Data.PointCloud; | ||
using UnitySensors.Sensor.LiDAR; | ||
using UnitySensors.ROS.Publisher.PointCloud; | ||
|
||
namespace UnitySensors.ROS.Publisher.LiDAR | ||
{ | ||
[RequireComponent(typeof(DepthBufferLiDARSensor))] | ||
public class DepthBufferLiDARLivoxCustomMsgPublisher : LivoxCustomMsgPublisher<DepthBufferLiDARSensor, PointXYZI> | ||
{ | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
...nsorsROS/Runtime/Scripts/Publishers/LiDAR/DepthBufferLiDARLivoxCustomMsgPublisher.cs.meta
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
12 changes: 12 additions & 0 deletions
12
...s/UnitySensorsROS/Runtime/Scripts/Publishers/LiDAR/RaycastLiDARLivoxCustomMsgPublisher.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
using UnityEngine; | ||
using UnitySensors.Data.PointCloud; | ||
using UnitySensors.Sensor.LiDAR; | ||
using UnitySensors.ROS.Publisher.PointCloud; | ||
|
||
namespace UnitySensors.ROS.Publisher.LiDAR | ||
{ | ||
[RequireComponent(typeof(RaycastLiDARSensor))] | ||
public class RaycastLiDARLivoxCustomMsgPublisher : LivoxCustomMsgPublisher<RaycastLiDARSensor, PointXYZI> | ||
{ | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
...tySensorsROS/Runtime/Scripts/Publishers/LiDAR/RaycastLiDARLivoxCustomMsgPublisher.cs.meta
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
19 changes: 19 additions & 0 deletions
19
Assets/UnitySensorsROS/Runtime/Scripts/Publishers/PointCloud/LivoxCustomMsgPublisher.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
using UnityEngine; | ||
using Unity.Robotics.ROSTCPConnector.MessageGeneration; | ||
using RosMessageTypes.Livox; | ||
using UnitySensors.Data.PointCloud; | ||
using UnitySensors.Sensor; | ||
using UnitySensors.ROS.Serializer.PointCloud; | ||
|
||
namespace UnitySensors.ROS.Publisher.PointCloud | ||
{ | ||
public class LivoxCustomMsgPublisher<T, TT> : RosMsgPublisher<T,LivoxCustomMsgSerializer<T, TT>, CustomMsgMsg> | ||
where T : UnitySensor, IPointCloudInterface<TT> | ||
where TT : struct, IPointXYZInterface | ||
{ | ||
private void OnDestroy() | ||
{ | ||
_serializer.Dispose(); | ||
} | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
Assets/UnitySensorsROS/Runtime/Scripts/Publishers/PointCloud/LivoxCustomMsgPublisher.cs.meta
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.