Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Update to ad Velodyne model #4

Merged
merged 18 commits into from
May 7, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Assets/RosSharp/Plugins/RosBridgeClient.dll
Git LFS file not shown
8 changes: 8 additions & 0 deletions Assets/RosSharpMessages.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions Assets/RosSharpMessages/Velodyne.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions Assets/RosSharpMessages/Velodyne/msg.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

39 changes: 39 additions & 0 deletions Assets/RosSharpMessages/Velodyne/msg/VelodynePacket.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
/*
* This message is auto generated by ROS#. Please DO NOT modify.
* Note:
* - Comments from the original code will be written in their own line
* - Variable sized arrays will be initialized to array of size 0
* Please report any issues at
* <https://github.com/siemens/ros-sharp>
*/

using Newtonsoft.Json;

using RosSharp.RosBridgeClient.MessageTypes.Std;

namespace RosSharp.RosBridgeClient.MessageTypes.Velodyne
{
public class VelodynePacket : Message
{
[JsonIgnore]
public const string RosMessageName = "velodyne_msgs/VelodynePacket";

// Raw Velodyne LIDAR packet.
public Time stamp;
// packet timestamp
public byte[] data;
// packet contents

public VelodynePacket()
{
this.stamp = new Time();
this.data = new byte[1206];
}

public VelodynePacket(Time stamp, byte[] data)
{
this.stamp = stamp;
this.data = data;
}
}
}
11 changes: 11 additions & 0 deletions Assets/RosSharpMessages/Velodyne/msg/VelodynePacket.cs.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

39 changes: 39 additions & 0 deletions Assets/RosSharpMessages/Velodyne/msg/VelodyneScan.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
/*
* This message is auto generated by ROS#. Please DO NOT modify.
* Note:
* - Comments from the original code will be written in their own line
* - Variable sized arrays will be initialized to array of size 0
* Please report any issues at
* <https://github.com/siemens/ros-sharp>
*/

using Newtonsoft.Json;

using RosSharp.RosBridgeClient.MessageTypes.Std;

namespace RosSharp.RosBridgeClient.MessageTypes.Velodyne
{
public class VelodyneScan : Message
{
[JsonIgnore]
public const string RosMessageName = "velodyne_msgs/VelodyneScan";

// Velodyne LIDAR scan packets.
public Header header;
// standard ROS message header
public VelodynePacket[] packets;
// vector of raw packets

public VelodyneScan()
{
this.header = new Header();
this.packets = new VelodynePacket[0];
}

public VelodyneScan(Header header, VelodynePacket[] packets)
{
this.header = header;
this.packets = packets;
}
}
}
11 changes: 11 additions & 0 deletions Assets/RosSharpMessages/Velodyne/msg/VelodyneScan.cs.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading