Adding pre-built TFMessage to prevent compile issues
This commit is contained in:
Родитель
db966b9926
Коммит
65ebb5be91
|
@ -9,8 +9,6 @@
|
|||
/[Bb]uilds/
|
||||
/[Ll]ogs/
|
||||
/[Mm]emoryCaptures/
|
||||
/[Aa]ssets/[Rr]os[Mm]essages/
|
||||
/[Aa]ssets/[Rr]os[Mm]essages.meta
|
||||
|
||||
# Asset meta data should only be ignored when the corresponding asset is also ignored
|
||||
!/[Aa]ssets/**/*.meta
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
fileFormatVersion: 2
|
||||
guid: cff6eed399b9cc64db99c2f51b4144b2
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
|
@ -0,0 +1,8 @@
|
|||
fileFormatVersion: 2
|
||||
guid: c5e2dab45e429dd43824584bf7dcffa0
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
|
@ -0,0 +1,8 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 81f7df54d20d1de4daf093900c70220f
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
|
@ -0,0 +1,57 @@
|
|||
//Do not edit! This file was generated by Unity-ROS MessageGeneration.
|
||||
using System;
|
||||
using System.Linq;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using Unity.Robotics.ROSTCPConnector.MessageGeneration;
|
||||
|
||||
namespace RosMessageTypes.Tf2
|
||||
{
|
||||
[Serializable]
|
||||
public class TFMessageMsg : Message
|
||||
{
|
||||
public const string k_RosMessageName = "tf2_msgs/TFMessage";
|
||||
public override string RosMessageName => k_RosMessageName;
|
||||
|
||||
public Geometry.TransformStampedMsg[] transforms;
|
||||
|
||||
public TFMessageMsg()
|
||||
{
|
||||
this.transforms = new Geometry.TransformStampedMsg[0];
|
||||
}
|
||||
|
||||
public TFMessageMsg(Geometry.TransformStampedMsg[] transforms)
|
||||
{
|
||||
this.transforms = transforms;
|
||||
}
|
||||
|
||||
public static TFMessageMsg Deserialize(MessageDeserializer deserializer) => new TFMessageMsg(deserializer);
|
||||
|
||||
private TFMessageMsg(MessageDeserializer deserializer)
|
||||
{
|
||||
deserializer.Read(out this.transforms, Geometry.TransformStampedMsg.Deserialize, deserializer.ReadLength());
|
||||
}
|
||||
|
||||
public override void SerializeTo(MessageSerializer serializer)
|
||||
{
|
||||
serializer.WriteLength(this.transforms);
|
||||
serializer.Write(this.transforms);
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "TFMessageMsg: " +
|
||||
"\ntransforms: " + System.String.Join(", ", transforms.ToList());
|
||||
}
|
||||
|
||||
#if UNITY_EDITOR
|
||||
[UnityEditor.InitializeOnLoadMethod]
|
||||
#else
|
||||
[UnityEngine.RuntimeInitializeOnLoadMethod]
|
||||
#endif
|
||||
public static void Register()
|
||||
{
|
||||
MessageRegistry.Register(k_RosMessageName, Deserialize);
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 453fc5d5faae20f48a74b80a3db7e1a1
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
Загрузка…
Ссылка в новой задаче