From 897d5a7668b482d214526f9025c9c677424ce5f8 Mon Sep 17 00:00:00 2001 From: mpinol Date: Mon, 25 Jan 2021 11:54:39 -0800 Subject: [PATCH 1/6] Add ROS# link (#55) * Add ROS# link --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 65744d0a..01526a50 100644 --- a/README.md +++ b/README.md @@ -9,3 +9,9 @@ This Unity package provides three main features: - [Message Generation](MessageGeneration.md) - [ROSGeometry](ROSGeometry.md) + +## ROS# + +Special thanks to the Siemens [ROS# Project Team]( https://github.com/siemens/ros-sharp/wiki/Info_Acknowledgements) for driving the ROS-Unity Integration Open Source since 2017. + +This repo is a fork of [ROS#](https://github.com/siemens/ros-sharp) and was a great starting point for our development. \ No newline at end of file From d29850ac8b53941cbeebaf34017b670ff58b0821 Mon Sep 17 00:00:00 2001 From: flonou Date: Fri, 29 Jan 2021 18:58:10 +0100 Subject: [PATCH 2/6] Fixing message name that should not take a capital first letter automatically (#47) * Fixing message name that should not take a capital first letter automatically * Adding warning when a message file name starts with a lowercase character --- Runtime/MessageGeneration/MessageParser.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Runtime/MessageGeneration/MessageParser.cs b/Runtime/MessageGeneration/MessageParser.cs index 53c93b85..492d7cab 100644 --- a/Runtime/MessageGeneration/MessageParser.cs +++ b/Runtime/MessageGeneration/MessageParser.cs @@ -72,7 +72,9 @@ public MessageParser(List tokens, string outPath, string rosPackag if (rosMsgName.Equals("")) { - this.rosMsgName = MsgAutoGenUtilities.CapitalizeFirstLetter(inFileName); + if (Char.IsLower(inFileName[0])) + Debug.LogWarningFormat("File {0} starts with a lowercase character. Message file names should be CamelCased (see : http://wiki.ros.org/ROS/Patterns/Conventions#line-38)", inFileName); + this.rosMsgName = inFileName; } else { From b6a7e18b09530b49542f2944179340494ec25698 Mon Sep 17 00:00:00 2001 From: "Devin Miller (Unity)" Date: Mon, 1 Feb 2021 12:47:59 -0800 Subject: [PATCH 3/6] AIRO-331 Code Cleanup and Testing Framework (#57) * Moving package files into package subdirectory * Adding tests and fixing Yamato config. * Adding missing using statement to MessageParser --- .gitattributes | 6 + .gitignore | 1 + .yamato/yamato-config.yml | 23 + .../MessageGenBrowserSettings.cs | 53 -- .../MessageGeneration/ScriptedMsgImporter.cs | 29 - .../MessageGeneration/ScriptedSrvImporter.cs | 31 - Editor/ROSSettingsEditor.cs | 61 -- ROSGeometry.md.meta | 7 - Runtime/TcpConnector/HUDPanel.cs | 226 ------ Runtime/TcpConnector/ROSConnection.cs | 545 -------------- TestRosTcpConnector/.gitignore | 75 ++ .../Assets/Materials.meta | 5 +- .../Assets/Materials/Skybox_Mat.mat | 89 +++ .../Assets/Materials/Skybox_Mat.mat.meta | 8 + TestRosTcpConnector/Assets/Presets.meta | 8 + .../Presets/AudioCompressedInMemory.preset | 137 ++++ .../AudioCompressedInMemory.preset.meta | 8 + .../Assets/Presets/AudioStreaming.preset | 137 ++++ .../Assets/Presets/AudioStreaming.preset.meta | 8 + .../Assets/Presets/Defaults.meta | 8 + .../Defaults/AlbedoTexture_Default.preset | 497 +++++++++++++ .../AlbedoTexture_Default.preset.meta | 8 + .../Defaults/AudioDecompressOnLoad.preset | 137 ++++ .../AudioDecompressOnLoad.preset.meta | 8 + .../Defaults/DirectionalLight_Default.preset | 137 ++++ .../DirectionalLight_Default.preset.meta | 8 + .../Assets/Presets/NormalTexture.preset | 497 +++++++++++++ .../Assets/Presets/NormalTexture.preset.meta | 8 + .../Assets/Presets/UtilityTexture.preset | 497 +++++++++++++ .../Assets/Presets/UtilityTexture.preset.meta | 8 + TestRosTcpConnector/Assets/Readme.asset | 50 ++ TestRosTcpConnector/Assets/Readme.asset.meta | 8 + TestRosTcpConnector/Assets/Scenes.meta | 8 + .../Assets/Scenes/SampleScene.unity | 125 ++++ .../Assets/Scenes/SampleScene.unity.meta | 2 +- .../SampleSceneLightingSettings.lighting | 63 ++ .../SampleSceneLightingSettings.lighting.meta | 8 + TestRosTcpConnector/Assets/Settings.meta | 8 + .../Assets/Settings/ForwardRenderer.asset | 38 + .../Settings/ForwardRenderer.asset.meta | 8 + .../Assets/Settings/SampleSceneProfile.asset | 118 +++ .../Settings/SampleSceneProfile.asset.meta | 8 + .../Settings/UniversalRP-HighQuality.asset | 53 ++ .../UniversalRP-HighQuality.asset.meta | 8 + .../Settings/UniversalRP-LowQuality.asset | 53 ++ .../UniversalRP-LowQuality.asset.meta | 8 + .../Settings/UniversalRP-MediumQuality.asset | 53 ++ .../UniversalRP-MediumQuality.asset.meta | 8 + TestRosTcpConnector/Packages/manifest.json | 48 ++ .../Packages/packages-lock.json | 386 ++++++++++ .../ProjectSettings/AudioManager.asset | 19 + .../ProjectSettings/ClusterInputManager.asset | 6 + .../ProjectSettings/DynamicsManager.asset | 36 + .../ProjectSettings/EditorBuildSettings.asset | 11 + .../ProjectSettings/EditorSettings.asset | 31 + .../ProjectSettings/GraphicsSettings.asset | 68 ++ .../ProjectSettings/InputManager.asset | 487 +++++++++++++ .../ProjectSettings/NavMeshAreas.asset | 91 +++ .../PackageManagerSettings.asset | 43 ++ .../ProjectSettings/Physics2DSettings.asset | 56 ++ .../ProjectSettings/PresetManager.asset | 27 + .../ProjectSettings/ProjectSettings.asset | 680 ++++++++++++++++++ .../ProjectSettings/ProjectVersion.txt | 2 + .../ProjectSettings/QualitySettings.asset | 128 ++++ .../ProjectSettings/TagManager.asset | 43 ++ .../ProjectSettings/TimeManager.asset | 9 + .../ProjectSettings/URPProjectSettings.asset | 15 + .../UnityConnectSettings.asset | 34 + .../ProjectSettings/VFXManager.asset | 11 + .../VersionControlSettings.asset | 8 + .../ProjectSettings/XRSettings.asset | 10 + Third Party Notices.md.meta | 7 - .../Editor.meta | 0 .../Editor}/MessageGeneration.meta | 0 .../MessageGeneration/MessageGenBrowser.cs | 3 +- .../MessageGenBrowser.cs.meta | 0 .../MessageGenBrowserSettings.cs | 54 ++ .../MessageGenBrowserSettings.cs.meta | 0 .../MessageGeneration/ScriptedMsgImporter.cs | 31 + .../ScriptedMsgImporter.cs.meta | 0 .../MessageGeneration/ScriptedSrvImporter.cs | 33 + .../ScriptedSrvImporter.cs.meta | 0 .../Editor/ROSSettingsEditor.cs | 68 ++ .../Editor}/ROSSettingsEditor.cs.meta | 0 ...ity.Robotics.ROSTCPConnector.Editor.asmdef | 2 +- ...obotics.ROSTCPConnector.Editor.asmdef.meta | 0 .../Runtime.meta | 0 .../Runtime}/MessageGeneration.meta | 0 .../Runtime}/MessageGeneration/Action.cs | 5 +- .../Runtime}/MessageGeneration/Action.cs.meta | 0 .../MessageGeneration/ActionAutoGen.cs | 4 +- .../MessageGeneration/ActionAutoGen.cs.meta | 0 .../MessageGeneration/ActionFeedback.cs | 4 +- .../MessageGeneration/ActionFeedback.cs.meta | 0 .../Runtime}/MessageGeneration/ActionGoal.cs | 4 +- .../MessageGeneration/ActionGoal.cs.meta | 0 .../MessageGeneration/ActionResult.cs | 4 +- .../MessageGeneration/ActionResult.cs.meta | 0 .../Runtime}/MessageGeneration/Message.cs | 4 +- .../MessageGeneration/Message.cs.meta | 0 .../MessageGeneration/MessageAutoGen.cs | 4 +- .../MessageGeneration/MessageAutoGen.cs.meta | 0 .../MessageGeneration/MessageParser.cs | 4 +- .../MessageGeneration/MessageParser.cs.meta | 0 .../MessageGeneration/MessageToken.cs | 2 +- .../MessageGeneration/MessageToken.cs.meta | 0 .../MessageGeneration/MessageTokenizer.cs | 4 +- .../MessageTokenizer.cs.meta | 0 .../MessageGeneration/MsgAutoGenUtilities.cs | 2 +- .../MsgAutoGenUtilities.cs.meta | 0 .../MessageGeneration/ROSConnection_msgs.meta | 0 .../ROSConnection_msgs/msg.meta | 0 .../ROSConnection_msgs/msg/RosUnityError.cs | 1 + .../msg/RosUnityError.cs.meta | 0 .../msg/RosUnitySysCommand.cs | 1 + .../msg/RosUnitySysCommand.cs.meta | 0 .../ROSConnection_msgs/srv.meta | 0 .../srv/UnityHandshakeRequest.cs | 1 + .../srv/UnityHandshakeRequest.cs.meta | 0 .../srv/UnityHandshakeResponse.cs | 1 + .../srv/UnityHandshakeResponse.cs.meta | 0 .../MessageGeneration/ServiceAutoGen.cs | 4 +- .../MessageGeneration/ServiceAutoGen.cs.meta | 0 .../MessageGeneration/common_msgs.meta | 0 .../common_msgs/Actionlib.meta | 0 .../common_msgs/Actionlib/msg.meta | 0 .../common_msgs/Actionlib/msg/GoalID.cs | 1 + .../common_msgs/Actionlib/msg/GoalID.cs.meta | 0 .../common_msgs/Actionlib/msg/GoalStatus.cs | 1 + .../Actionlib/msg/GoalStatus.cs.meta | 0 .../Actionlib/msg/GoalStatusArray.cs | 1 + .../Actionlib/msg/GoalStatusArray.cs.meta | 0 .../common_msgs/Diagnostic.meta | 0 .../common_msgs/Diagnostic/msg.meta | 0 .../Diagnostic/msg/DiagnosticArray.cs | 1 + .../Diagnostic/msg/DiagnosticArray.cs.meta | 0 .../Diagnostic/msg/DiagnosticStatus.cs | 1 + .../Diagnostic/msg/DiagnosticStatus.cs.meta | 0 .../common_msgs/Diagnostic/msg/KeyValue.cs | 1 + .../Diagnostic/msg/KeyValue.cs.meta | 0 .../common_msgs/Geometry.meta | 0 .../common_msgs/Geometry/msg.meta | 0 .../common_msgs/Geometry/msg/Accel.cs | 1 + .../common_msgs/Geometry/msg/Accel.cs.meta | 0 .../common_msgs/Geometry/msg/AccelStamped.cs | 1 + .../Geometry/msg/AccelStamped.cs.meta | 0 .../Geometry/msg/AccelWithCovariance.cs | 1 + .../Geometry/msg/AccelWithCovariance.cs.meta | 0 .../msg/AccelWithCovarianceStamped.cs | 1 + .../msg/AccelWithCovarianceStamped.cs.meta | 0 .../common_msgs/Geometry/msg/Inertia.cs | 1 + .../common_msgs/Geometry/msg/Inertia.cs.meta | 0 .../Geometry/msg/InertiaStamped.cs | 1 + .../Geometry/msg/InertiaStamped.cs.meta | 0 .../common_msgs/Geometry/msg/Point.cs | 1 + .../common_msgs/Geometry/msg/Point.cs.meta | 0 .../common_msgs/Geometry/msg/Point32.cs | 1 + .../common_msgs/Geometry/msg/Point32.cs.meta | 0 .../common_msgs/Geometry/msg/PointStamped.cs | 1 + .../Geometry/msg/PointStamped.cs.meta | 0 .../common_msgs/Geometry/msg/Polygon.cs | 1 + .../common_msgs/Geometry/msg/Polygon.cs.meta | 0 .../Geometry/msg/PolygonStamped.cs | 1 + .../Geometry/msg/PolygonStamped.cs.meta | 0 .../common_msgs/Geometry/msg/Pose.cs | 1 + .../common_msgs/Geometry/msg/Pose.cs.meta | 0 .../common_msgs/Geometry/msg/Pose2D.cs | 1 + .../common_msgs/Geometry/msg/Pose2D.cs.meta | 0 .../common_msgs/Geometry/msg/PoseArray.cs | 1 + .../Geometry/msg/PoseArray.cs.meta | 0 .../common_msgs/Geometry/msg/PoseStamped.cs | 1 + .../Geometry/msg/PoseStamped.cs.meta | 0 .../Geometry/msg/PoseWithCovariance.cs | 1 + .../Geometry/msg/PoseWithCovariance.cs.meta | 0 .../Geometry/msg/PoseWithCovarianceStamped.cs | 1 + .../msg/PoseWithCovarianceStamped.cs.meta | 0 .../common_msgs/Geometry/msg/Quaternion.cs | 1 + .../Geometry/msg/Quaternion.cs.meta | 0 .../Geometry/msg/QuaternionStamped.cs | 1 + .../Geometry/msg/QuaternionStamped.cs.meta | 0 .../common_msgs/Geometry/msg/Transform.cs | 1 + .../Geometry/msg/Transform.cs.meta | 0 .../Geometry/msg/TransformStamped.cs | 1 + .../Geometry/msg/TransformStamped.cs.meta | 0 .../common_msgs/Geometry/msg/Twist.cs | 1 + .../common_msgs/Geometry/msg/Twist.cs.meta | 0 .../common_msgs/Geometry/msg/TwistStamped.cs | 1 + .../Geometry/msg/TwistStamped.cs.meta | 0 .../Geometry/msg/TwistWithCovariance.cs | 1 + .../Geometry/msg/TwistWithCovariance.cs.meta | 0 .../msg/TwistWithCovarianceStamped.cs | 1 + .../msg/TwistWithCovarianceStamped.cs.meta | 0 .../common_msgs/Geometry/msg/Vector3.cs | 1 + .../common_msgs/Geometry/msg/Vector3.cs.meta | 0 .../Geometry/msg/Vector3Stamped.cs | 1 + .../Geometry/msg/Vector3Stamped.cs.meta | 0 .../common_msgs/Geometry/msg/Wrench.cs | 1 + .../common_msgs/Geometry/msg/Wrench.cs.meta | 0 .../common_msgs/Geometry/msg/WrenchStamped.cs | 1 + .../Geometry/msg/WrenchStamped.cs.meta | 0 .../MessageGeneration/common_msgs/Nav.meta | 0 .../common_msgs/Nav/msg.meta | 0 .../common_msgs/Nav/msg/GridCells.cs | 1 + .../common_msgs/Nav/msg/GridCells.cs.meta | 0 .../common_msgs/Nav/msg/MapMetaData.cs | 1 + .../common_msgs/Nav/msg/MapMetaData.cs.meta | 0 .../common_msgs/Nav/msg/OccupancyGrid.cs | 1 + .../common_msgs/Nav/msg/OccupancyGrid.cs.meta | 0 .../common_msgs/Nav/msg/Odometry.cs | 1 + .../common_msgs/Nav/msg/Odometry.cs.meta | 0 .../common_msgs/Nav/msg/Path.cs | 1 + .../common_msgs/Nav/msg/Path.cs.meta | 0 .../MessageGeneration/common_msgs/Sensor.meta | 0 .../common_msgs/Sensor/msg.meta | 0 .../common_msgs/Sensor/msg/BatteryState.cs | 1 + .../Sensor/msg/BatteryState.cs.meta | 0 .../common_msgs/Sensor/msg/CameraInfo.cs | 1 + .../common_msgs/Sensor/msg/CameraInfo.cs.meta | 0 .../common_msgs/Sensor/msg/ChannelFloat32.cs | 1 + .../Sensor/msg/ChannelFloat32.cs.meta | 0 .../common_msgs/Sensor/msg/CompressedImage.cs | 1 + .../Sensor/msg/CompressedImage.cs.meta | 0 .../common_msgs/Sensor/msg/FluidPressure.cs | 1 + .../Sensor/msg/FluidPressure.cs.meta | 0 .../common_msgs/Sensor/msg/Illuminance.cs | 1 + .../Sensor/msg/Illuminance.cs.meta | 0 .../common_msgs/Sensor/msg/Image.cs | 1 + .../common_msgs/Sensor/msg/Image.cs.meta | 0 .../common_msgs/Sensor/msg/Imu.cs | 1 + .../common_msgs/Sensor/msg/Imu.cs.meta | 0 .../common_msgs/Sensor/msg/JointState.cs | 1 + .../common_msgs/Sensor/msg/JointState.cs.meta | 0 .../common_msgs/Sensor/msg/Joy.cs | 1 + .../common_msgs/Sensor/msg/Joy.cs.meta | 0 .../common_msgs/Sensor/msg/JoyFeedback.cs | 1 + .../Sensor/msg/JoyFeedback.cs.meta | 0 .../Sensor/msg/JoyFeedbackArray.cs | 1 + .../Sensor/msg/JoyFeedbackArray.cs.meta | 0 .../common_msgs/Sensor/msg/LaserEcho.cs | 1 + .../common_msgs/Sensor/msg/LaserEcho.cs.meta | 0 .../common_msgs/Sensor/msg/LaserScan.cs | 1 + .../common_msgs/Sensor/msg/LaserScan.cs.meta | 0 .../common_msgs/Sensor/msg/MagneticField.cs | 1 + .../Sensor/msg/MagneticField.cs.meta | 0 .../Sensor/msg/MultiDOFJointState.cs | 1 + .../Sensor/msg/MultiDOFJointState.cs.meta | 0 .../Sensor/msg/MultiEchoLaserScan.cs | 1 + .../Sensor/msg/MultiEchoLaserScan.cs.meta | 0 .../common_msgs/Sensor/msg/NavSatFix.cs | 1 + .../common_msgs/Sensor/msg/NavSatFix.cs.meta | 0 .../common_msgs/Sensor/msg/NavSatStatus.cs | 1 + .../Sensor/msg/NavSatStatus.cs.meta | 0 .../common_msgs/Sensor/msg/PointCloud.cs | 1 + .../common_msgs/Sensor/msg/PointCloud.cs.meta | 0 .../common_msgs/Sensor/msg/PointCloud2.cs | 1 + .../Sensor/msg/PointCloud2.cs.meta | 0 .../common_msgs/Sensor/msg/PointField.cs | 1 + .../common_msgs/Sensor/msg/PointField.cs.meta | 0 .../common_msgs/Sensor/msg/Range.cs | 1 + .../common_msgs/Sensor/msg/Range.cs.meta | 0 .../Sensor/msg/RegionOfInterest.cs | 1 + .../Sensor/msg/RegionOfInterest.cs.meta | 0 .../Sensor/msg/RelativeHumidity.cs | 1 + .../Sensor/msg/RelativeHumidity.cs.meta | 0 .../common_msgs/Sensor/msg/Temperature.cs | 1 + .../Sensor/msg/Temperature.cs.meta | 0 .../common_msgs/Sensor/msg/TimeReference.cs | 1 + .../Sensor/msg/TimeReference.cs.meta | 0 .../MessageGeneration/common_msgs/Shape.meta | 0 .../common_msgs/Shape/msg.meta | 0 .../common_msgs/Shape/msg/Mesh.cs | 1 + .../common_msgs/Shape/msg/Mesh.cs.meta | 0 .../common_msgs/Shape/msg/MeshTriangle.cs | 1 + .../Shape/msg/MeshTriangle.cs.meta | 0 .../common_msgs/Shape/msg/Plane.cs | 1 + .../common_msgs/Shape/msg/Plane.cs.meta | 0 .../common_msgs/Shape/msg/SolidPrimitive.cs | 1 + .../Shape/msg/SolidPrimitive.cs.meta | 0 .../MessageGeneration/common_msgs/Stereo.meta | 0 .../common_msgs/Stereo/msg.meta | 0 .../common_msgs/Stereo/msg/DisparityImage.cs | 1 + .../Stereo/msg/DisparityImage.cs.meta | 0 .../common_msgs/Trajectory.meta | 0 .../common_msgs/Trajectory/msg.meta | 0 .../Trajectory/msg/JointTrajectory.cs | 1 + .../Trajectory/msg/JointTrajectory.cs.meta | 0 .../Trajectory/msg/JointTrajectoryPoint.cs | 1 + .../msg/JointTrajectoryPoint.cs.meta | 0 .../Trajectory/msg/MultiDOFJointTrajectory.cs | 1 + .../msg/MultiDOFJointTrajectory.cs.meta | 0 .../msg/MultiDOFJointTrajectoryPoint.cs | 1 + .../msg/MultiDOFJointTrajectoryPoint.cs.meta | 0 .../common_msgs/Visualization.meta | 0 .../common_msgs/Visualization/msg.meta | 0 .../Visualization/msg/ImageMarker.cs | 1 + .../Visualization/msg/ImageMarker.cs.meta | 0 .../Visualization/msg/InteractiveMarker.cs | 1 + .../msg/InteractiveMarker.cs.meta | 0 .../msg/InteractiveMarkerControl.cs | 1 + .../msg/InteractiveMarkerControl.cs.meta | 0 .../msg/InteractiveMarkerFeedback.cs | 1 + .../msg/InteractiveMarkerFeedback.cs.meta | 0 .../msg/InteractiveMarkerInit.cs | 1 + .../msg/InteractiveMarkerInit.cs.meta | 0 .../msg/InteractiveMarkerPose.cs | 1 + .../msg/InteractiveMarkerPose.cs.meta | 0 .../msg/InteractiveMarkerUpdate.cs | 1 + .../msg/InteractiveMarkerUpdate.cs.meta | 0 .../common_msgs/Visualization/msg/Marker.cs | 1 + .../Visualization/msg/Marker.cs.meta | 0 .../Visualization/msg/MarkerArray.cs | 1 + .../Visualization/msg/MarkerArray.cs.meta | 0 .../Visualization/msg/MenuEntry.cs | 1 + .../Visualization/msg/MenuEntry.cs.meta | 0 .../Runtime}/MessageGeneration/std_msgs.meta | 0 .../MessageGeneration/std_msgs/Bool.cs | 1 + .../MessageGeneration/std_msgs/Bool.cs.meta | 0 .../MessageGeneration/std_msgs/Byte.cs | 1 + .../MessageGeneration/std_msgs/Byte.cs.meta | 0 .../std_msgs/ByteMultiArray.cs | 1 + .../std_msgs/ByteMultiArray.cs.meta | 0 .../MessageGeneration/std_msgs/Char.cs | 1 + .../MessageGeneration/std_msgs/Char.cs.meta | 0 .../MessageGeneration/std_msgs/ColorRGBA.cs | 1 + .../std_msgs/ColorRGBA.cs.meta | 0 .../MessageGeneration/std_msgs/Duration.cs | 1 + .../std_msgs/Duration.cs.meta | 0 .../MessageGeneration/std_msgs/Empty.cs | 1 + .../MessageGeneration/std_msgs/Empty.cs.meta | 0 .../MessageGeneration/std_msgs/Float32.cs | 1 + .../std_msgs/Float32.cs.meta | 0 .../std_msgs/Float32MultiArray.cs | 1 + .../std_msgs/Float32MultiArray.cs.meta | 0 .../MessageGeneration/std_msgs/Float64.cs | 1 + .../std_msgs/Float64.cs.meta | 0 .../std_msgs/Float64MultiArray.cs | 1 + .../std_msgs/Float64MultiArray.cs.meta | 0 .../MessageGeneration/std_msgs/Header.cs | 1 + .../MessageGeneration/std_msgs/Header.cs.meta | 0 .../MessageGeneration/std_msgs/Int16.cs | 1 + .../MessageGeneration/std_msgs/Int16.cs.meta | 0 .../std_msgs/Int16MultiArray.cs | 1 + .../std_msgs/Int16MultiArray.cs.meta | 0 .../MessageGeneration/std_msgs/Int32.cs | 1 + .../MessageGeneration/std_msgs/Int32.cs.meta | 0 .../std_msgs/Int32MultiArray.cs | 1 + .../std_msgs/Int32MultiArray.cs.meta | 0 .../MessageGeneration/std_msgs/Int64.cs | 1 + .../MessageGeneration/std_msgs/Int64.cs.meta | 0 .../std_msgs/Int64MultiArray.cs | 1 + .../std_msgs/Int64MultiArray.cs.meta | 0 .../MessageGeneration/std_msgs/Int8.cs | 1 + .../MessageGeneration/std_msgs/Int8.cs.meta | 0 .../std_msgs/Int8MultiArray.cs | 1 + .../std_msgs/Int8MultiArray.cs.meta | 0 .../std_msgs/MultiArrayDimension.cs | 1 + .../std_msgs/MultiArrayDimension.cs.meta | 0 .../std_msgs/MultiArrayLayout.cs | 1 + .../std_msgs/MultiArrayLayout.cs.meta | 0 .../MessageGeneration/std_msgs/String.cs | 1 + .../MessageGeneration/std_msgs/String.cs.meta | 0 .../MessageGeneration/std_msgs/Time.cs | 1 + .../MessageGeneration/std_msgs/Time.cs.meta | 0 .../MessageGeneration/std_msgs/UInt16.cs | 1 + .../MessageGeneration/std_msgs/UInt16.cs.meta | 0 .../std_msgs/UInt16MultiArray.cs | 1 + .../std_msgs/UInt16MultiArray.cs.meta | 0 .../MessageGeneration/std_msgs/UInt32.cs | 1 + .../MessageGeneration/std_msgs/UInt32.cs.meta | 0 .../std_msgs/UInt32MultiArray.cs | 1 + .../std_msgs/UInt32MultiArray.cs.meta | 0 .../MessageGeneration/std_msgs/UInt64.cs | 1 + .../MessageGeneration/std_msgs/UInt64.cs.meta | 0 .../std_msgs/UInt64MultiArray.cs | 1 + .../std_msgs/UInt64MultiArray.cs.meta | 0 .../MessageGeneration/std_msgs/UInt8.cs | 1 + .../MessageGeneration/std_msgs/UInt8.cs.meta | 0 .../std_msgs/UInt8MultiArray.cs | 1 + .../std_msgs/UInt8MultiArray.cs.meta | 0 .../Runtime}/ROSGeometry.meta | 0 .../Runtime}/ROSGeometry/CoordinateSpaces.cs | 42 +- .../ROSGeometry/CoordinateSpaces.cs.meta | 0 .../Runtime}/ROSGeometry/ROSQuaternion.cs | 16 +- .../ROSGeometry/ROSQuaternion.cs.meta | 0 .../Runtime}/ROSGeometry/ROSVector3.cs | 80 +-- .../Runtime}/ROSGeometry/ROSVector3.cs.meta | 0 .../Runtime}/TcpConnector.meta | 0 .../Runtime/TcpConnector/HUDPanel.cs | 228 ++++++ .../Runtime}/TcpConnector/HUDPanel.cs.meta | 0 .../Runtime/TcpConnector/ROSConnection.cs | 559 ++++++++++++++ .../TcpConnector/ROSConnection.cs.meta | 0 .../Unity.Robotics.ROSTCPConnector.asmdef | 1 + ...Unity.Robotics.ROSTCPConnector.asmdef.meta | 0 .../Tests.meta | 8 + .../Tests/Editor.meta | 8 + .../Tests/Editor/PlayerBuildTests.cs | 62 ++ .../Tests/Editor/PlayerBuildTests.cs.meta | 11 + ...botics.ROSTCPConnector.Editor.Tests.asmdef | 24 + ...s.ROSTCPConnector.Editor.Tests.asmdef.meta | 4 +- .../Tests/Runtime.meta | 8 + .../Tests/Runtime/SmokeTests.cs | 25 + .../Tests/Runtime/SmokeTests.cs.meta | 11 + .../Unity.Perception.Runtime.Tests.asmdef | 32 + ...Unity.Perception.Runtime.Tests.asmdef.meta | 4 +- .../package.json | 0 .../package.json.meta | 0 406 files changed, 6570 insertions(+), 1064 deletions(-) create mode 100644 .gitattributes create mode 100644 .yamato/yamato-config.yml delete mode 100644 Editor/MessageGeneration/MessageGenBrowserSettings.cs delete mode 100644 Editor/MessageGeneration/ScriptedMsgImporter.cs delete mode 100644 Editor/MessageGeneration/ScriptedSrvImporter.cs delete mode 100644 Editor/ROSSettingsEditor.cs delete mode 100644 ROSGeometry.md.meta delete mode 100644 Runtime/TcpConnector/HUDPanel.cs delete mode 100644 Runtime/TcpConnector/ROSConnection.cs create mode 100644 TestRosTcpConnector/.gitignore rename README.md.meta => TestRosTcpConnector/Assets/Materials.meta (57%) create mode 100644 TestRosTcpConnector/Assets/Materials/Skybox_Mat.mat create mode 100644 TestRosTcpConnector/Assets/Materials/Skybox_Mat.mat.meta create mode 100644 TestRosTcpConnector/Assets/Presets.meta create mode 100644 TestRosTcpConnector/Assets/Presets/AudioCompressedInMemory.preset create mode 100644 TestRosTcpConnector/Assets/Presets/AudioCompressedInMemory.preset.meta create mode 100644 TestRosTcpConnector/Assets/Presets/AudioStreaming.preset create mode 100644 TestRosTcpConnector/Assets/Presets/AudioStreaming.preset.meta create mode 100644 TestRosTcpConnector/Assets/Presets/Defaults.meta create mode 100644 TestRosTcpConnector/Assets/Presets/Defaults/AlbedoTexture_Default.preset create mode 100644 TestRosTcpConnector/Assets/Presets/Defaults/AlbedoTexture_Default.preset.meta create mode 100644 TestRosTcpConnector/Assets/Presets/Defaults/AudioDecompressOnLoad.preset create mode 100644 TestRosTcpConnector/Assets/Presets/Defaults/AudioDecompressOnLoad.preset.meta create mode 100644 TestRosTcpConnector/Assets/Presets/Defaults/DirectionalLight_Default.preset create mode 100644 TestRosTcpConnector/Assets/Presets/Defaults/DirectionalLight_Default.preset.meta create mode 100644 TestRosTcpConnector/Assets/Presets/NormalTexture.preset create mode 100644 TestRosTcpConnector/Assets/Presets/NormalTexture.preset.meta create mode 100644 TestRosTcpConnector/Assets/Presets/UtilityTexture.preset create mode 100644 TestRosTcpConnector/Assets/Presets/UtilityTexture.preset.meta create mode 100644 TestRosTcpConnector/Assets/Readme.asset create mode 100644 TestRosTcpConnector/Assets/Readme.asset.meta create mode 100644 TestRosTcpConnector/Assets/Scenes.meta create mode 100644 TestRosTcpConnector/Assets/Scenes/SampleScene.unity rename LICENSE.meta => TestRosTcpConnector/Assets/Scenes/SampleScene.unity.meta (74%) create mode 100644 TestRosTcpConnector/Assets/Scenes/SampleSceneLightingSettings.lighting create mode 100644 TestRosTcpConnector/Assets/Scenes/SampleSceneLightingSettings.lighting.meta create mode 100644 TestRosTcpConnector/Assets/Settings.meta create mode 100644 TestRosTcpConnector/Assets/Settings/ForwardRenderer.asset create mode 100644 TestRosTcpConnector/Assets/Settings/ForwardRenderer.asset.meta create mode 100644 TestRosTcpConnector/Assets/Settings/SampleSceneProfile.asset create mode 100644 TestRosTcpConnector/Assets/Settings/SampleSceneProfile.asset.meta create mode 100644 TestRosTcpConnector/Assets/Settings/UniversalRP-HighQuality.asset create mode 100644 TestRosTcpConnector/Assets/Settings/UniversalRP-HighQuality.asset.meta create mode 100644 TestRosTcpConnector/Assets/Settings/UniversalRP-LowQuality.asset create mode 100644 TestRosTcpConnector/Assets/Settings/UniversalRP-LowQuality.asset.meta create mode 100644 TestRosTcpConnector/Assets/Settings/UniversalRP-MediumQuality.asset create mode 100644 TestRosTcpConnector/Assets/Settings/UniversalRP-MediumQuality.asset.meta create mode 100644 TestRosTcpConnector/Packages/manifest.json create mode 100644 TestRosTcpConnector/Packages/packages-lock.json create mode 100644 TestRosTcpConnector/ProjectSettings/AudioManager.asset create mode 100644 TestRosTcpConnector/ProjectSettings/ClusterInputManager.asset create mode 100644 TestRosTcpConnector/ProjectSettings/DynamicsManager.asset create mode 100644 TestRosTcpConnector/ProjectSettings/EditorBuildSettings.asset create mode 100644 TestRosTcpConnector/ProjectSettings/EditorSettings.asset create mode 100644 TestRosTcpConnector/ProjectSettings/GraphicsSettings.asset create mode 100644 TestRosTcpConnector/ProjectSettings/InputManager.asset create mode 100644 TestRosTcpConnector/ProjectSettings/NavMeshAreas.asset create mode 100644 TestRosTcpConnector/ProjectSettings/PackageManagerSettings.asset create mode 100644 TestRosTcpConnector/ProjectSettings/Physics2DSettings.asset create mode 100644 TestRosTcpConnector/ProjectSettings/PresetManager.asset create mode 100644 TestRosTcpConnector/ProjectSettings/ProjectSettings.asset create mode 100644 TestRosTcpConnector/ProjectSettings/ProjectVersion.txt create mode 100644 TestRosTcpConnector/ProjectSettings/QualitySettings.asset create mode 100644 TestRosTcpConnector/ProjectSettings/TagManager.asset create mode 100644 TestRosTcpConnector/ProjectSettings/TimeManager.asset create mode 100644 TestRosTcpConnector/ProjectSettings/URPProjectSettings.asset create mode 100644 TestRosTcpConnector/ProjectSettings/UnityConnectSettings.asset create mode 100644 TestRosTcpConnector/ProjectSettings/VFXManager.asset create mode 100644 TestRosTcpConnector/ProjectSettings/VersionControlSettings.asset create mode 100644 TestRosTcpConnector/ProjectSettings/XRSettings.asset delete mode 100644 Third Party Notices.md.meta rename Editor.meta => com.unity.robotics.ros-tcp-connector/Editor.meta (100%) rename {Editor => com.unity.robotics.ros-tcp-connector/Editor}/MessageGeneration.meta (100%) rename {Editor => com.unity.robotics.ros-tcp-connector/Editor}/MessageGeneration/MessageGenBrowser.cs (98%) rename {Editor => com.unity.robotics.ros-tcp-connector/Editor}/MessageGeneration/MessageGenBrowser.cs.meta (100%) create mode 100644 com.unity.robotics.ros-tcp-connector/Editor/MessageGeneration/MessageGenBrowserSettings.cs rename {Editor => com.unity.robotics.ros-tcp-connector/Editor}/MessageGeneration/MessageGenBrowserSettings.cs.meta (100%) create mode 100644 com.unity.robotics.ros-tcp-connector/Editor/MessageGeneration/ScriptedMsgImporter.cs rename {Editor => com.unity.robotics.ros-tcp-connector/Editor}/MessageGeneration/ScriptedMsgImporter.cs.meta (100%) create mode 100644 com.unity.robotics.ros-tcp-connector/Editor/MessageGeneration/ScriptedSrvImporter.cs rename {Editor => com.unity.robotics.ros-tcp-connector/Editor}/MessageGeneration/ScriptedSrvImporter.cs.meta (100%) create mode 100644 com.unity.robotics.ros-tcp-connector/Editor/ROSSettingsEditor.cs rename {Editor => com.unity.robotics.ros-tcp-connector/Editor}/ROSSettingsEditor.cs.meta (100%) rename {Editor => com.unity.robotics.ros-tcp-connector/Editor}/Unity.Robotics.ROSTCPConnector.Editor.asmdef (87%) rename {Editor => com.unity.robotics.ros-tcp-connector/Editor}/Unity.Robotics.ROSTCPConnector.Editor.asmdef.meta (100%) rename Runtime.meta => com.unity.robotics.ros-tcp-connector/Runtime.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/Action.cs (93%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/Action.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/ActionAutoGen.cs (99%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/ActionAutoGen.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/ActionFeedback.cs (95%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/ActionFeedback.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/ActionGoal.cs (95%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/ActionGoal.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/ActionResult.cs (95%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/ActionResult.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/Message.cs (98%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/Message.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/MessageAutoGen.cs (99%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/MessageAutoGen.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/MessageParser.cs (99%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/MessageParser.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/MessageToken.cs (95%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/MessageToken.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/MessageTokenizer.cs (99%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/MessageTokenizer.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/MsgAutoGenUtilities.cs (98%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/MsgAutoGenUtilities.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/ROSConnection_msgs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/ROSConnection_msgs/msg.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/ROSConnection_msgs/msg/RosUnityError.cs (95%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/ROSConnection_msgs/msg/RosUnityError.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/ROSConnection_msgs/msg/RosUnitySysCommand.cs (97%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/ROSConnection_msgs/msg/RosUnitySysCommand.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/ROSConnection_msgs/srv.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/ROSConnection_msgs/srv/UnityHandshakeRequest.cs (96%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/ROSConnection_msgs/srv/UnityHandshakeRequest.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/ROSConnection_msgs/srv/UnityHandshakeResponse.cs (95%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/ROSConnection_msgs/srv/UnityHandshakeResponse.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/ServiceAutoGen.cs (98%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/ServiceAutoGen.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Actionlib.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Actionlib/msg.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Actionlib/msg/GoalID.cs (97%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Actionlib/msg/GoalID.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Actionlib/msg/GoalStatus.cs (98%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Actionlib/msg/GoalStatus.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Actionlib/msg/GoalStatusArray.cs (97%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Actionlib/msg/GoalStatusArray.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Diagnostic.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Diagnostic/msg.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Diagnostic/msg/DiagnosticArray.cs (97%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Diagnostic/msg/DiagnosticArray.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Diagnostic/msg/DiagnosticStatus.cs (98%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Diagnostic/msg/DiagnosticStatus.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Diagnostic/msg/KeyValue.cs (96%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Diagnostic/msg/KeyValue.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Geometry.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Geometry/msg.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Geometry/msg/Accel.cs (96%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Geometry/msg/Accel.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Geometry/msg/AccelStamped.cs (96%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Geometry/msg/AccelStamped.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Geometry/msg/AccelWithCovariance.cs (97%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Geometry/msg/AccelWithCovariance.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Geometry/msg/AccelWithCovarianceStamped.cs (96%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Geometry/msg/AccelWithCovarianceStamped.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Geometry/msg/Inertia.cs (98%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Geometry/msg/Inertia.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Geometry/msg/InertiaStamped.cs (96%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Geometry/msg/InertiaStamped.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Geometry/msg/Point.cs (96%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Geometry/msg/Point.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Geometry/msg/Point32.cs (97%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Geometry/msg/Point32.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Geometry/msg/PointStamped.cs (96%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Geometry/msg/PointStamped.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Geometry/msg/Polygon.cs (96%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Geometry/msg/Polygon.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Geometry/msg/PolygonStamped.cs (96%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Geometry/msg/PolygonStamped.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Geometry/msg/Pose.cs (96%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Geometry/msg/Pose.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Geometry/msg/Pose2D.cs (97%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Geometry/msg/Pose2D.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Geometry/msg/PoseArray.cs (97%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Geometry/msg/PoseArray.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Geometry/msg/PoseStamped.cs (96%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Geometry/msg/PoseStamped.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Geometry/msg/PoseWithCovariance.cs (97%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Geometry/msg/PoseWithCovariance.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Geometry/msg/PoseWithCovarianceStamped.cs (96%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Geometry/msg/PoseWithCovarianceStamped.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Geometry/msg/Quaternion.cs (97%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Geometry/msg/Quaternion.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Geometry/msg/QuaternionStamped.cs (96%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Geometry/msg/QuaternionStamped.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Geometry/msg/Transform.cs (96%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Geometry/msg/Transform.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Geometry/msg/TransformStamped.cs (97%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Geometry/msg/TransformStamped.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Geometry/msg/Twist.cs (96%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Geometry/msg/Twist.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Geometry/msg/TwistStamped.cs (96%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Geometry/msg/TwistStamped.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Geometry/msg/TwistWithCovariance.cs (97%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Geometry/msg/TwistWithCovariance.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Geometry/msg/TwistWithCovarianceStamped.cs (96%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Geometry/msg/TwistWithCovarianceStamped.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Geometry/msg/Vector3.cs (97%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Geometry/msg/Vector3.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Geometry/msg/Vector3Stamped.cs (96%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Geometry/msg/Vector3Stamped.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Geometry/msg/Wrench.cs (96%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Geometry/msg/Wrench.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Geometry/msg/WrenchStamped.cs (96%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Geometry/msg/WrenchStamped.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Nav.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Nav/msg.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Nav/msg/GridCells.cs (97%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Nav/msg/GridCells.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Nav/msg/MapMetaData.cs (98%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Nav/msg/MapMetaData.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Nav/msg/OccupancyGrid.cs (97%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Nav/msg/OccupancyGrid.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Nav/msg/Odometry.cs (97%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Nav/msg/Odometry.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Nav/msg/Path.cs (97%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Nav/msg/Path.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Sensor.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Sensor/msg.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Sensor/msg/BatteryState.cs (99%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Sensor/msg/BatteryState.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Sensor/msg/CameraInfo.cs (99%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Sensor/msg/CameraInfo.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Sensor/msg/ChannelFloat32.cs (98%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Sensor/msg/ChannelFloat32.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Sensor/msg/CompressedImage.cs (98%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Sensor/msg/CompressedImage.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Sensor/msg/FluidPressure.cs (97%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Sensor/msg/FluidPressure.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Sensor/msg/Illuminance.cs (98%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Sensor/msg/Illuminance.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Sensor/msg/Image.cs (98%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Sensor/msg/Image.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Sensor/msg/Imu.cs (99%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Sensor/msg/Imu.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Sensor/msg/JointState.cs (98%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Sensor/msg/JointState.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Sensor/msg/Joy.cs (98%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Sensor/msg/Joy.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Sensor/msg/JoyFeedback.cs (97%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Sensor/msg/JoyFeedback.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Sensor/msg/JoyFeedbackArray.cs (96%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Sensor/msg/JoyFeedbackArray.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Sensor/msg/LaserEcho.cs (97%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Sensor/msg/LaserEcho.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Sensor/msg/LaserScan.cs (99%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Sensor/msg/LaserScan.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Sensor/msg/MagneticField.cs (98%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Sensor/msg/MagneticField.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Sensor/msg/MultiDOFJointState.cs (99%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Sensor/msg/MultiDOFJointState.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Sensor/msg/MultiEchoLaserScan.cs (99%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Sensor/msg/MultiEchoLaserScan.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Sensor/msg/NavSatFix.cs (98%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Sensor/msg/NavSatFix.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Sensor/msg/NavSatStatus.cs (97%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Sensor/msg/NavSatStatus.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Sensor/msg/PointCloud.cs (98%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Sensor/msg/PointCloud.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Sensor/msg/PointCloud2.cs (99%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Sensor/msg/PointCloud2.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Sensor/msg/PointField.cs (98%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Sensor/msg/PointField.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Sensor/msg/Range.cs (98%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Sensor/msg/Range.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Sensor/msg/RegionOfInterest.cs (98%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Sensor/msg/RegionOfInterest.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Sensor/msg/RelativeHumidity.cs (97%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Sensor/msg/RelativeHumidity.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Sensor/msg/Temperature.cs (97%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Sensor/msg/Temperature.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Sensor/msg/TimeReference.cs (97%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Sensor/msg/TimeReference.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Shape.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Shape/msg.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Shape/msg/Mesh.cs (97%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Shape/msg/Mesh.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Shape/msg/MeshTriangle.cs (96%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Shape/msg/MeshTriangle.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Shape/msg/Plane.cs (96%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Shape/msg/Plane.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Shape/msg/SolidPrimitive.cs (98%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Shape/msg/SolidPrimitive.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Stereo.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Stereo/msg.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Stereo/msg/DisparityImage.cs (98%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Stereo/msg/DisparityImage.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Trajectory.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Trajectory/msg.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Trajectory/msg/JointTrajectory.cs (98%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Trajectory/msg/JointTrajectory.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Trajectory/msg/JointTrajectoryPoint.cs (98%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Trajectory/msg/JointTrajectoryPoint.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Trajectory/msg/MultiDOFJointTrajectory.cs (98%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Trajectory/msg/MultiDOFJointTrajectory.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Trajectory/msg/MultiDOFJointTrajectoryPoint.cs (98%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Trajectory/msg/MultiDOFJointTrajectoryPoint.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Visualization.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Visualization/msg.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Visualization/msg/ImageMarker.cs (99%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Visualization/msg/ImageMarker.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Visualization/msg/InteractiveMarker.cs (98%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Visualization/msg/InteractiveMarker.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Visualization/msg/InteractiveMarkerControl.cs (99%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Visualization/msg/InteractiveMarkerControl.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Visualization/msg/InteractiveMarkerFeedback.cs (99%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Visualization/msg/InteractiveMarkerFeedback.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Visualization/msg/InteractiveMarkerInit.cs (98%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Visualization/msg/InteractiveMarkerInit.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Visualization/msg/InteractiveMarkerPose.cs (97%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Visualization/msg/InteractiveMarkerPose.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Visualization/msg/InteractiveMarkerUpdate.cs (98%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Visualization/msg/InteractiveMarkerUpdate.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Visualization/msg/Marker.cs (99%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Visualization/msg/Marker.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Visualization/msg/MarkerArray.cs (96%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Visualization/msg/MarkerArray.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Visualization/msg/MenuEntry.cs (98%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/common_msgs/Visualization/msg/MenuEntry.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/std_msgs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/std_msgs/Bool.cs (95%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/std_msgs/Bool.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/std_msgs/Byte.cs (95%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/std_msgs/Byte.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/std_msgs/ByteMultiArray.cs (97%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/std_msgs/ByteMultiArray.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/std_msgs/Char.cs (94%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/std_msgs/Char.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/std_msgs/ColorRGBA.cs (97%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/std_msgs/ColorRGBA.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/std_msgs/Duration.cs (95%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/std_msgs/Duration.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/std_msgs/Empty.cs (93%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/std_msgs/Empty.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/std_msgs/Float32.cs (95%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/std_msgs/Float32.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/std_msgs/Float32MultiArray.cs (97%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/std_msgs/Float32MultiArray.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/std_msgs/Float64.cs (95%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/std_msgs/Float64.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/std_msgs/Float64MultiArray.cs (97%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/std_msgs/Float64MultiArray.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/std_msgs/Header.cs (97%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/std_msgs/Header.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/std_msgs/Int16.cs (95%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/std_msgs/Int16.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/std_msgs/Int16MultiArray.cs (97%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/std_msgs/Int16MultiArray.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/std_msgs/Int32.cs (95%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/std_msgs/Int32.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/std_msgs/Int32MultiArray.cs (97%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/std_msgs/Int32MultiArray.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/std_msgs/Int64.cs (95%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/std_msgs/Int64.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/std_msgs/Int64MultiArray.cs (97%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/std_msgs/Int64MultiArray.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/std_msgs/Int8.cs (95%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/std_msgs/Int8.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/std_msgs/Int8MultiArray.cs (97%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/std_msgs/Int8MultiArray.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/std_msgs/MultiArrayDimension.cs (97%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/std_msgs/MultiArrayDimension.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/std_msgs/MultiArrayLayout.cs (98%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/std_msgs/MultiArrayLayout.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/std_msgs/String.cs (95%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/std_msgs/String.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/std_msgs/Time.cs (95%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/std_msgs/Time.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/std_msgs/UInt16.cs (95%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/std_msgs/UInt16.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/std_msgs/UInt16MultiArray.cs (97%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/std_msgs/UInt16MultiArray.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/std_msgs/UInt32.cs (95%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/std_msgs/UInt32.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/std_msgs/UInt32MultiArray.cs (97%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/std_msgs/UInt32MultiArray.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/std_msgs/UInt64.cs (95%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/std_msgs/UInt64.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/std_msgs/UInt64MultiArray.cs (97%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/std_msgs/UInt64MultiArray.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/std_msgs/UInt8.cs (94%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/std_msgs/UInt8.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/std_msgs/UInt8MultiArray.cs (97%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/MessageGeneration/std_msgs/UInt8MultiArray.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/ROSGeometry.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/ROSGeometry/CoordinateSpaces.cs (87%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/ROSGeometry/CoordinateSpaces.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/ROSGeometry/ROSQuaternion.cs (91%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/ROSGeometry/ROSQuaternion.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/ROSGeometry/ROSVector3.cs (95%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/ROSGeometry/ROSVector3.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/TcpConnector.meta (100%) create mode 100644 com.unity.robotics.ros-tcp-connector/Runtime/TcpConnector/HUDPanel.cs rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/TcpConnector/HUDPanel.cs.meta (100%) create mode 100644 com.unity.robotics.ros-tcp-connector/Runtime/TcpConnector/ROSConnection.cs rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/TcpConnector/ROSConnection.cs.meta (100%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/Unity.Robotics.ROSTCPConnector.asmdef (89%) rename {Runtime => com.unity.robotics.ros-tcp-connector/Runtime}/Unity.Robotics.ROSTCPConnector.asmdef.meta (100%) create mode 100644 com.unity.robotics.ros-tcp-connector/Tests.meta create mode 100644 com.unity.robotics.ros-tcp-connector/Tests/Editor.meta create mode 100644 com.unity.robotics.ros-tcp-connector/Tests/Editor/PlayerBuildTests.cs create mode 100644 com.unity.robotics.ros-tcp-connector/Tests/Editor/PlayerBuildTests.cs.meta create mode 100644 com.unity.robotics.ros-tcp-connector/Tests/Editor/Unity.Robotics.ROSTCPConnector.Editor.Tests.asmdef rename InfoAcknowledgements.md.meta => com.unity.robotics.ros-tcp-connector/Tests/Editor/Unity.Robotics.ROSTCPConnector.Editor.Tests.asmdef.meta (59%) create mode 100644 com.unity.robotics.ros-tcp-connector/Tests/Runtime.meta create mode 100644 com.unity.robotics.ros-tcp-connector/Tests/Runtime/SmokeTests.cs create mode 100644 com.unity.robotics.ros-tcp-connector/Tests/Runtime/SmokeTests.cs.meta create mode 100644 com.unity.robotics.ros-tcp-connector/Tests/Runtime/Unity.Perception.Runtime.Tests.asmdef rename MessageGeneration.md.meta => com.unity.robotics.ros-tcp-connector/Tests/Runtime/Unity.Perception.Runtime.Tests.asmdef.meta (59%) rename package.json => com.unity.robotics.ros-tcp-connector/package.json (100%) rename package.json.meta => com.unity.robotics.ros-tcp-connector/package.json.meta (100%) diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..2af5dd3f --- /dev/null +++ b/.gitattributes @@ -0,0 +1,6 @@ +*.meta text eol=lf +*.asset text eol=lf +*.cs text eol=lf +*.py text eol=lf +*.json text eol=lf +*.sh text eol=lf diff --git a/.gitignore b/.gitignore index 090a1f02..60677d05 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ .idea .DS_Store +*.swp diff --git a/.yamato/yamato-config.yml b/.yamato/yamato-config.yml new file mode 100644 index 00000000..e10aae1a --- /dev/null +++ b/.yamato/yamato-config.yml @@ -0,0 +1,23 @@ +name: Connector Unit Tests +agent: + type: Unity::VM + image: robotics/ci-ubuntu20:latest + flavor: i1.large +variables: + PATH: /root/.local/bin:/home/bokken/bin:/home/bokken/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/sbin:/home/bokken/.npm-global/bin +commands: + - python3 -m pip install unity-downloader-cli --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade + - unity-downloader-cli -u 2020.2.0b9 -c editor -c StandaloneSupport-IL2CPP -c Linux --wait --published + - git clone git@github.cds.internal.unity3d.com:unity/utr.git utr + - utr/utr --testproject=./TestRosTcpConnector --editor-location=.Editor --reruncount=0 --artifacts_path=test-results --suite=playmode --suite=editor --platform=Editor +triggers: + cancel_old_ci: true + expression: | + (pull_request.target eq "main" AND + NOT pull_request.push.changes.all match "**/*.md") OR + (push.branch eq "dev" AND + NOT push.changes.all match "**/*.md") +artifacts: + logs: + paths: + - "test-results/**/*" diff --git a/Editor/MessageGeneration/MessageGenBrowserSettings.cs b/Editor/MessageGeneration/MessageGenBrowserSettings.cs deleted file mode 100644 index 4fd45556..00000000 --- a/Editor/MessageGeneration/MessageGenBrowserSettings.cs +++ /dev/null @@ -1,53 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using System.IO; -using UnityEditor; -using UnityEngine; - -public class MessageGenBrowserSettings : ScriptableObject -{ - public string inputPath; - public string relativeOutPath; - public string outputPath => Path.Combine(Application.dataPath, relativeOutPath); - const string SETTINGS_FILENAME = "msgbrowser_settings.asset"; - - static MessageGenBrowserSettings settings; - public static MessageGenBrowserSettings Get() - { - if (settings == null) - { - settings = AssetDatabase.LoadAssetAtPath(Path.Combine("Assets", SETTINGS_FILENAME)); - if (settings == null) - { - settings = ScriptableObject.CreateInstance(); - settings.inputPath = ""; - settings.relativeOutPath = "RosMessages"; - } - } - return settings; - } - - public void Save() - { - if (!File.Exists(Path.Combine(Application.dataPath, SETTINGS_FILENAME))) - { - AssetDatabase.CreateAsset(this, Path.Combine("Assets", SETTINGS_FILENAME)); - AssetDatabase.SaveAssets(); - } - else - { - EditorUtility.SetDirty(this); - } - } - - public static string ToRelativePath(string fullPath) - { - string dataPath = Path.GetFullPath(Application.dataPath); - fullPath = Path.GetFullPath(fullPath); - - if (!fullPath.StartsWith(dataPath)) - return ""; - - return fullPath.Substring(dataPath.Length+1); - } -} diff --git a/Editor/MessageGeneration/ScriptedMsgImporter.cs b/Editor/MessageGeneration/ScriptedMsgImporter.cs deleted file mode 100644 index eeb41dd1..00000000 --- a/Editor/MessageGeneration/ScriptedMsgImporter.cs +++ /dev/null @@ -1,29 +0,0 @@ -using RosMessageGeneration; -using System.Collections; -using System.Collections.Generic; -using System.IO; -using UnityEditor; -using UnityEngine; -#if UNITY_2020_2_OR_NEWER -using UnityEditor.AssetImporters; -#else -using UnityEditor.Experimental.AssetImporters; -#endif - -[ScriptedImporter(1, "msg")] -public class ScriptedMsgImporter : ScriptedImporter -{ - public override void OnImportAsset(AssetImportContext ctx) - { - string inputPath = Path.Combine(Directory.GetCurrentDirectory(), ctx.assetPath); - string outputPath = MessageGenBrowserSettings.Get().outputPath; - MessageAutoGen.GenerateSingleMessage(inputPath, outputPath); - - string builtPath = MessageAutoGen.GetMessageClassPath(inputPath, outputPath); - string builtAssetPath = Path.Combine("Assets", MessageGenBrowserSettings.ToRelativePath(builtPath)); - AssetDatabase.ImportAsset(builtAssetPath); - Object messageClass = AssetDatabase.LoadAssetAtPath(builtAssetPath, typeof(MonoScript)); - if(messageClass != null) - ctx.AddObjectToAsset("messageClass", messageClass); - } -} diff --git a/Editor/MessageGeneration/ScriptedSrvImporter.cs b/Editor/MessageGeneration/ScriptedSrvImporter.cs deleted file mode 100644 index a2eb204c..00000000 --- a/Editor/MessageGeneration/ScriptedSrvImporter.cs +++ /dev/null @@ -1,31 +0,0 @@ -using RosMessageGeneration; -using System.Collections; -using System.Collections.Generic; -using System.IO; -using UnityEditor; -using UnityEngine; -#if UNITY_2020_2_OR_NEWER -using UnityEditor.AssetImporters; -#else -using UnityEditor.Experimental.AssetImporters; -#endif - -[ScriptedImporter(1, "srv")] -public class ScriptedSrvImporter : ScriptedImporter -{ - public override void OnImportAsset(AssetImportContext ctx) - { - string inputPath = Path.Combine(Directory.GetCurrentDirectory(), ctx.assetPath); - string outputPath = MessageGenBrowserSettings.Get().outputPath; - ServiceAutoGen.GenerateSingleService(inputPath, MessageGenBrowserSettings.Get().outputPath); - - foreach (string builtPath in ServiceAutoGen.GetServiceClassPaths(inputPath, outputPath)) - { - string builtAssetPath = Path.Combine("Assets", MessageGenBrowserSettings.ToRelativePath(builtPath)); - AssetDatabase.ImportAsset(builtAssetPath); - Object messageClass = AssetDatabase.LoadAssetAtPath(builtAssetPath, typeof(MonoScript)); - if (messageClass != null) - ctx.AddObjectToAsset("messageClass", messageClass); - } - } -} diff --git a/Editor/ROSSettingsEditor.cs b/Editor/ROSSettingsEditor.cs deleted file mode 100644 index bdcae155..00000000 --- a/Editor/ROSSettingsEditor.cs +++ /dev/null @@ -1,61 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using UnityEngine; -using UnityEditor; -using System.IO; - -public class ROSSettingsEditor : EditorWindow -{ - [MenuItem("Robotics/ROS Settings", false, 0)] - public static void OpenWindow() - { - ROSSettingsEditor window = GetWindow(false, "ROS Settings", true); - window.minSize = new Vector2(300, 65); - window.maxSize = new Vector2(600, 250); - window.Show(); - } - - GameObject prefabObj; - ROSConnection prefab; - - protected virtual void OnGUI() - { - if (prefab == null) - { - prefabObj = Resources.Load("ROSConnectionPrefab"); - if (prefabObj != null) - prefab = prefabObj.GetComponent(); - - if (prefab == null) - { - GameObject sceneObj = new GameObject("ROSConnection"); - sceneObj.AddComponent(); - if (!Directory.Exists("Assets/Resources")) - Directory.CreateDirectory("Assets/Resources"); - prefabObj = PrefabUtility.SaveAsPrefabAsset(sceneObj, "Assets/Resources/ROSConnectionPrefab.prefab"); - if (prefabObj != null) - prefab = prefabObj.GetComponent(); - DestroyImmediate(sceneObj); - } - } - - EditorGUILayout.LabelField("Settings for a new ROSConnection.instance", EditorStyles.boldLabel); - prefab.rosIPAddress = EditorGUILayout.TextField("ROS IP Address", prefab.rosIPAddress); - prefab.rosPort = EditorGUILayout.IntField("ROS Port", prefab.rosPort); - EditorGUILayout.Space(); - prefab.showHUD = EditorGUILayout.Toggle("Show HUD", prefab.showHUD); - EditorGUILayout.Space(); - prefab.overrideUnityIP = EditorGUILayout.TextField(new GUIContent("Override Unity IP Address", "If blank, determine IP automatically."), prefab.overrideUnityIP); - prefab.unityPort = EditorGUILayout.IntField("Unity Port", prefab.unityPort); - EditorGUILayout.Space(); - EditorGUILayout.LabelField("If awaiting a service response:", EditorStyles.boldLabel); - prefab.awaitDataMaxRetries = EditorGUILayout.IntField(new GUIContent("Max Retries", "While waiting for a service to respond, check this many times before giving up."), prefab.awaitDataMaxRetries); - prefab.awaitDataSleepSeconds = EditorGUILayout.FloatField(new GUIContent("Sleep (seconds)", "While waiting for a service to respond, wait this many seconds between checks."), prefab.awaitDataSleepSeconds); - - if (GUI.changed) - { - EditorUtility.SetDirty(prefabObj); - AssetDatabase.SaveAssets(); - } - } -} \ No newline at end of file diff --git a/ROSGeometry.md.meta b/ROSGeometry.md.meta deleted file mode 100644 index f6f2a336..00000000 --- a/ROSGeometry.md.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: db87cfac30cf5494d9443bee23f6c5bb -TextScriptImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Runtime/TcpConnector/HUDPanel.cs b/Runtime/TcpConnector/HUDPanel.cs deleted file mode 100644 index b0cad04b..00000000 --- a/Runtime/TcpConnector/HUDPanel.cs +++ /dev/null @@ -1,226 +0,0 @@ -using RosMessageGeneration; -using ROSGeometry; -using System; -using System.Collections.Generic; -using System.Reflection; -using UnityEngine; - -public class HUDPanel : MonoBehaviour -{ - // GUI variables - GUIStyle labelStyle; - GUIStyle contentStyle; - GUIStyle messageStyle; - bool viewSent = false; - bool viewRecv = false; - bool viewSrvs = false; - Rect scrollRect; - bool redrawGUI = false; - - // ROS Message variables - internal bool isEnabled; - internal string host; - - MessageViewState lastMessageSent; - string lastMessageSentMeta = "None"; - - public void SetLastMessageSent(string topic, Message message) - { - lastMessageSent = new MessageViewState() { label = "Last Message Sent:", message = message }; - lastMessageSentMeta = $"{topic} (time: {System.DateTime.Now.TimeOfDay})"; - redrawGUI = true; - } - - MessageViewState lastMessageReceived; - string lastMessageReceivedMeta = "None"; - - public void SetLastMessageReceived(string topic, Message message) - { - lastMessageReceived = new MessageViewState() { label = "Last Message Received:", message = message }; - lastMessageReceivedMeta = $"{topic} (time: {System.DateTime.Now.TimeOfDay})"; - redrawGUI = true; - } - - List activeServices = new List(); - MessageViewState lastCompletedServiceRequest = null; - MessageViewState lastCompletedServiceResponse = null; - int nextServiceID = 101; - - public int AddServiceRequest(string topic, Message request) - { - int serviceID = nextServiceID; - nextServiceID++; - - activeServices.Add(new MessageViewState() - { - serviceID = serviceID, - timestamp = Time.time, - topic = topic, - message = request, - label = $"{topic} Service Requested", - }); - - return serviceID; - } - - public void AddServiceResponse(int serviceID, Message response) - { - lastCompletedServiceRequest = activeServices.Find(s => s.serviceID == serviceID); - activeServices.Remove(lastCompletedServiceRequest); - - lastCompletedServiceResponse = new MessageViewState() - { - serviceID = serviceID, - timestamp = Time.time, - topic = lastCompletedServiceRequest.topic, - message = response, - label = $"{lastCompletedServiceRequest.topic} Service Response", - }; - } - - void Awake() - { - // Define font styles - labelStyle = new GUIStyle - { - alignment = TextAnchor.MiddleLeft, - normal = { textColor = Color.white }, - fontStyle = FontStyle.Bold, - fixedWidth = 250 - }; - - contentStyle = new GUIStyle - { - alignment = TextAnchor.MiddleLeft, - padding = new RectOffset(10, 0, 0, 5), - normal = { textColor = Color.white }, - fixedWidth = 300 - }; - - messageStyle = new GUIStyle - { - alignment = TextAnchor.MiddleLeft, - padding = new RectOffset(10, 0, 5, 5), - normal = { textColor = Color.white }, - fixedWidth = 300, - wordWrap = true - }; - - scrollRect = new Rect(); - } - - void OnGUI() - { - if (!isEnabled) - return; - - // Initialize main HUD - GUILayout.BeginVertical("box"); - - // ROS IP Setup - GUILayout.Label("ROS IP:", labelStyle); - GUILayout.Label(host, contentStyle); - - // Last message sent - GUILayout.Label("Last Message Sent:", labelStyle); - GUILayout.Label(lastMessageSentMeta, contentStyle); - if (lastMessageSent != null) - viewSent = GUILayout.Toggle(viewSent, "View contents"); - - // Last message received - GUILayout.Label("Last Message Received:", labelStyle); - GUILayout.Label(lastMessageReceivedMeta, contentStyle); - if (lastMessageReceived != null) - viewRecv = GUILayout.Toggle(viewRecv, "View contents"); - - GUILayout.Label($"{activeServices.Count} Active Service Requests:", labelStyle); - if (activeServices.Count > 0) - { - var dots = new String('.', (int)Time.time % 4); - GUILayout.Label($"Waiting for service response{dots}", contentStyle); - } - viewSrvs = GUILayout.Toggle(viewSrvs, "View services status"); - - GUILayout.EndVertical(); - - // Update length of scroll - if (GUILayoutUtility.GetLastRect().height > 1 && GUILayoutUtility.GetLastRect().width > 1) - scrollRect = GUILayoutUtility.GetLastRect(); - - // Optionally show message contents - float y = scrollRect.yMax; - if (viewSent) - { - y = ShowMessage(lastMessageSent, y); - } - - if (viewRecv) - { - y = ShowMessage(lastMessageReceived, y); - } - - if (viewSrvs) - { - foreach (MessageViewState service in activeServices) - { - y = ShowMessage(service, y, showElapsedTime: true); - } - - if (lastCompletedServiceRequest != null && lastCompletedServiceResponse != null) - { - y = ShowMessage(lastCompletedServiceRequest, y); - y = ShowMessage(lastCompletedServiceResponse, y); - } - } - } - - /// - /// All the information necessary to display a message and remember its scroll position - /// - class MessageViewState - { - public string label; - public int serviceID; - public float timestamp; - public string topic; - public Message message; - public Rect contentRect; - public Vector2 scrollPosition; - } - - /// - /// Displays a MessageViewState - /// - /// The message view to draw - /// The Y position to draw at - /// Whether to add elapsed time to the title - /// The new Y position to draw at - float ShowMessage(MessageViewState msgView, float y, bool showElapsedTime = false) - { - if (msgView == null) - return y; - - // Start scrollviews - float height = msgView.contentRect.height > 0 ? Mathf.Min(msgView.contentRect.height, 200) : 200; - Rect panelRect = new Rect(0, y + 5, 325, height); - msgView.scrollPosition = GUI.BeginScrollView(panelRect, msgView.scrollPosition, msgView.contentRect); - - GUILayout.BeginVertical("box"); - - // Paste contents of message - if (showElapsedTime) - GUILayout.Label($"{msgView.label} ({Time.time - msgView.timestamp})", labelStyle); - else - GUILayout.Label(msgView.label, labelStyle); - GUILayout.Label(msgView.message.ToString(), messageStyle); - - GUILayout.EndVertical(); - GUI.EndScrollView(); - - // Update size of internal rect view - if (GUILayoutUtility.GetLastRect().height > 1 && GUILayoutUtility.GetLastRect().width > 1) - msgView.contentRect = GUILayoutUtility.GetLastRect(); - - return panelRect.yMax; - } -} \ No newline at end of file diff --git a/Runtime/TcpConnector/ROSConnection.cs b/Runtime/TcpConnector/ROSConnection.cs deleted file mode 100644 index 241cf715..00000000 --- a/Runtime/TcpConnector/ROSConnection.cs +++ /dev/null @@ -1,545 +0,0 @@ -using RosMessageGeneration; -using RosMessageTypes.RosTcpEndpoint; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Net; -using System.Net.Sockets; -using System.Reflection; -using System.Text; -using System.Threading.Tasks; -using UnityEngine; -using UnityEngine.Serialization; - -public class ROSConnection : MonoBehaviour -{ - // Variables required for ROS communication - [FormerlySerializedAs("hostName")] - public string rosIPAddress = "127.0.0.1"; - [FormerlySerializedAs("hostPort")] - public int rosPort = 10000; - - [Tooltip("If blank, determine IP automatically.")] - public string overrideUnityIP = ""; - public int unityPort = 5005; - bool alreadyStartedServer = false; - - private int networkTimeout = 2000; - - [Tooltip("While waiting for a service to respond, check this many times before giving up.")] - public int awaitDataMaxRetries = 10; - [Tooltip("While waiting for a service to respond, wait this many seconds between checks.")] - public float awaitDataSleepSeconds = 1.0f; - - static object _lock = new object(); // sync lock - static List activeConnectionTasks = new List(); // pending connections - - const string ERROR_TOPIC_NAME = "__error"; - const string SYSCOMMAND_TOPIC_NAME = "__syscommand"; - const string HANDSHAKE_TOPIC_NAME = "__handshake"; - - const string SYSCOMMAND_SUBSCRIBE = "subscribe"; - const string SYSCOMMAND_PUBLISH = "publish"; - - // GUI window variables - internal HUDPanel hudPanel = null; - - public bool showHUD = true; - - struct SubscriberCallback - { - public ConstructorInfo messageConstructor; - public List> callbacks; - } - - Dictionary subscribers = new Dictionary(); - - public void Subscribe(string topic, Action callback) where T : Message, new() - { - SubscriberCallback subCallbacks; - if (!subscribers.TryGetValue(topic, out subCallbacks)) - { - subCallbacks = new SubscriberCallback - { - messageConstructor = typeof(T).GetConstructor(new Type[0]), - callbacks = new List> { } - }; - subscribers.Add(topic, subCallbacks); - } - - subCallbacks.callbacks.Add((Message msg) => { callback((T)msg); return null; }); - } - - public void ImplementService(string topic, Func callback) - where T : Message, new() - { - SubscriberCallback subCallbacks; - if (!subscribers.TryGetValue(topic, out subCallbacks)) - { - subCallbacks = new SubscriberCallback - { - messageConstructor = typeof(T).GetConstructor(new Type[0]), - callbacks = new List> { } - }; - subscribers.Add(topic, subCallbacks); - } - - subCallbacks.callbacks.Add((Message msg) => { return callback((T)msg); }); - } - - public async void SendServiceMessage(string rosServiceName, Message serviceRequest, Action callback) where RESPONSE : Message, new() - { - // Serialize the message in service name, message size, and message bytes format - byte[] messageBytes = GetMessageBytes(rosServiceName, serviceRequest); - - TcpClient client = new TcpClient(); - await client.ConnectAsync(rosIPAddress, rosPort); - - NetworkStream networkStream = client.GetStream(); - networkStream.ReadTimeout = networkTimeout; - - RESPONSE serviceResponse = new RESPONSE(); - - int serviceID = 0; - - // Send the message - try - { - if (hudPanel != null) serviceID = hudPanel.AddServiceRequest(rosServiceName, serviceRequest); - networkStream.Write(messageBytes, 0, messageBytes.Length); - } - catch (Exception e) - { - Debug.LogError("SocketException: " + e); - goto finish; - } - - if (!networkStream.CanRead) - { - Debug.LogError("Sorry, you cannot read from this NetworkStream."); - goto finish; - } - - // Poll every 1 second(s) for available data on the stream - int attempts = 0; - while (!networkStream.DataAvailable && attempts <= this.awaitDataMaxRetries) - { - if (attempts == this.awaitDataMaxRetries) - { - Debug.LogError("No data available on network stream after " + awaitDataMaxRetries + " attempts."); - goto finish; - } - attempts++; - await Task.Delay((int)(awaitDataSleepSeconds * 1000)); - } - - try - { - string serviceName; - byte[] content = ReadMessageContents(networkStream, out serviceName); - serviceResponse.Deserialize(content, 0); - } - catch (Exception e) - { - Debug.LogError("Exception raised!! " + e); - } - - finish: - callback(serviceResponse); - if (hudPanel != null) hudPanel.AddServiceResponse(serviceID, serviceResponse); - if (client.Connected) - client.Close(); - } - - public void RegisterSubscriber(string topic, string rosMessageName) - { - SendSysCommand(SYSCOMMAND_SUBSCRIBE, new SysCommand_Subscribe { topic = topic, message_name = rosMessageName }); - } - - public void RegisterPublisher(string topic, string rosMessageName) - { - SendSysCommand(SYSCOMMAND_PUBLISH, new SysCommand_Publish { topic = topic, message_name = rosMessageName }); - } - - private static ROSConnection _instance; - public static ROSConnection instance - { - get - { - if (_instance == null) - { - GameObject prefab = Resources.Load("ROSConnectionPrefab"); - if (prefab == null) - { - Debug.LogWarning("No settings for ROSConnection.instance! Open \"ROS Settings\" from the Robotics menu to configure it."); - GameObject instance = new GameObject("ROSConnection"); - _instance = instance.AddComponent(); - } - else - { - Instantiate(prefab); - } - } - return _instance; - } - } - - void OnEnable() - { - if (_instance == null) - _instance = this; - } - - private void Start() - { - InitializeHUD(); - Subscribe(ERROR_TOPIC_NAME, RosUnityErrorCallback); - - if (overrideUnityIP != "") - { - StartMessageServer(overrideUnityIP, unityPort); // no reason to wait, if we already know the IP - } - - SendServiceMessage(HANDSHAKE_TOPIC_NAME, new UnityHandshakeRequest(overrideUnityIP, (ushort)unityPort), RosUnityHandshakeCallback); - } - - void OnValidate() - { - InitializeHUD(); - } - - private void InitializeHUD() - { - if (!Application.isPlaying || (!showHUD && hudPanel == null)) - return; - - if (hudPanel == null) - { - hudPanel = gameObject.AddComponent(); - hudPanel.host = $"{rosIPAddress}:{rosPort}"; - } - - hudPanel.isEnabled = showHUD; - } - - void RosUnityHandshakeCallback(UnityHandshakeResponse response) - { - StartMessageServer(response.ip, unityPort); - } - - void RosUnityErrorCallback(RosUnityError error) - { - Debug.LogError("ROS-Unity error: " + error.message); - } - - /// TcpClient to read byte stream from. - protected async Task HandleConnectionAsync(TcpClient tcpClient) - { - await Task.Yield(); - - // continue asynchronously on another thread - ReadMessage(tcpClient.GetStream()); - } - - void ReadMessage(NetworkStream networkStream) - { - if (!networkStream.CanRead) - return; - - SubscriberCallback subs; - - string topicName; - byte[] content = ReadMessageContents(networkStream, out topicName); - - if (!subscribers.TryGetValue(topicName, out subs)) - return; // not interested in this topic - - Message msg = (Message)subs.messageConstructor.Invoke(new object[0]); - msg.Deserialize(content, 0); - - if (hudPanel != null) - hudPanel.SetLastMessageReceived(topicName, msg); - - foreach (Func callback in subs.callbacks) - { - try - { - Message response = callback(msg); - if(response != null) - { - // if the callback has a response, it's implementing a service - WriteDataStaggered(networkStream, topicName, response); - } - } - catch(Exception e) - { - Debug.LogError("Subscriber callback problem: "+e); - } - } - } - - byte[] ReadMessageContents(NetworkStream networkStream, out string topicName) - { - // Get first bytes to determine length of topic name - byte[] rawTopicBytes = new byte[4]; - networkStream.Read(rawTopicBytes, 0, rawTopicBytes.Length); - int topicLength = BitConverter.ToInt32(rawTopicBytes, 0); - - // Read and convert topic name - byte[] topicNameBytes = new byte[topicLength]; - networkStream.Read(topicNameBytes, 0, topicNameBytes.Length); - topicName = Encoding.ASCII.GetString(topicNameBytes, 0, topicLength); - - byte[] full_message_size_bytes = new byte[4]; - networkStream.Read(full_message_size_bytes, 0, full_message_size_bytes.Length); - int full_message_size = BitConverter.ToInt32(full_message_size_bytes, 0); - - byte[] readBuffer = new byte[full_message_size]; - int bytesRemaining = full_message_size; - int totalBytesRead = 0; - - while (networkStream.DataAvailable && bytesRemaining > 0) - { - int bytesRead = networkStream.Read(readBuffer, totalBytesRead, bytesRemaining); - totalBytesRead += bytesRead; - bytesRemaining -= bytesRead; - } - - return readBuffer; - } - - /// - /// Handles multiple connections and locks. - /// - /// TcpClient to read byte stream from. - private async Task StartHandleConnectionAsync(TcpClient tcpClient) - { - var connectionTask = HandleConnectionAsync(tcpClient); - - lock (_lock) - activeConnectionTasks.Add(connectionTask); - - try - { - await connectionTask; - // we may be on another thread after "await" - } - catch (Exception ex) - { - Debug.LogError(ex.ToString()); - } - finally - { - lock (_lock) - activeConnectionTasks.Remove(connectionTask); - } - } - - TcpListener tcpListener; - - protected async void StartMessageServer(string ip, int port) - { - if (alreadyStartedServer) - return; - - alreadyStartedServer = true; - while (true) - { - try - { - if (!Application.isPlaying) - break; - tcpListener = new TcpListener(IPAddress.Parse(ip), port); - tcpListener.Start(); - - Debug.Log("ROS-Unity server listening on " + ip + ":" + port); - - while (true) //we wait for a connection - { - var tcpClient = await tcpListener.AcceptTcpClientAsync(); - - var task = StartHandleConnectionAsync(tcpClient); - // if already faulted, re-throw any error on the calling context - if (task.IsFaulted) - await task; - - // try to get through the message queue before doing another await - // but if messages are arriving faster than we can process them, don't freeze up - float abortAtRealtime = Time.realtimeSinceStartup + 0.1f; - while (tcpListener.Pending() && Time.realtimeSinceStartup < abortAtRealtime) - { - tcpClient = tcpListener.AcceptTcpClient(); - task = StartHandleConnectionAsync(tcpClient); - if (task.IsFaulted) - await task; - } - } - } - catch (ObjectDisposedException e) - { - if (!Application.isPlaying) - { - // This only happened because we're shutting down. Not a problem. - } - else - { - Debug.LogError("Exception raised!! " + e); - } - } - catch (Exception e) - { - Debug.LogError("Exception raised!! " + e); - } - - // to avoid infinite loops, wait a frame before trying to restart the server - await Task.Yield(); - } - } - - private void OnApplicationQuit() - { - if (tcpListener != null) - tcpListener.Stop(); - tcpListener = null; - } - - - /// - /// Given some input values, fill a byte array in the desired format to use with - /// https://github.com/Unity-Technologies/Robotics-Tutorials/tree/master/catkin_ws/src/tcp_endpoint - /// - /// All messages are expected to come in the format of: - /// first four bytes: int32 of the length of following string value - /// next N bytes determined from previous four bytes: ROS topic name as a string - /// next four bytes: int32 of the length of the remaining bytes for the ROS Message - /// last N bytes determined from previous four bytes: ROS Message variables - /// - /// Index of where to start writing output data - /// The name of the ROS service or topic that the message data is meant for - /// The full size of the already serialized message in bytes - /// The serialized ROS message to send to ROS network - /// - public int GetPrefixBytes(int offset, byte[] serviceName, byte[] fullMessageSizeBytes, byte[] messagBuffer) - { - // Service Name bytes - System.Buffer.BlockCopy(serviceName, 0, messagBuffer, 0, serviceName.Length); - offset += serviceName.Length; - - // Full Message size bytes - System.Buffer.BlockCopy(fullMessageSizeBytes, 0, messagBuffer, offset, fullMessageSizeBytes.Length); - offset += fullMessageSizeBytes.Length; - - return offset; - } - - /// - /// Serialize a ROS message in the expected format of - /// https://github.com/Unity-Technologies/Robotics-Tutorials/tree/master/catkin_ws/src/tcp_endpoint - /// - /// All messages are expected to come in the format of: - /// first four bytes: int32 of the length of following string value - /// next N bytes determined from previous four bytes: ROS topic name as a string - /// next four bytes: int32 of the length of the remaining bytes for the ROS Message - /// last N bytes determined from previous four bytes: ROS Message variables - /// - /// The ROS topic or service name that is receiving the messsage - /// The ROS message to send to a ROS publisher or service - /// byte array with serialized ROS message in appropriate format - public byte[] GetMessageBytes(string topicServiceName, Message message) - { - byte[] topicName = message.SerializeString(topicServiceName); - byte[] bytesMsg = message.Serialize(); - byte[] fullMessageSizeBytes = BitConverter.GetBytes(bytesMsg.Length); - - byte[] messageBuffer = new byte[topicName.Length + fullMessageSizeBytes.Length + bytesMsg.Length]; - // Copy topic name and message size in bytes to message buffer - int offset = GetPrefixBytes(0, topicName, fullMessageSizeBytes, messageBuffer); - // ROS message bytes - System.Buffer.BlockCopy(bytesMsg, 0, messageBuffer, offset, bytesMsg.Length); - - return messageBuffer; - } - - struct SysCommand_Subscribe - { - public string topic; - public string message_name; - } - - struct SysCommand_Publish - { - public string topic; - public string message_name; - } - - void SendSysCommand(string command, object param) - { - Send(SYSCOMMAND_TOPIC_NAME, new RosUnitySysCommand(command, JsonUtility.ToJson(param))); - } - - public async void Send(string rosTopicName, Message message) - { - TcpClient client = null; - try - { - client = new TcpClient(); - await client.ConnectAsync(rosIPAddress, rosPort); - - NetworkStream networkStream = client.GetStream(); - networkStream.ReadTimeout = networkTimeout; - - WriteDataStaggered(networkStream, rosTopicName, message); - } - catch (NullReferenceException e) - { - Debug.LogError("TCPConnector.SendMessage Null Reference Exception: " + e); - } - catch (Exception e) - { - Debug.LogError("TCPConnector Exception: " + e); - } - finally - { - if (client != null && client.Connected) - { - try - { - if (hudPanel != null) hudPanel.SetLastMessageSent(rosTopicName, message); - client.Close(); - } - catch (Exception) - { - //Ignored. - } - } - } - } - - /// - /// Serialize a ROS message in the expected format of - /// https://github.com/Unity-Technologies/Robotics-Tutorials/tree/master/catkin_ws/src/tcp_endpoint - /// - /// All messages are expected to come in the format of: - /// first four bytes: int32 of the length of following string value - /// next N bytes determined from previous four bytes: ROS topic name as a string - /// next four bytes: int32 of the length of the remaining bytes for the ROS Message - /// last N bytes determined from previous four bytes: ROS Message variables - /// - /// The network stream that is transmitting the messsage - /// The ROS topic or service name that is receiving the messsage - /// The ROS message to send to a ROS publisher or service - private void WriteDataStaggered(NetworkStream networkStream, string rosTopicName, Message message) - { - byte[] topicName = message.SerializeString(rosTopicName); - List segments = message.SerializationStatements(); - int messageLength = segments.Select(s => s.Length).Sum(); - byte[] fullMessageSizeBytes = BitConverter.GetBytes(messageLength); - - networkStream.Write(topicName, 0, topicName.Length); - networkStream.Write(fullMessageSizeBytes, 0, fullMessageSizeBytes.Length); - foreach (byte[] segmentData in segments) - { - networkStream.Write(segmentData, 0, segmentData.Length); - } - } -} diff --git a/TestRosTcpConnector/.gitignore b/TestRosTcpConnector/.gitignore new file mode 100644 index 00000000..7a373b94 --- /dev/null +++ b/TestRosTcpConnector/.gitignore @@ -0,0 +1,75 @@ +# This .gitignore file should be placed at the root of your Unity project directory +# +# Get latest from https://github.com/github/gitignore/blob/master/Unity.gitignore +# +/[Ll]ibrary/ +/[Tt]emp/ +/[Oo]bj/ +/[Bb]uild/ +/[Bb]uilds/ +/[Bb]uild_[Dd]ata/ +/[Bb]uild.app/ +/[Ll]ogs/ +/[Uu]ser[Ss]ettings/ + +# MemoryCaptures can get excessive in size. +# They also could contain extremely sensitive data +/[Mm]emoryCaptures/ + +# Asset meta data should only be ignored when the corresponding asset is also ignored +!/[Aa]ssets/**/*.meta + +# Uncomment this line if you wish to ignore the asset store tools plugin +# /[Aa]ssets/AssetStoreTools* + +# Autogenerated Jetbrains Rider plugin +/[Aa]ssets/Plugins/Editor/JetBrains* + +# Visual Studio cache directory +.vs/ + +# Gradle cache directory +.gradle/ + +# Autogenerated VS/MD/Consulo solution and project files +ExportedObj/ +.consulo/ +*.so +*.debug +*.csproj +*.unityproj +*.sln +*.suo +*.tmp +*.user +*.userprefs +*.pidb +*.booproj +*.svd +*.pdb +*.mdb +*.opendb +*.VC.db + +# Unity3D generated meta files +*.pidb.meta +*.pdb.meta +*.mdb.meta + +# Unity3D generated file on crash reports +sysinfo.txt + +# Builds +*.apk +*.aab +*.unitypackage + +# Crashlytics generated file +crashlytics-build.properties + +# Packed Addressables +/[Aa]ssets/[Aa]ddressable[Aa]ssets[Dd]ata/*/*.bin* + +# Temporary auto-generated Android Assets +/[Aa]ssets/[Ss]treamingAssets/aa.meta +/[Aa]ssets/[Ss]treamingAssets/aa/* diff --git a/README.md.meta b/TestRosTcpConnector/Assets/Materials.meta similarity index 57% rename from README.md.meta rename to TestRosTcpConnector/Assets/Materials.meta index 5f786d3c..ee17c23b 100644 --- a/README.md.meta +++ b/TestRosTcpConnector/Assets/Materials.meta @@ -1,6 +1,7 @@ fileFormatVersion: 2 -guid: f1aa9574e3da5cf45913534e0174393e -TextScriptImporter: +guid: d0234ba368eeec9418390da711bfdad0 +folderAsset: yes +DefaultImporter: externalObjects: {} userData: assetBundleName: diff --git a/TestRosTcpConnector/Assets/Materials/Skybox_Mat.mat b/TestRosTcpConnector/Assets/Materials/Skybox_Mat.mat new file mode 100644 index 00000000..a1934e54 --- /dev/null +++ b/TestRosTcpConnector/Assets/Materials/Skybox_Mat.mat @@ -0,0 +1,89 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!21 &2100000 +Material: + serializedVersion: 6 + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: Skybox_Mat + m_Shader: {fileID: 106, guid: 0000000000000000f000000000000000, type: 0} + m_ShaderKeywords: _METALLIC_SETUP _SUNDISK_HIGH_QUALITY + m_LightmapFlags: 4 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: -1 + stringTagMap: {} + disabledShaderPasses: [] + m_SavedProperties: + serializedVersion: 3 + m_TexEnvs: + - _BumpMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailAlbedoMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMask: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MainTex: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MetallicGlossMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _OcclusionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ParallaxMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _SpecGlossMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Floats: + - _AtmosphereThickness: 0.53 + - _BumpScale: 1 + - _Cutoff: 0.5 + - _DetailNormalMapScale: 1 + - _DstBlend: 0 + - _Exposure: 1.25 + - _GlossMapScale: 1 + - _Glossiness: 0.5 + - _GlossyReflections: 1 + - _Metallic: 0 + - _Mode: 0 + - _OcclusionStrength: 1 + - _Parallax: 0.02 + - _SmoothnessTextureChannel: 0 + - _SpecularHighlights: 1 + - _SrcBlend: 1 + - _SunDisk: 2 + - _SunSize: 0.04 + - _SunSizeConvergence: 5 + - _UVSec: 0 + - _WorkflowMode: 1 + - _ZWrite: 1 + m_Colors: + - _Color: {r: 1, g: 1, b: 1, a: 1} + - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} + - _GroundColor: {r: 0.6392157, g: 0.6901961, b: 0.7411765, a: 1} + - _SkyTint: {r: 1, g: 1, b: 1, a: 1} + - _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1} diff --git a/TestRosTcpConnector/Assets/Materials/Skybox_Mat.mat.meta b/TestRosTcpConnector/Assets/Materials/Skybox_Mat.mat.meta new file mode 100644 index 00000000..facef4af --- /dev/null +++ b/TestRosTcpConnector/Assets/Materials/Skybox_Mat.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 0ffaa0b7117ba8c47a9d05ae701d4b4d +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/TestRosTcpConnector/Assets/Presets.meta b/TestRosTcpConnector/Assets/Presets.meta new file mode 100644 index 00000000..c3a6623f --- /dev/null +++ b/TestRosTcpConnector/Assets/Presets.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 558255460b74ec04fa70b5570e9327bd +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/TestRosTcpConnector/Assets/Presets/AudioCompressedInMemory.preset b/TestRosTcpConnector/Assets/Presets/AudioCompressedInMemory.preset new file mode 100644 index 00000000..57640698 --- /dev/null +++ b/TestRosTcpConnector/Assets/Presets/AudioCompressedInMemory.preset @@ -0,0 +1,137 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!181963792 &2655988077585873504 +Preset: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: AudioCompressedInMemory + m_TargetType: + m_NativeTypeID: 1020 + m_ManagedTypePPtr: {fileID: 0} + m_ManagedTypeFallback: + m_Properties: + - target: {fileID: 0} + propertyPath: m_ExternalObjects.Array.size + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_DefaultSettings.loadType + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_DefaultSettings.sampleRateSetting + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_DefaultSettings.sampleRateOverride + value: 44100 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_DefaultSettings.compressionFormat + value: 2 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_DefaultSettings.quality + value: 0.7 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_DefaultSettings.conversionMode + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettingOverrides.Array.size + value: 2 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettingOverrides.Array.data[0].first + value: 4 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettingOverrides.Array.data[0].second.loadType + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettingOverrides.Array.data[0].second.sampleRateSetting + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettingOverrides.Array.data[0].second.sampleRateOverride + value: 44100 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettingOverrides.Array.data[0].second.compressionFormat + value: 3 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettingOverrides.Array.data[0].second.quality + value: 0.7 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettingOverrides.Array.data[0].second.conversionMode + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettingOverrides.Array.data[1].first + value: 7 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettingOverrides.Array.data[1].second.loadType + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettingOverrides.Array.data[1].second.sampleRateSetting + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettingOverrides.Array.data[1].second.sampleRateOverride + value: 44100 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettingOverrides.Array.data[1].second.compressionFormat + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettingOverrides.Array.data[1].second.quality + value: 0.7 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettingOverrides.Array.data[1].second.conversionMode + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_ForceToMono + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_Normalize + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PreloadAudioData + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_LoadInBackground + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_Ambisonic + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_3D + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_UserData + value: + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_AssetBundleName + value: + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_AssetBundleVariant + value: + objectReference: {fileID: 0} diff --git a/TestRosTcpConnector/Assets/Presets/AudioCompressedInMemory.preset.meta b/TestRosTcpConnector/Assets/Presets/AudioCompressedInMemory.preset.meta new file mode 100644 index 00000000..cd0d5633 --- /dev/null +++ b/TestRosTcpConnector/Assets/Presets/AudioCompressedInMemory.preset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 2dd802e4d37c65149922028d3e973832 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/TestRosTcpConnector/Assets/Presets/AudioStreaming.preset b/TestRosTcpConnector/Assets/Presets/AudioStreaming.preset new file mode 100644 index 00000000..2fb2317f --- /dev/null +++ b/TestRosTcpConnector/Assets/Presets/AudioStreaming.preset @@ -0,0 +1,137 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!181963792 &2655988077585873504 +Preset: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: AudioStreaming + m_TargetType: + m_NativeTypeID: 1020 + m_ManagedTypePPtr: {fileID: 0} + m_ManagedTypeFallback: + m_Properties: + - target: {fileID: 0} + propertyPath: m_ExternalObjects.Array.size + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_DefaultSettings.loadType + value: 2 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_DefaultSettings.sampleRateSetting + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_DefaultSettings.sampleRateOverride + value: 44100 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_DefaultSettings.compressionFormat + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_DefaultSettings.quality + value: 0.7 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_DefaultSettings.conversionMode + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettingOverrides.Array.size + value: 2 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettingOverrides.Array.data[0].first + value: 4 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettingOverrides.Array.data[0].second.loadType + value: 2 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettingOverrides.Array.data[0].second.sampleRateSetting + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettingOverrides.Array.data[0].second.sampleRateOverride + value: 44100 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettingOverrides.Array.data[0].second.compressionFormat + value: 3 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettingOverrides.Array.data[0].second.quality + value: 0.7 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettingOverrides.Array.data[0].second.conversionMode + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettingOverrides.Array.data[1].first + value: 7 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettingOverrides.Array.data[1].second.loadType + value: 2 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettingOverrides.Array.data[1].second.sampleRateSetting + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettingOverrides.Array.data[1].second.sampleRateOverride + value: 44100 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettingOverrides.Array.data[1].second.compressionFormat + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettingOverrides.Array.data[1].second.quality + value: 0.7 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettingOverrides.Array.data[1].second.conversionMode + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_ForceToMono + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_Normalize + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PreloadAudioData + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_LoadInBackground + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_Ambisonic + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_3D + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_UserData + value: + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_AssetBundleName + value: + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_AssetBundleVariant + value: + objectReference: {fileID: 0} diff --git a/TestRosTcpConnector/Assets/Presets/AudioStreaming.preset.meta b/TestRosTcpConnector/Assets/Presets/AudioStreaming.preset.meta new file mode 100644 index 00000000..b7b81180 --- /dev/null +++ b/TestRosTcpConnector/Assets/Presets/AudioStreaming.preset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 86bcce7f5575b54408aa0f3a7d321039 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 2655988077585873504 + userData: + assetBundleName: + assetBundleVariant: diff --git a/TestRosTcpConnector/Assets/Presets/Defaults.meta b/TestRosTcpConnector/Assets/Presets/Defaults.meta new file mode 100644 index 00000000..959a49bd --- /dev/null +++ b/TestRosTcpConnector/Assets/Presets/Defaults.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 71ea82b02df99c2439e0dc8e4e1ebc24 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/TestRosTcpConnector/Assets/Presets/Defaults/AlbedoTexture_Default.preset b/TestRosTcpConnector/Assets/Presets/Defaults/AlbedoTexture_Default.preset new file mode 100644 index 00000000..41ee2bc0 --- /dev/null +++ b/TestRosTcpConnector/Assets/Presets/Defaults/AlbedoTexture_Default.preset @@ -0,0 +1,497 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!181963792 &2655988077585873504 +Preset: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: AlbedoTexture_Default + m_TargetType: + m_NativeTypeID: 1006 + m_ManagedTypePPtr: {fileID: 0} + m_ManagedTypeFallback: + m_Properties: + - target: {fileID: 0} + propertyPath: m_FileIDToRecycleName.Array.size + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_ExternalObjects.Array.size + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_MipMapMode + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_EnableMipMap + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_sRGBTexture + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_LinearTexture + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_FadeOut + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_BorderMipMap + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_MipMapsPreserveCoverage + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_AlphaTestReferenceValue + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_MipMapFadeDistanceStart + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_MipMapFadeDistanceEnd + value: 3 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_ConvertToNormalMap + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_ExternalNormalMap + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_HeightScale + value: 0.25 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_NormalMapFilter + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_IsReadable + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_StreamingMipmaps + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_StreamingMipmapsPriority + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_GrayScaleToAlpha + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_GenerateCubemap + value: 6 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_CubemapConvolution + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_SeamlessCubemap + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_TextureFormat + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_MaxTextureSize + value: 2048 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_TextureSettings.m_FilterMode + value: -1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_TextureSettings.m_Aniso + value: 2 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_TextureSettings.m_MipBias + value: -100 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_TextureSettings.m_WrapU + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_TextureSettings.m_WrapV + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_TextureSettings.m_WrapW + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_NPOTScale + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_Lightmap + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_CompressionQuality + value: 50 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_SpriteMode + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_SpriteExtrude + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_SpriteMeshType + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_Alignment + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_SpritePivot.x + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_SpritePivot.y + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_SpritePixelsToUnits + value: 100 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_SpriteBorder.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_SpriteBorder.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_SpriteBorder.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_SpriteBorder.w + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_SpriteGenerateFallbackPhysicsShape + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_AlphaUsage + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_AlphaIsTransparency + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_SpriteTessellationDetail + value: -1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_TextureType + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_TextureShape + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_SingleChannelComponent + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_MaxTextureSizeSet + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_CompressionQualitySet + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_TextureFormatSet + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.size + value: 5 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[0].m_BuildTarget + value: DefaultTexturePlatform + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[0].m_MaxTextureSize + value: 8192 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[0].m_ResizeAlgorithm + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[0].m_TextureFormat + value: -1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[0].m_TextureCompression + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[0].m_CompressionQuality + value: 50 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[0].m_CrunchedCompression + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[0].m_AllowsAlphaSplitting + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[0].m_Overridden + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[0].m_AndroidETC2FallbackOverride + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[1].m_BuildTarget + value: Standalone + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[1].m_MaxTextureSize + value: 8192 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[1].m_ResizeAlgorithm + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[1].m_TextureFormat + value: -1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[1].m_TextureCompression + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[1].m_CompressionQuality + value: 50 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[1].m_CrunchedCompression + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[1].m_AllowsAlphaSplitting + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[1].m_Overridden + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[1].m_AndroidETC2FallbackOverride + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[2].m_BuildTarget + value: iPhone + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[2].m_MaxTextureSize + value: 8192 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[2].m_ResizeAlgorithm + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[2].m_TextureFormat + value: -1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[2].m_TextureCompression + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[2].m_CompressionQuality + value: 50 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[2].m_CrunchedCompression + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[2].m_AllowsAlphaSplitting + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[2].m_Overridden + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[2].m_AndroidETC2FallbackOverride + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[3].m_BuildTarget + value: Android + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[3].m_MaxTextureSize + value: 8192 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[3].m_ResizeAlgorithm + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[3].m_TextureFormat + value: -1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[3].m_TextureCompression + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[3].m_CompressionQuality + value: 50 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[3].m_CrunchedCompression + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[3].m_AllowsAlphaSplitting + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[3].m_Overridden + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[3].m_AndroidETC2FallbackOverride + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[4].m_BuildTarget + value: Windows Store Apps + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[4].m_MaxTextureSize + value: 8192 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[4].m_ResizeAlgorithm + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[4].m_TextureFormat + value: -1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[4].m_TextureCompression + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[4].m_CompressionQuality + value: 50 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[4].m_CrunchedCompression + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[4].m_AllowsAlphaSplitting + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[4].m_Overridden + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[4].m_AndroidETC2FallbackOverride + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_SpriteSheet.m_Sprites.Array.size + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_SpriteSheet.m_Outline.Array.size + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_SpriteSheet.m_PhysicsShape.Array.size + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_SpriteSheet.m_Bones.Array.size + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_SpriteSheet.m_SpriteID + value: + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_SpriteSheet.m_Vertices.Array.size + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_SpriteSheet.m_Indices.Array.size + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_SpriteSheet.m_Edges.Array.size + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_SpriteSheet.m_Weights.Array.size + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_SpritePackingTag + value: + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PSDRemoveMatte + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PSDShowRemoveMatteOption + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_UserData + value: + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_AssetBundleName + value: + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_AssetBundleVariant + value: + objectReference: {fileID: 0} diff --git a/TestRosTcpConnector/Assets/Presets/Defaults/AlbedoTexture_Default.preset.meta b/TestRosTcpConnector/Assets/Presets/Defaults/AlbedoTexture_Default.preset.meta new file mode 100644 index 00000000..2e7fd878 --- /dev/null +++ b/TestRosTcpConnector/Assets/Presets/Defaults/AlbedoTexture_Default.preset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: e8537455c6c08bd4e8bf0be3707da685 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 2655988077585873504 + userData: + assetBundleName: + assetBundleVariant: diff --git a/TestRosTcpConnector/Assets/Presets/Defaults/AudioDecompressOnLoad.preset b/TestRosTcpConnector/Assets/Presets/Defaults/AudioDecompressOnLoad.preset new file mode 100644 index 00000000..d9291f8f --- /dev/null +++ b/TestRosTcpConnector/Assets/Presets/Defaults/AudioDecompressOnLoad.preset @@ -0,0 +1,137 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!181963792 &2655988077585873504 +Preset: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: AudioDecompressOnLoad + m_TargetType: + m_NativeTypeID: 1020 + m_ManagedTypePPtr: {fileID: 0} + m_ManagedTypeFallback: + m_Properties: + - target: {fileID: 0} + propertyPath: m_ExternalObjects.Array.size + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_DefaultSettings.loadType + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_DefaultSettings.sampleRateSetting + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_DefaultSettings.sampleRateOverride + value: 44100 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_DefaultSettings.compressionFormat + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_DefaultSettings.quality + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_DefaultSettings.conversionMode + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettingOverrides.Array.size + value: 2 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettingOverrides.Array.data[0].first + value: 4 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettingOverrides.Array.data[0].second.loadType + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettingOverrides.Array.data[0].second.sampleRateSetting + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettingOverrides.Array.data[0].second.sampleRateOverride + value: 44100 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettingOverrides.Array.data[0].second.compressionFormat + value: 3 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettingOverrides.Array.data[0].second.quality + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettingOverrides.Array.data[0].second.conversionMode + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettingOverrides.Array.data[1].first + value: 7 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettingOverrides.Array.data[1].second.loadType + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettingOverrides.Array.data[1].second.sampleRateSetting + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettingOverrides.Array.data[1].second.sampleRateOverride + value: 44100 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettingOverrides.Array.data[1].second.compressionFormat + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettingOverrides.Array.data[1].second.quality + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettingOverrides.Array.data[1].second.conversionMode + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_ForceToMono + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_Normalize + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PreloadAudioData + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_LoadInBackground + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_Ambisonic + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_3D + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_UserData + value: + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_AssetBundleName + value: + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_AssetBundleVariant + value: + objectReference: {fileID: 0} diff --git a/TestRosTcpConnector/Assets/Presets/Defaults/AudioDecompressOnLoad.preset.meta b/TestRosTcpConnector/Assets/Presets/Defaults/AudioDecompressOnLoad.preset.meta new file mode 100644 index 00000000..8e3dd025 --- /dev/null +++ b/TestRosTcpConnector/Assets/Presets/Defaults/AudioDecompressOnLoad.preset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: e7689051185d12f4298e1ebb2693a29f +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/TestRosTcpConnector/Assets/Presets/Defaults/DirectionalLight_Default.preset b/TestRosTcpConnector/Assets/Presets/Defaults/DirectionalLight_Default.preset new file mode 100644 index 00000000..020f6a66 --- /dev/null +++ b/TestRosTcpConnector/Assets/Presets/Defaults/DirectionalLight_Default.preset @@ -0,0 +1,137 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!181963792 &2655988077585873504 +Preset: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: DirectionalLight_Default + m_TargetType: + m_NativeTypeID: 108 + m_ManagedTypePPtr: {fileID: 0} + m_ManagedTypeFallback: + m_Properties: + - target: {fileID: 0} + propertyPath: m_Enabled + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_Type + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_Color.r + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_Color.g + value: 0.95686275 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_Color.b + value: 0.8392157 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_Color.a + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_Intensity + value: 2 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_Range + value: 10 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_SpotAngle + value: 30 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_CookieSize + value: 10 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_Shadows.m_Type + value: 2 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_Shadows.m_Resolution + value: -1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_Shadows.m_CustomResolution + value: -1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_Shadows.m_Strength + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_Shadows.m_Bias + value: 0.02 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_Shadows.m_NormalBias + value: 0.1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_Shadows.m_NearPlane + value: 0.1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_Cookie + value: + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_DrawHalo + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_Flare + value: + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_RenderMode + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_CullingMask.m_Bits + value: 4294967295 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_Lightmapping + value: 4 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_LightShadowCasterMode + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_AreaSize.x + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_AreaSize.y + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_BounceIntensity + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_ColorTemperature + value: 6570 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_UseColorTemperature + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_ShadowRadius + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_ShadowAngle + value: 0 + objectReference: {fileID: 0} diff --git a/TestRosTcpConnector/Assets/Presets/Defaults/DirectionalLight_Default.preset.meta b/TestRosTcpConnector/Assets/Presets/Defaults/DirectionalLight_Default.preset.meta new file mode 100644 index 00000000..ac83bf91 --- /dev/null +++ b/TestRosTcpConnector/Assets/Presets/Defaults/DirectionalLight_Default.preset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 463065d4f17d1d94d848aa127b94dd43 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 2655988077585873504 + userData: + assetBundleName: + assetBundleVariant: diff --git a/TestRosTcpConnector/Assets/Presets/NormalTexture.preset b/TestRosTcpConnector/Assets/Presets/NormalTexture.preset new file mode 100644 index 00000000..0158fecc --- /dev/null +++ b/TestRosTcpConnector/Assets/Presets/NormalTexture.preset @@ -0,0 +1,497 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!181963792 &2655988077585873504 +Preset: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: NormalTexture + m_TargetType: + m_NativeTypeID: 1006 + m_ManagedTypePPtr: {fileID: 0} + m_ManagedTypeFallback: + m_Properties: + - target: {fileID: 0} + propertyPath: m_FileIDToRecycleName.Array.size + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_ExternalObjects.Array.size + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_MipMapMode + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_EnableMipMap + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_sRGBTexture + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_LinearTexture + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_FadeOut + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_BorderMipMap + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_MipMapsPreserveCoverage + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_AlphaTestReferenceValue + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_MipMapFadeDistanceStart + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_MipMapFadeDistanceEnd + value: 3 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_ConvertToNormalMap + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_ExternalNormalMap + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_HeightScale + value: 0.25 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_NormalMapFilter + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_IsReadable + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_StreamingMipmaps + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_StreamingMipmapsPriority + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_GrayScaleToAlpha + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_GenerateCubemap + value: 6 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_CubemapConvolution + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_SeamlessCubemap + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_TextureFormat + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_MaxTextureSize + value: 2048 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_TextureSettings.m_FilterMode + value: 2 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_TextureSettings.m_Aniso + value: 2 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_TextureSettings.m_MipBias + value: -100 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_TextureSettings.m_WrapU + value: -1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_TextureSettings.m_WrapV + value: -1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_TextureSettings.m_WrapW + value: -1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_NPOTScale + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_Lightmap + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_CompressionQuality + value: 50 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_SpriteMode + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_SpriteExtrude + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_SpriteMeshType + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_Alignment + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_SpritePivot.x + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_SpritePivot.y + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_SpritePixelsToUnits + value: 100 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_SpriteBorder.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_SpriteBorder.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_SpriteBorder.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_SpriteBorder.w + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_SpriteGenerateFallbackPhysicsShape + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_AlphaUsage + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_AlphaIsTransparency + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_SpriteTessellationDetail + value: -1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_TextureType + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_TextureShape + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_SingleChannelComponent + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_MaxTextureSizeSet + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_CompressionQualitySet + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_TextureFormatSet + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.size + value: 5 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[0].m_BuildTarget + value: DefaultTexturePlatform + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[0].m_MaxTextureSize + value: 8192 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[0].m_ResizeAlgorithm + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[0].m_TextureFormat + value: -1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[0].m_TextureCompression + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[0].m_CompressionQuality + value: 50 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[0].m_CrunchedCompression + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[0].m_AllowsAlphaSplitting + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[0].m_Overridden + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[0].m_AndroidETC2FallbackOverride + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[1].m_BuildTarget + value: Standalone + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[1].m_MaxTextureSize + value: 8192 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[1].m_ResizeAlgorithm + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[1].m_TextureFormat + value: -1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[1].m_TextureCompression + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[1].m_CompressionQuality + value: 50 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[1].m_CrunchedCompression + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[1].m_AllowsAlphaSplitting + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[1].m_Overridden + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[1].m_AndroidETC2FallbackOverride + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[2].m_BuildTarget + value: iPhone + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[2].m_MaxTextureSize + value: 8192 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[2].m_ResizeAlgorithm + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[2].m_TextureFormat + value: -1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[2].m_TextureCompression + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[2].m_CompressionQuality + value: 50 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[2].m_CrunchedCompression + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[2].m_AllowsAlphaSplitting + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[2].m_Overridden + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[2].m_AndroidETC2FallbackOverride + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[3].m_BuildTarget + value: Android + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[3].m_MaxTextureSize + value: 8192 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[3].m_ResizeAlgorithm + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[3].m_TextureFormat + value: -1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[3].m_TextureCompression + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[3].m_CompressionQuality + value: 50 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[3].m_CrunchedCompression + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[3].m_AllowsAlphaSplitting + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[3].m_Overridden + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[3].m_AndroidETC2FallbackOverride + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[4].m_BuildTarget + value: Windows Store Apps + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[4].m_MaxTextureSize + value: 8192 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[4].m_ResizeAlgorithm + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[4].m_TextureFormat + value: -1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[4].m_TextureCompression + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[4].m_CompressionQuality + value: 50 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[4].m_CrunchedCompression + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[4].m_AllowsAlphaSplitting + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[4].m_Overridden + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[4].m_AndroidETC2FallbackOverride + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_SpriteSheet.m_Sprites.Array.size + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_SpriteSheet.m_Outline.Array.size + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_SpriteSheet.m_PhysicsShape.Array.size + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_SpriteSheet.m_Bones.Array.size + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_SpriteSheet.m_SpriteID + value: + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_SpriteSheet.m_Vertices.Array.size + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_SpriteSheet.m_Indices.Array.size + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_SpriteSheet.m_Edges.Array.size + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_SpriteSheet.m_Weights.Array.size + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_SpritePackingTag + value: + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PSDRemoveMatte + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PSDShowRemoveMatteOption + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_UserData + value: + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_AssetBundleName + value: + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_AssetBundleVariant + value: + objectReference: {fileID: 0} diff --git a/TestRosTcpConnector/Assets/Presets/NormalTexture.preset.meta b/TestRosTcpConnector/Assets/Presets/NormalTexture.preset.meta new file mode 100644 index 00000000..33fcecf5 --- /dev/null +++ b/TestRosTcpConnector/Assets/Presets/NormalTexture.preset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 14a57cf3b9fa1c74b884aa7e0dcf1faa +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 2655988077585873504 + userData: + assetBundleName: + assetBundleVariant: diff --git a/TestRosTcpConnector/Assets/Presets/UtilityTexture.preset b/TestRosTcpConnector/Assets/Presets/UtilityTexture.preset new file mode 100644 index 00000000..1a9d3986 --- /dev/null +++ b/TestRosTcpConnector/Assets/Presets/UtilityTexture.preset @@ -0,0 +1,497 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!181963792 &2655988077585873504 +Preset: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: UtilityTexture + m_TargetType: + m_NativeTypeID: 1006 + m_ManagedTypePPtr: {fileID: 0} + m_ManagedTypeFallback: + m_Properties: + - target: {fileID: 0} + propertyPath: m_FileIDToRecycleName.Array.size + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_ExternalObjects.Array.size + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_MipMapMode + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_EnableMipMap + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_sRGBTexture + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_LinearTexture + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_FadeOut + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_BorderMipMap + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_MipMapsPreserveCoverage + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_AlphaTestReferenceValue + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_MipMapFadeDistanceStart + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_MipMapFadeDistanceEnd + value: 3 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_ConvertToNormalMap + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_ExternalNormalMap + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_HeightScale + value: 0.25 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_NormalMapFilter + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_IsReadable + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_StreamingMipmaps + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_StreamingMipmapsPriority + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_GrayScaleToAlpha + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_GenerateCubemap + value: 6 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_CubemapConvolution + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_SeamlessCubemap + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_TextureFormat + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_MaxTextureSize + value: 2048 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_TextureSettings.m_FilterMode + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_TextureSettings.m_Aniso + value: -1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_TextureSettings.m_MipBias + value: -1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_TextureSettings.m_WrapU + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_TextureSettings.m_WrapV + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_TextureSettings.m_WrapW + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_NPOTScale + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_Lightmap + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_CompressionQuality + value: 50 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_SpriteMode + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_SpriteExtrude + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_SpriteMeshType + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_Alignment + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_SpritePivot.x + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_SpritePivot.y + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_SpritePixelsToUnits + value: 100 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_SpriteBorder.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_SpriteBorder.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_SpriteBorder.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_SpriteBorder.w + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_SpriteGenerateFallbackPhysicsShape + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_AlphaUsage + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_AlphaIsTransparency + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_SpriteTessellationDetail + value: -1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_TextureType + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_TextureShape + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_SingleChannelComponent + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_MaxTextureSizeSet + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_CompressionQualitySet + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_TextureFormatSet + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.size + value: 5 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[0].m_BuildTarget + value: DefaultTexturePlatform + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[0].m_MaxTextureSize + value: 8192 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[0].m_ResizeAlgorithm + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[0].m_TextureFormat + value: -1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[0].m_TextureCompression + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[0].m_CompressionQuality + value: 50 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[0].m_CrunchedCompression + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[0].m_AllowsAlphaSplitting + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[0].m_Overridden + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[0].m_AndroidETC2FallbackOverride + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[1].m_BuildTarget + value: Standalone + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[1].m_MaxTextureSize + value: 8192 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[1].m_ResizeAlgorithm + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[1].m_TextureFormat + value: -1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[1].m_TextureCompression + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[1].m_CompressionQuality + value: 50 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[1].m_CrunchedCompression + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[1].m_AllowsAlphaSplitting + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[1].m_Overridden + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[1].m_AndroidETC2FallbackOverride + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[2].m_BuildTarget + value: iPhone + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[2].m_MaxTextureSize + value: 8192 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[2].m_ResizeAlgorithm + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[2].m_TextureFormat + value: -1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[2].m_TextureCompression + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[2].m_CompressionQuality + value: 50 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[2].m_CrunchedCompression + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[2].m_AllowsAlphaSplitting + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[2].m_Overridden + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[2].m_AndroidETC2FallbackOverride + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[3].m_BuildTarget + value: Android + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[3].m_MaxTextureSize + value: 8192 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[3].m_ResizeAlgorithm + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[3].m_TextureFormat + value: -1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[3].m_TextureCompression + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[3].m_CompressionQuality + value: 50 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[3].m_CrunchedCompression + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[3].m_AllowsAlphaSplitting + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[3].m_Overridden + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[3].m_AndroidETC2FallbackOverride + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[4].m_BuildTarget + value: Windows Store Apps + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[4].m_MaxTextureSize + value: 8192 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[4].m_ResizeAlgorithm + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[4].m_TextureFormat + value: -1 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[4].m_TextureCompression + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[4].m_CompressionQuality + value: 50 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[4].m_CrunchedCompression + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[4].m_AllowsAlphaSplitting + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[4].m_Overridden + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PlatformSettings.Array.data[4].m_AndroidETC2FallbackOverride + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_SpriteSheet.m_Sprites.Array.size + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_SpriteSheet.m_Outline.Array.size + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_SpriteSheet.m_PhysicsShape.Array.size + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_SpriteSheet.m_Bones.Array.size + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_SpriteSheet.m_SpriteID + value: + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_SpriteSheet.m_Vertices.Array.size + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_SpriteSheet.m_Indices.Array.size + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_SpriteSheet.m_Edges.Array.size + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_SpriteSheet.m_Weights.Array.size + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_SpritePackingTag + value: + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PSDRemoveMatte + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_PSDShowRemoveMatteOption + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_UserData + value: + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_AssetBundleName + value: + objectReference: {fileID: 0} + - target: {fileID: 0} + propertyPath: m_AssetBundleVariant + value: + objectReference: {fileID: 0} diff --git a/TestRosTcpConnector/Assets/Presets/UtilityTexture.preset.meta b/TestRosTcpConnector/Assets/Presets/UtilityTexture.preset.meta new file mode 100644 index 00000000..a11d2e93 --- /dev/null +++ b/TestRosTcpConnector/Assets/Presets/UtilityTexture.preset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 45f7b2e3c78185248b3adbb14429c2ab +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 2655988077585873504 + userData: + assetBundleName: + assetBundleVariant: diff --git a/TestRosTcpConnector/Assets/Readme.asset b/TestRosTcpConnector/Assets/Readme.asset new file mode 100644 index 00000000..4310d244 --- /dev/null +++ b/TestRosTcpConnector/Assets/Readme.asset @@ -0,0 +1,50 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &11400000 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fcf7219bab7fe46a1ad266029b2fee19, type: 3} + m_Name: Readme + m_EditorClassIdentifier: + icon: {fileID: 2800000, guid: 7801804018a7dcf42abb827444e18660, type: 3} + title: Universal Render Pipeline Template + sections: + - heading: Universal Render Pipeline + text: 'The Universal Project Template configures Project settings for Projects where performance, wide platform support, and ease of customizing graphics are the primary considerations.' + linkText: + url: + - heading: + text: 'This Template uses the Universal Render Pipeline (URP) and Shader Graph.' + linkText: + url: + - heading: + text: 'URP is prebuilt Scriptable Render Pipeline that is quick and easy to customize, and lets you create optimized graphics across a wide range of platforms. URP also includes an optimized 2D renderer complete with 2D lights and pixel perfect rendering, and an integrated post-processing solution.' + linkText: + url: + - heading: + text: 'Shader Graph is a tool that allows you to create shaders using a visual node editor instead of writing code.' + linkText: + url: + - heading: + text: 'This template contains a sample Scene that contains examples of how to configure lighting settings, Materials, Shaders, and post-processing effects in URP, several preconfigured Universal Render Pipeline Assets that let you quickly swap between graphics quality levels, and Presets that have been optimized for use with URP.' + linkText: + url: + - heading: + text: 'This template contains a sample Scene that contains examples of how to configure lighting settings, Materials, Shaders, and post-processing effects in URP, several preconfigured Universal Render Pipeline Assets that let you quickly swap between graphics quality levels, and Presets that have been optimized for use with URP.' + linkText: + url: + - heading: + text: 'To read more about URP and its built-in features, see the ' + linkText: URP documentation. + url: https://docs.unity3d.com/Packages/com.unity.render-pipelines.universal@latest/index.html + - heading: + text: 'For more information about Shader Graph, see the ' + linkText: Shader Graph documentation + url: https://docs.unity3d.com/Packages/com.unity.shadergraph@latest + loadedLayout: 1 diff --git a/TestRosTcpConnector/Assets/Readme.asset.meta b/TestRosTcpConnector/Assets/Readme.asset.meta new file mode 100644 index 00000000..0f2df39e --- /dev/null +++ b/TestRosTcpConnector/Assets/Readme.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 83c2ed844a8c74b779a4c823d16594b1 +timeCreated: 1484217493 +licenseType: Store +NativeFormatImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/TestRosTcpConnector/Assets/Scenes.meta b/TestRosTcpConnector/Assets/Scenes.meta new file mode 100644 index 00000000..dafc3b24 --- /dev/null +++ b/TestRosTcpConnector/Assets/Scenes.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 9bfa9347527fc42eea2b5c2e72c039c8 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/TestRosTcpConnector/Assets/Scenes/SampleScene.unity b/TestRosTcpConnector/Assets/Scenes/SampleScene.unity new file mode 100644 index 00000000..6bd02790 --- /dev/null +++ b/TestRosTcpConnector/Assets/Scenes/SampleScene.unity @@ -0,0 +1,125 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!29 &1 +OcclusionCullingSettings: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_OcclusionBakeSettings: + smallestOccluder: 5 + smallestHole: 0.25 + backfaceThreshold: 100 + m_SceneGUID: 00000000000000000000000000000000 + m_OcclusionCullingData: {fileID: 0} +--- !u!104 &2 +RenderSettings: + m_ObjectHideFlags: 0 + serializedVersion: 9 + m_Fog: 1 + m_FogColor: {r: 0.65080994, g: 0.666729, b: 0.7075472, a: 1} + m_FogMode: 3 + m_FogDensity: 0.05 + m_LinearFogStart: 0 + m_LinearFogEnd: 300 + m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1} + m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1} + m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1} + m_AmbientIntensity: 1 + m_AmbientMode: 0 + m_SubtractiveShadowColor: {r: 0.13296545, g: 0.19145328, b: 0.33962262, a: 1} + m_SkyboxMaterial: {fileID: 2100000, guid: 0ffaa0b7117ba8c47a9d05ae701d4b4d, type: 2} + m_HaloStrength: 0.5 + m_FlareStrength: 1 + m_FlareFadeSpeed: 3 + m_HaloTexture: {fileID: 0} + m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0} + m_DefaultReflectionMode: 0 + m_DefaultReflectionResolution: 128 + m_ReflectionBounces: 1 + m_ReflectionIntensity: 1 + m_CustomReflection: {fileID: 0} + m_Sun: {fileID: 0} + m_IndirectSpecularColor: {r: 0.28502658, g: 0.37139314, b: 0.49600917, a: 1} + m_UseRadianceAmbientProbe: 0 +--- !u!157 &3 +LightmapSettings: + m_ObjectHideFlags: 0 + serializedVersion: 12 + m_GIWorkflowMode: 0 + m_GISettings: + serializedVersion: 2 + m_BounceScale: 1 + m_IndirectOutputScale: 1 + m_AlbedoBoost: 1 + m_EnvironmentLightingMode: 1 + m_EnableBakedLightmaps: 1 + m_EnableRealtimeLightmaps: 0 + m_LightmapEditorSettings: + serializedVersion: 12 + m_Resolution: 2 + m_BakeResolution: 32 + m_AtlasSize: 512 + m_AO: 1 + m_AOMaxDistance: 1 + m_CompAOExponent: 1 + m_CompAOExponentDirect: 0.3 + m_ExtractAmbientOcclusion: 0 + m_Padding: 2 + m_LightmapParameters: {fileID: 0} + m_LightmapsBakeMode: 0 + m_TextureCompression: 1 + m_FinalGather: 0 + m_FinalGatherFiltering: 1 + m_FinalGatherRayCount: 256 + m_ReflectionCompression: 2 + m_MixedBakeMode: 1 + m_BakeBackend: 1 + m_PVRSampling: 1 + m_PVRDirectSampleCount: 32 + m_PVRSampleCount: 256 + m_PVRBounces: 2 + m_PVREnvironmentSampleCount: 256 + m_PVREnvironmentReferencePointCount: 2048 + m_PVRFilteringMode: 2 + m_PVRDenoiserTypeDirect: 0 + m_PVRDenoiserTypeIndirect: 0 + m_PVRDenoiserTypeAO: 0 + m_PVRFilterTypeDirect: 0 + m_PVRFilterTypeIndirect: 0 + m_PVRFilterTypeAO: 0 + m_PVREnvironmentMIS: 0 + m_PVRCulling: 1 + m_PVRFilteringGaussRadiusDirect: 1 + m_PVRFilteringGaussRadiusIndirect: 5 + m_PVRFilteringGaussRadiusAO: 2 + m_PVRFilteringAtrousPositionSigmaDirect: 0.548 + m_PVRFilteringAtrousPositionSigmaIndirect: 2 + m_PVRFilteringAtrousPositionSigmaAO: 1 + m_ExportTrainingData: 0 + m_TrainingDataDestination: TrainingData + m_LightProbeSampleCountMultiplier: 4 + m_LightingDataAsset: {fileID: 0} + m_LightingSettings: {fileID: 4890085278179872738, guid: 477cc4148fad3449482a3bc3178594e2, type: 2} +--- !u!196 &4 +NavMeshSettings: + serializedVersion: 2 + m_ObjectHideFlags: 0 + m_BuildSettings: + serializedVersion: 2 + agentTypeID: 0 + agentRadius: 0.5 + agentHeight: 2 + agentSlope: 45 + agentClimb: 0.4 + ledgeDropHeight: 0 + maxJumpAcrossDistance: 0 + minRegionArea: 2 + manualCellSize: 0 + cellSize: 0.16666667 + manualTileSize: 0 + tileSize: 256 + accuratePlacement: 0 + maxJobWorkers: 0 + preserveTilesOutsideBounds: 0 + debug: + m_Flags: 0 + m_NavMeshData: {fileID: 0} diff --git a/LICENSE.meta b/TestRosTcpConnector/Assets/Scenes/SampleScene.unity.meta similarity index 74% rename from LICENSE.meta rename to TestRosTcpConnector/Assets/Scenes/SampleScene.unity.meta index d5200f34..49be5f93 100644 --- a/LICENSE.meta +++ b/TestRosTcpConnector/Assets/Scenes/SampleScene.unity.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: 6721b578e849c5342b921e2369877c7e +guid: d1c3109bdb54ad54c8a2b2838528e640 DefaultImporter: externalObjects: {} userData: diff --git a/TestRosTcpConnector/Assets/Scenes/SampleSceneLightingSettings.lighting b/TestRosTcpConnector/Assets/Scenes/SampleSceneLightingSettings.lighting new file mode 100644 index 00000000..63cb7d9d --- /dev/null +++ b/TestRosTcpConnector/Assets/Scenes/SampleSceneLightingSettings.lighting @@ -0,0 +1,63 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!850595691 &4890085278179872738 +LightingSettings: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: SampleSceneLightingSettings + serializedVersion: 2 + m_GIWorkflowMode: 0 + m_EnableBakedLightmaps: 1 + m_EnableRealtimeLightmaps: 0 + m_RealtimeEnvironmentLighting: 0 + m_BounceScale: 1 + m_AlbedoBoost: 1 + m_IndirectOutputScale: 1 + m_UsingShadowmask: 0 + m_BakeBackend: 1 + m_LightmapMaxSize: 512 + m_BakeResolution: 32 + m_Padding: 2 + m_TextureCompression: 1 + m_AO: 1 + m_AOMaxDistance: 1 + m_CompAOExponent: 1 + m_CompAOExponentDirect: 0.3 + m_ExtractAO: 0 + m_MixedBakeMode: 0 + m_LightmapsBakeMode: 1 + m_FilterMode: 1 + m_LightmapParameters: {fileID: 0} + m_ExportTrainingData: 0 + m_TrainingDataDestination: TrainingData + m_RealtimeResolution: 2 + m_ForceWhiteAlbedo: 0 + m_ForceUpdates: 0 + m_FinalGather: 0 + m_FinalGatherRayCount: 256 + m_FinalGatherFiltering: 1 + m_PVRCulling: 1 + m_PVRSampling: 1 + m_PVRDirectSampleCount: 32 + m_PVRSampleCount: 256 + m_PVREnvironmentSampleCount: 256 + m_PVREnvironmentReferencePointCount: 2048 + m_LightProbeSampleCountMultiplier: 4 + m_PVRBounces: 2 + m_PVRRussianRouletteStartBounce: 2 + m_PVREnvironmentMIS: 0 + m_PVRFilteringMode: 1 + m_PVRDenoiserTypeDirect: 0 + m_PVRDenoiserTypeIndirect: 0 + m_PVRDenoiserTypeAO: 0 + m_PVRFilterTypeDirect: 0 + m_PVRFilterTypeIndirect: 0 + m_PVRFilterTypeAO: 0 + m_PVRFilteringGaussRadiusDirect: 1 + m_PVRFilteringGaussRadiusIndirect: 5 + m_PVRFilteringGaussRadiusAO: 2 + m_PVRFilteringAtrousPositionSigmaDirect: 0.548 + m_PVRFilteringAtrousPositionSigmaIndirect: 2 + m_PVRFilteringAtrousPositionSigmaAO: 1 diff --git a/TestRosTcpConnector/Assets/Scenes/SampleSceneLightingSettings.lighting.meta b/TestRosTcpConnector/Assets/Scenes/SampleSceneLightingSettings.lighting.meta new file mode 100644 index 00000000..8ddc05b7 --- /dev/null +++ b/TestRosTcpConnector/Assets/Scenes/SampleSceneLightingSettings.lighting.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 477cc4148fad3449482a3bc3178594e2 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/TestRosTcpConnector/Assets/Settings.meta b/TestRosTcpConnector/Assets/Settings.meta new file mode 100644 index 00000000..8e9f13c8 --- /dev/null +++ b/TestRosTcpConnector/Assets/Settings.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 0735c275001a2c84dafdb30deced5d8d +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/TestRosTcpConnector/Assets/Settings/ForwardRenderer.asset b/TestRosTcpConnector/Assets/Settings/ForwardRenderer.asset new file mode 100644 index 00000000..53fa2c4f --- /dev/null +++ b/TestRosTcpConnector/Assets/Settings/ForwardRenderer.asset @@ -0,0 +1,38 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &11400000 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: de640fe3d0db1804a85f9fc8f5cadab6, type: 3} + m_Name: ForwardRenderer + m_EditorClassIdentifier: + m_RendererFeatures: [] + m_RendererFeatureMap: + postProcessData: {fileID: 11400000, guid: 41439944d30ece34e96484bdb6645b55, type: 2} + xrSystemData: {fileID: 11400000, guid: 60e1133243b97e347b653163a8c01b64, type: 2} + shaders: + blitPS: {fileID: 4800000, guid: c17132b1f77d20942aa75f8429c0f8bc, type: 3} + copyDepthPS: {fileID: 4800000, guid: d6dae50ee9e1bfa4db75f19f99355220, type: 3} + screenSpaceShadowPS: {fileID: 4800000, guid: 0f854b35a0cf61a429bd5dcfea30eddd, type: 3} + samplingPS: {fileID: 4800000, guid: 04c410c9937594faa893a11dceb85f7e, type: 3} + fallbackErrorPS: {fileID: 4800000, guid: e6e9a19c3678ded42a3bc431ebef7dbd, type: 3} + m_OpaqueLayerMask: + serializedVersion: 2 + m_Bits: 4294967295 + m_TransparentLayerMask: + serializedVersion: 2 + m_Bits: 4294967295 + m_DefaultStencilState: + overrideStencilState: 0 + stencilReference: 0 + stencilCompareFunction: 8 + passOperation: 0 + failOperation: 0 + zFailOperation: 0 + m_ShadowTransparentReceive: 1 diff --git a/TestRosTcpConnector/Assets/Settings/ForwardRenderer.asset.meta b/TestRosTcpConnector/Assets/Settings/ForwardRenderer.asset.meta new file mode 100644 index 00000000..06d9cabc --- /dev/null +++ b/TestRosTcpConnector/Assets/Settings/ForwardRenderer.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 4a8e21d5c33334b11b34a596161b9360 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/TestRosTcpConnector/Assets/Settings/SampleSceneProfile.asset b/TestRosTcpConnector/Assets/Settings/SampleSceneProfile.asset new file mode 100644 index 00000000..cbc629b5 --- /dev/null +++ b/TestRosTcpConnector/Assets/Settings/SampleSceneProfile.asset @@ -0,0 +1,118 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &-7893295128165547882 +MonoBehaviour: + m_ObjectHideFlags: 3 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 0b2db86121404754db890f4c8dfe81b2, type: 3} + m_Name: Bloom + m_EditorClassIdentifier: + active: 1 + m_AdvancedMode: 0 + threshold: + m_OverrideState: 1 + m_Value: 1 + min: 0 + intensity: + m_OverrideState: 1 + m_Value: 1 + min: 0 + scatter: + m_OverrideState: 0 + m_Value: 0.7 + min: 0 + max: 1 + clamp: + m_OverrideState: 0 + m_Value: 65472 + min: 0 + tint: + m_OverrideState: 0 + m_Value: {r: 1, g: 1, b: 1, a: 1} + hdr: 0 + showAlpha: 0 + showEyeDropper: 1 + highQualityFiltering: + m_OverrideState: 0 + m_Value: 0 + dirtTexture: + m_OverrideState: 0 + m_Value: {fileID: 0} + dirtIntensity: + m_OverrideState: 0 + m_Value: 0 + min: 0 +--- !u!114 &-7011558710299706105 +MonoBehaviour: + m_ObjectHideFlags: 3 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 899c54efeace73346a0a16faa3afe726, type: 3} + m_Name: Vignette + m_EditorClassIdentifier: + active: 1 + m_AdvancedMode: 0 + color: + m_OverrideState: 0 + m_Value: {r: 0, g: 0, b: 0, a: 1} + hdr: 0 + showAlpha: 0 + showEyeDropper: 1 + center: + m_OverrideState: 0 + m_Value: {x: 0.5, y: 0.5} + intensity: + m_OverrideState: 1 + m_Value: 0.25 + min: 0 + max: 1 + smoothness: + m_OverrideState: 1 + m_Value: 0.4 + min: 0.01 + max: 1 + rounded: + m_OverrideState: 0 + m_Value: 0 +--- !u!114 &11400000 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: d7fd9488000d3734a9e00ee676215985, type: 3} + m_Name: SampleSceneProfile + m_EditorClassIdentifier: + components: + - {fileID: 849379129802519247} + - {fileID: -7893295128165547882} + - {fileID: -7011558710299706105} +--- !u!114 &849379129802519247 +MonoBehaviour: + m_ObjectHideFlags: 3 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 97c23e3b12dc18c42a140437e53d3951, type: 3} + m_Name: Tonemapping + m_EditorClassIdentifier: + active: 1 + m_AdvancedMode: 0 + mode: + m_OverrideState: 1 + m_Value: 2 diff --git a/TestRosTcpConnector/Assets/Settings/SampleSceneProfile.asset.meta b/TestRosTcpConnector/Assets/Settings/SampleSceneProfile.asset.meta new file mode 100644 index 00000000..b82270c5 --- /dev/null +++ b/TestRosTcpConnector/Assets/Settings/SampleSceneProfile.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 10fc4df2da32a41aaa32d77bc913491c +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/TestRosTcpConnector/Assets/Settings/UniversalRP-HighQuality.asset b/TestRosTcpConnector/Assets/Settings/UniversalRP-HighQuality.asset new file mode 100644 index 00000000..2ac23c8b --- /dev/null +++ b/TestRosTcpConnector/Assets/Settings/UniversalRP-HighQuality.asset @@ -0,0 +1,53 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &11400000 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: bf2edee5c58d82540a51f03df9d42094, type: 3} + m_Name: UniversalRP-HighQuality + m_EditorClassIdentifier: + k_AssetVersion: 5 + k_AssetPreviousVersion: 5 + m_RendererType: 1 + m_RendererData: {fileID: 0} + m_RendererDataList: + - {fileID: 11400000, guid: 4a8e21d5c33334b11b34a596161b9360, type: 2} + m_DefaultRendererIndex: 0 + m_RequireDepthTexture: 0 + m_RequireOpaqueTexture: 0 + m_OpaqueDownsampling: 1 + m_SupportsHDR: 1 + m_MSAA: 2 + m_RenderScale: 1 + m_MainLightRenderingMode: 1 + m_MainLightShadowsSupported: 1 + m_MainLightShadowmapResolution: 2048 + m_AdditionalLightsRenderingMode: 1 + m_AdditionalLightsPerObjectLimit: 4 + m_AdditionalLightShadowsSupported: 1 + m_AdditionalLightsShadowmapResolution: 512 + m_ShadowDistance: 50 + m_ShadowCascades: 1 + m_Cascade2Split: 0.25 + m_Cascade4Split: {x: 0.067, y: 0.2, z: 0.467} + m_ShadowDepthBias: 1 + m_ShadowNormalBias: 1 + m_SoftShadowsSupported: 1 + m_UseSRPBatcher: 1 + m_SupportsDynamicBatching: 0 + m_MixedLightingSupported: 1 + m_DebugLevel: 0 + m_ColorGradingMode: 0 + m_ColorGradingLutSize: 32 + m_ShadowType: 1 + m_LocalShadowsSupported: 0 + m_LocalShadowsAtlasResolution: 256 + m_MaxPixelLights: 0 + m_ShadowAtlasResolution: 256 + m_ShaderVariantLogLevel: 0 diff --git a/TestRosTcpConnector/Assets/Settings/UniversalRP-HighQuality.asset.meta b/TestRosTcpConnector/Assets/Settings/UniversalRP-HighQuality.asset.meta new file mode 100644 index 00000000..c8fa3175 --- /dev/null +++ b/TestRosTcpConnector/Assets/Settings/UniversalRP-HighQuality.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 19ba41d7c0026c3459d37c2fe90c55a0 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/TestRosTcpConnector/Assets/Settings/UniversalRP-LowQuality.asset b/TestRosTcpConnector/Assets/Settings/UniversalRP-LowQuality.asset new file mode 100644 index 00000000..ab81d03f --- /dev/null +++ b/TestRosTcpConnector/Assets/Settings/UniversalRP-LowQuality.asset @@ -0,0 +1,53 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &11400000 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: bf2edee5c58d82540a51f03df9d42094, type: 3} + m_Name: UniversalRP-LowQuality + m_EditorClassIdentifier: + k_AssetVersion: 5 + k_AssetPreviousVersion: 5 + m_RendererType: 1 + m_RendererData: {fileID: 0} + m_RendererDataList: + - {fileID: 11400000, guid: 4a8e21d5c33334b11b34a596161b9360, type: 2} + m_DefaultRendererIndex: 0 + m_RequireDepthTexture: 0 + m_RequireOpaqueTexture: 0 + m_OpaqueDownsampling: 1 + m_SupportsHDR: 0 + m_MSAA: 1 + m_RenderScale: 1 + m_MainLightRenderingMode: 1 + m_MainLightShadowsSupported: 0 + m_MainLightShadowmapResolution: 2048 + m_AdditionalLightsRenderingMode: 0 + m_AdditionalLightsPerObjectLimit: 4 + m_AdditionalLightShadowsSupported: 0 + m_AdditionalLightsShadowmapResolution: 512 + m_ShadowDistance: 50 + m_ShadowCascades: 0 + m_Cascade2Split: 0.25 + m_Cascade4Split: {x: 0.067, y: 0.2, z: 0.467} + m_ShadowDepthBias: 1 + m_ShadowNormalBias: 1 + m_SoftShadowsSupported: 0 + m_UseSRPBatcher: 1 + m_SupportsDynamicBatching: 0 + m_MixedLightingSupported: 1 + m_DebugLevel: 0 + m_ColorGradingMode: 0 + m_ColorGradingLutSize: 16 + m_ShadowType: 1 + m_LocalShadowsSupported: 0 + m_LocalShadowsAtlasResolution: 256 + m_MaxPixelLights: 0 + m_ShadowAtlasResolution: 256 + m_ShaderVariantLogLevel: 0 diff --git a/TestRosTcpConnector/Assets/Settings/UniversalRP-LowQuality.asset.meta b/TestRosTcpConnector/Assets/Settings/UniversalRP-LowQuality.asset.meta new file mode 100644 index 00000000..040da39e --- /dev/null +++ b/TestRosTcpConnector/Assets/Settings/UniversalRP-LowQuality.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: a31e9f9f9c9d4b9429ed0d1234e22103 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/TestRosTcpConnector/Assets/Settings/UniversalRP-MediumQuality.asset b/TestRosTcpConnector/Assets/Settings/UniversalRP-MediumQuality.asset new file mode 100644 index 00000000..23de11bf --- /dev/null +++ b/TestRosTcpConnector/Assets/Settings/UniversalRP-MediumQuality.asset @@ -0,0 +1,53 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &11400000 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: bf2edee5c58d82540a51f03df9d42094, type: 3} + m_Name: UniversalRP-MediumQuality + m_EditorClassIdentifier: + k_AssetVersion: 5 + k_AssetPreviousVersion: 5 + m_RendererType: 1 + m_RendererData: {fileID: 0} + m_RendererDataList: + - {fileID: 11400000, guid: 4a8e21d5c33334b11b34a596161b9360, type: 2} + m_DefaultRendererIndex: 0 + m_RequireDepthTexture: 0 + m_RequireOpaqueTexture: 0 + m_OpaqueDownsampling: 1 + m_SupportsHDR: 0 + m_MSAA: 1 + m_RenderScale: 1 + m_MainLightRenderingMode: 1 + m_MainLightShadowsSupported: 1 + m_MainLightShadowmapResolution: 2048 + m_AdditionalLightsRenderingMode: 1 + m_AdditionalLightsPerObjectLimit: 4 + m_AdditionalLightShadowsSupported: 0 + m_AdditionalLightsShadowmapResolution: 512 + m_ShadowDistance: 50 + m_ShadowCascades: 0 + m_Cascade2Split: 0.25 + m_Cascade4Split: {x: 0.067, y: 0.2, z: 0.467} + m_ShadowDepthBias: 1 + m_ShadowNormalBias: 1 + m_SoftShadowsSupported: 0 + m_UseSRPBatcher: 1 + m_SupportsDynamicBatching: 0 + m_MixedLightingSupported: 1 + m_DebugLevel: 0 + m_ColorGradingMode: 0 + m_ColorGradingLutSize: 32 + m_ShadowType: 1 + m_LocalShadowsSupported: 0 + m_LocalShadowsAtlasResolution: 256 + m_MaxPixelLights: 0 + m_ShadowAtlasResolution: 256 + m_ShaderVariantLogLevel: 0 diff --git a/TestRosTcpConnector/Assets/Settings/UniversalRP-MediumQuality.asset.meta b/TestRosTcpConnector/Assets/Settings/UniversalRP-MediumQuality.asset.meta new file mode 100644 index 00000000..d8477b75 --- /dev/null +++ b/TestRosTcpConnector/Assets/Settings/UniversalRP-MediumQuality.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: d847b876476d3d6468f5dfcd34266f96 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/TestRosTcpConnector/Packages/manifest.json b/TestRosTcpConnector/Packages/manifest.json new file mode 100644 index 00000000..865f8ad0 --- /dev/null +++ b/TestRosTcpConnector/Packages/manifest.json @@ -0,0 +1,48 @@ +{ + "dependencies": { + "com.unity.collab-proxy": "1.3.9", + "com.unity.ide.rider": "2.0.7", + "com.unity.ide.visualstudio": "2.0.3", + "com.unity.ide.vscode": "1.2.2", + "com.unity.render-pipelines.universal": "10.0.0-preview.26", + "com.unity.robotics.ros-tcp-connector": "file:../../com.unity.robotics.ros-tcp-connector", + "com.unity.test-framework": "1.1.18", + "com.unity.textmeshpro": "3.0.1", + "com.unity.timeline": "1.4.3", + "com.unity.ugui": "1.0.0", + "com.unity.modules.ai": "1.0.0", + "com.unity.modules.androidjni": "1.0.0", + "com.unity.modules.animation": "1.0.0", + "com.unity.modules.assetbundle": "1.0.0", + "com.unity.modules.audio": "1.0.0", + "com.unity.modules.cloth": "1.0.0", + "com.unity.modules.director": "1.0.0", + "com.unity.modules.imageconversion": "1.0.0", + "com.unity.modules.imgui": "1.0.0", + "com.unity.modules.jsonserialize": "1.0.0", + "com.unity.modules.particlesystem": "1.0.0", + "com.unity.modules.physics": "1.0.0", + "com.unity.modules.physics2d": "1.0.0", + "com.unity.modules.screencapture": "1.0.0", + "com.unity.modules.terrain": "1.0.0", + "com.unity.modules.terrainphysics": "1.0.0", + "com.unity.modules.tilemap": "1.0.0", + "com.unity.modules.ui": "1.0.0", + "com.unity.modules.uielements": "1.0.0", + "com.unity.modules.umbra": "1.0.0", + "com.unity.modules.unityanalytics": "1.0.0", + "com.unity.modules.unitywebrequest": "1.0.0", + "com.unity.modules.unitywebrequestassetbundle": "1.0.0", + "com.unity.modules.unitywebrequestaudio": "1.0.0", + "com.unity.modules.unitywebrequesttexture": "1.0.0", + "com.unity.modules.unitywebrequestwww": "1.0.0", + "com.unity.modules.vehicles": "1.0.0", + "com.unity.modules.video": "1.0.0", + "com.unity.modules.vr": "1.0.0", + "com.unity.modules.wind": "1.0.0", + "com.unity.modules.xr": "1.0.0" + }, + "testables": [ + "com.unity.robotics.ros-tcp-connector" + ] +} diff --git a/TestRosTcpConnector/Packages/packages-lock.json b/TestRosTcpConnector/Packages/packages-lock.json new file mode 100644 index 00000000..baf25a5e --- /dev/null +++ b/TestRosTcpConnector/Packages/packages-lock.json @@ -0,0 +1,386 @@ +{ + "dependencies": { + "com.unity.collab-proxy": { + "version": "1.3.9", + "depth": 0, + "source": "registry", + "dependencies": {}, + "url": "https://packages.unity.com" + }, + "com.unity.ext.nunit": { + "version": "1.0.0", + "depth": 1, + "source": "registry", + "dependencies": {}, + "url": "https://packages.unity.com" + }, + "com.unity.ide.rider": { + "version": "2.0.7", + "depth": 0, + "source": "registry", + "dependencies": { + "com.unity.test-framework": "1.1.1" + }, + "url": "https://packages.unity.com" + }, + "com.unity.ide.visualstudio": { + "version": "2.0.3", + "depth": 0, + "source": "registry", + "dependencies": {}, + "url": "https://packages.unity.com" + }, + "com.unity.ide.vscode": { + "version": "1.2.2", + "depth": 0, + "source": "registry", + "dependencies": {}, + "url": "https://packages.unity.com" + }, + "com.unity.mathematics": { + "version": "1.1.0", + "depth": 1, + "source": "registry", + "dependencies": {}, + "url": "https://packages.unity.com" + }, + "com.unity.render-pipelines.core": { + "version": "10.0.0-preview.30", + "depth": 1, + "source": "registry", + "dependencies": { + "com.unity.ugui": "1.0.0" + }, + "url": "https://packages.unity.com" + }, + "com.unity.render-pipelines.universal": { + "version": "10.0.0-preview.26", + "depth": 0, + "source": "registry", + "dependencies": { + "com.unity.mathematics": "1.1.0", + "com.unity.render-pipelines.core": "10.0.0-preview.30", + "com.unity.shadergraph": "10.0.0-preview.27" + }, + "url": "https://packages.unity.com" + }, + "com.unity.robotics.ros-tcp-connector": { + "version": "file:../../com.unity.robotics.ros-tcp-connector", + "depth": 0, + "source": "local", + "dependencies": {} + }, + "com.unity.searcher": { + "version": "4.3.1", + "depth": 2, + "source": "registry", + "dependencies": {}, + "url": "https://packages.unity.com" + }, + "com.unity.shadergraph": { + "version": "10.0.0-preview.27", + "depth": 1, + "source": "registry", + "dependencies": { + "com.unity.render-pipelines.core": "10.0.0-preview.30", + "com.unity.searcher": "4.3.1" + }, + "url": "https://packages.unity.com" + }, + "com.unity.test-framework": { + "version": "1.1.18", + "depth": 0, + "source": "registry", + "dependencies": { + "com.unity.ext.nunit": "1.0.0", + "com.unity.modules.imgui": "1.0.0", + "com.unity.modules.jsonserialize": "1.0.0" + }, + "url": "https://packages.unity.com" + }, + "com.unity.textmeshpro": { + "version": "3.0.1", + "depth": 0, + "source": "registry", + "dependencies": { + "com.unity.ugui": "1.0.0" + }, + "url": "https://packages.unity.com" + }, + "com.unity.timeline": { + "version": "1.4.3", + "depth": 0, + "source": "registry", + "dependencies": { + "com.unity.modules.director": "1.0.0", + "com.unity.modules.animation": "1.0.0", + "com.unity.modules.audio": "1.0.0", + "com.unity.modules.particlesystem": "1.0.0" + }, + "url": "https://packages.unity.com" + }, + "com.unity.ugui": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": { + "com.unity.modules.ui": "1.0.0", + "com.unity.modules.imgui": "1.0.0" + } + }, + "com.unity.modules.ai": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": {} + }, + "com.unity.modules.androidjni": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": {} + }, + "com.unity.modules.animation": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": {} + }, + "com.unity.modules.assetbundle": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": {} + }, + "com.unity.modules.audio": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": {} + }, + "com.unity.modules.cloth": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": { + "com.unity.modules.physics": "1.0.0" + } + }, + "com.unity.modules.director": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": { + "com.unity.modules.audio": "1.0.0", + "com.unity.modules.animation": "1.0.0" + } + }, + "com.unity.modules.imageconversion": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": {} + }, + "com.unity.modules.imgui": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": {} + }, + "com.unity.modules.jsonserialize": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": {} + }, + "com.unity.modules.particlesystem": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": {} + }, + "com.unity.modules.physics": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": {} + }, + "com.unity.modules.physics2d": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": {} + }, + "com.unity.modules.screencapture": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": { + "com.unity.modules.imageconversion": "1.0.0" + } + }, + "com.unity.modules.subsystems": { + "version": "1.0.0", + "depth": 1, + "source": "builtin", + "dependencies": { + "com.unity.modules.jsonserialize": "1.0.0" + } + }, + "com.unity.modules.terrain": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": {} + }, + "com.unity.modules.terrainphysics": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": { + "com.unity.modules.physics": "1.0.0", + "com.unity.modules.terrain": "1.0.0" + } + }, + "com.unity.modules.tilemap": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": { + "com.unity.modules.physics2d": "1.0.0" + } + }, + "com.unity.modules.ui": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": {} + }, + "com.unity.modules.uielements": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": { + "com.unity.modules.ui": "1.0.0", + "com.unity.modules.imgui": "1.0.0", + "com.unity.modules.jsonserialize": "1.0.0", + "com.unity.modules.uielementsnative": "1.0.0" + } + }, + "com.unity.modules.uielementsnative": { + "version": "1.0.0", + "depth": 1, + "source": "builtin", + "dependencies": { + "com.unity.modules.ui": "1.0.0", + "com.unity.modules.imgui": "1.0.0", + "com.unity.modules.jsonserialize": "1.0.0" + } + }, + "com.unity.modules.umbra": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": {} + }, + "com.unity.modules.unityanalytics": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": { + "com.unity.modules.unitywebrequest": "1.0.0", + "com.unity.modules.jsonserialize": "1.0.0" + } + }, + "com.unity.modules.unitywebrequest": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": {} + }, + "com.unity.modules.unitywebrequestassetbundle": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": { + "com.unity.modules.assetbundle": "1.0.0", + "com.unity.modules.unitywebrequest": "1.0.0" + } + }, + "com.unity.modules.unitywebrequestaudio": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": { + "com.unity.modules.unitywebrequest": "1.0.0", + "com.unity.modules.audio": "1.0.0" + } + }, + "com.unity.modules.unitywebrequesttexture": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": { + "com.unity.modules.unitywebrequest": "1.0.0", + "com.unity.modules.imageconversion": "1.0.0" + } + }, + "com.unity.modules.unitywebrequestwww": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": { + "com.unity.modules.unitywebrequest": "1.0.0", + "com.unity.modules.unitywebrequestassetbundle": "1.0.0", + "com.unity.modules.unitywebrequestaudio": "1.0.0", + "com.unity.modules.audio": "1.0.0", + "com.unity.modules.assetbundle": "1.0.0", + "com.unity.modules.imageconversion": "1.0.0" + } + }, + "com.unity.modules.vehicles": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": { + "com.unity.modules.physics": "1.0.0" + } + }, + "com.unity.modules.video": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": { + "com.unity.modules.audio": "1.0.0", + "com.unity.modules.ui": "1.0.0", + "com.unity.modules.unitywebrequest": "1.0.0" + } + }, + "com.unity.modules.vr": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": { + "com.unity.modules.jsonserialize": "1.0.0", + "com.unity.modules.physics": "1.0.0", + "com.unity.modules.xr": "1.0.0" + } + }, + "com.unity.modules.wind": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": {} + }, + "com.unity.modules.xr": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": { + "com.unity.modules.physics": "1.0.0", + "com.unity.modules.jsonserialize": "1.0.0", + "com.unity.modules.subsystems": "1.0.0" + } + } + } +} diff --git a/TestRosTcpConnector/ProjectSettings/AudioManager.asset b/TestRosTcpConnector/ProjectSettings/AudioManager.asset new file mode 100644 index 00000000..ee048270 --- /dev/null +++ b/TestRosTcpConnector/ProjectSettings/AudioManager.asset @@ -0,0 +1,19 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!11 &1 +AudioManager: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Volume: 1 + Rolloff Scale: 1 + Doppler Factor: 1 + Default Speaker Mode: 2 + m_SampleRate: 0 + m_DSPBufferSize: 1024 + m_VirtualVoiceCount: 512 + m_RealVoiceCount: 32 + m_SpatializerPlugin: + m_AmbisonicDecoderPlugin: + m_DisableAudio: 1 + m_VirtualizeEffects: 1 + m_RequestedDSPBufferSize: 0 diff --git a/TestRosTcpConnector/ProjectSettings/ClusterInputManager.asset b/TestRosTcpConnector/ProjectSettings/ClusterInputManager.asset new file mode 100644 index 00000000..e7886b26 --- /dev/null +++ b/TestRosTcpConnector/ProjectSettings/ClusterInputManager.asset @@ -0,0 +1,6 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!236 &1 +ClusterInputManager: + m_ObjectHideFlags: 0 + m_Inputs: [] diff --git a/TestRosTcpConnector/ProjectSettings/DynamicsManager.asset b/TestRosTcpConnector/ProjectSettings/DynamicsManager.asset new file mode 100644 index 00000000..5d5bacb2 --- /dev/null +++ b/TestRosTcpConnector/ProjectSettings/DynamicsManager.asset @@ -0,0 +1,36 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!55 &1 +PhysicsManager: + m_ObjectHideFlags: 0 + serializedVersion: 13 + m_Gravity: {x: 0, y: -9.81, z: 0} + m_DefaultMaterial: {fileID: 0} + m_BounceThreshold: 2 + m_SleepThreshold: 0.005 + m_DefaultContactOffset: 0.01 + m_DefaultSolverIterations: 6 + m_DefaultSolverVelocityIterations: 1 + m_QueriesHitBackfaces: 0 + m_QueriesHitTriggers: 1 + m_EnableAdaptiveForce: 0 + m_ClothInterCollisionDistance: 0.1 + m_ClothInterCollisionStiffness: 0.2 + m_ContactsGeneration: 1 + m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff + m_AutoSimulation: 1 + m_AutoSyncTransforms: 0 + m_ReuseCollisionCallbacks: 1 + m_ClothInterCollisionSettingsToggle: 0 + m_ClothGravity: {x: 0, y: -9.81, z: 0} + m_ContactPairsMode: 0 + m_BroadphaseType: 0 + m_WorldBounds: + m_Center: {x: 0, y: 0, z: 0} + m_Extent: {x: 250, y: 250, z: 250} + m_WorldSubdivisions: 8 + m_FrictionType: 0 + m_EnableEnhancedDeterminism: 0 + m_EnableUnifiedHeightmaps: 1 + m_SolverType: 0 + m_DefaultMaxAngularSpeed: 7 diff --git a/TestRosTcpConnector/ProjectSettings/EditorBuildSettings.asset b/TestRosTcpConnector/ProjectSettings/EditorBuildSettings.asset new file mode 100644 index 00000000..2a4cbc56 --- /dev/null +++ b/TestRosTcpConnector/ProjectSettings/EditorBuildSettings.asset @@ -0,0 +1,11 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1045 &1 +EditorBuildSettings: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Scenes: + - enabled: 1 + path: Assets/Scenes/SampleScene.unity + guid: d1c3109bdb54ad54c8a2b2838528e640 + m_configObjects: {} diff --git a/TestRosTcpConnector/ProjectSettings/EditorSettings.asset b/TestRosTcpConnector/ProjectSettings/EditorSettings.asset new file mode 100644 index 00000000..05db6c81 --- /dev/null +++ b/TestRosTcpConnector/ProjectSettings/EditorSettings.asset @@ -0,0 +1,31 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!159 &1 +EditorSettings: + m_AssetPipelineMode: 1 + m_ObjectHideFlags: 0 + serializedVersion: 10 + m_ExternalVersionControlSupport: Visible Meta Files + m_SerializationMode: 2 + m_LineEndingsForNewScripts: 0 + m_DefaultBehaviorMode: 0 + m_PrefabRegularEnvironment: {fileID: 0} + m_PrefabUIEnvironment: {fileID: 0} + m_SpritePackerMode: 0 + m_SpritePackerPaddingPower: 1 + m_EtcTextureCompressorBehavior: 1 + m_EtcTextureFastCompressor: 1 + m_EtcTextureNormalCompressor: 2 + m_EtcTextureBestCompressor: 4 + m_ProjectGenerationIncludedExtensions: txt;xml;fnt;cd;asmdef;asmref;rsp + m_ProjectGenerationRootNamespace: + m_CollabEditorSettings: + inProgressEnabled: 1 + m_EnableTextureStreamingInEditMode: 1 + m_EnableTextureStreamingInPlayMode: 1 + m_AsyncShaderCompilation: 1 + m_EnterPlayModeOptionsEnabled: 0 + m_EnterPlayModeOptions: 3 + m_ShowLightmapResolutionOverlay: 1 + m_UseLegacyProbeSampleCount: 0 + m_SerializeInlineMappingsOnOneLine: 1 diff --git a/TestRosTcpConnector/ProjectSettings/GraphicsSettings.asset b/TestRosTcpConnector/ProjectSettings/GraphicsSettings.asset new file mode 100644 index 00000000..db10dd6d --- /dev/null +++ b/TestRosTcpConnector/ProjectSettings/GraphicsSettings.asset @@ -0,0 +1,68 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!30 &1 +GraphicsSettings: + m_ObjectHideFlags: 0 + serializedVersion: 13 + m_Deferred: + m_Mode: 1 + m_Shader: {fileID: 69, guid: 0000000000000000f000000000000000, type: 0} + m_DeferredReflections: + m_Mode: 1 + m_Shader: {fileID: 74, guid: 0000000000000000f000000000000000, type: 0} + m_ScreenSpaceShadows: + m_Mode: 1 + m_Shader: {fileID: 64, guid: 0000000000000000f000000000000000, type: 0} + m_LegacyDeferred: + m_Mode: 1 + m_Shader: {fileID: 63, guid: 0000000000000000f000000000000000, type: 0} + m_DepthNormals: + m_Mode: 1 + m_Shader: {fileID: 62, guid: 0000000000000000f000000000000000, type: 0} + m_MotionVectors: + m_Mode: 1 + m_Shader: {fileID: 75, guid: 0000000000000000f000000000000000, type: 0} + m_LightHalo: + m_Mode: 1 + m_Shader: {fileID: 105, guid: 0000000000000000f000000000000000, type: 0} + m_LensFlare: + m_Mode: 1 + m_Shader: {fileID: 102, guid: 0000000000000000f000000000000000, type: 0} + m_AlwaysIncludedShaders: + - {fileID: 7, guid: 0000000000000000f000000000000000, type: 0} + - {fileID: 15104, guid: 0000000000000000f000000000000000, type: 0} + - {fileID: 15105, guid: 0000000000000000f000000000000000, type: 0} + - {fileID: 15106, guid: 0000000000000000f000000000000000, type: 0} + - {fileID: 10753, guid: 0000000000000000f000000000000000, type: 0} + - {fileID: 10770, guid: 0000000000000000f000000000000000, type: 0} + - {fileID: 10783, guid: 0000000000000000f000000000000000, type: 0} + - {fileID: 16000, guid: 0000000000000000f000000000000000, type: 0} + - {fileID: 16001, guid: 0000000000000000f000000000000000, type: 0} + - {fileID: 17000, guid: 0000000000000000f000000000000000, type: 0} + m_PreloadedShaders: [] + m_SpritesDefaultMaterial: {fileID: 10754, guid: 0000000000000000f000000000000000, + type: 0} + m_CustomRenderPipeline: {fileID: 11400000, guid: 19ba41d7c0026c3459d37c2fe90c55a0, + type: 2} + m_TransparencySortMode: 0 + m_TransparencySortAxis: {x: 0, y: 0, z: 1} + m_DefaultRenderingPath: 1 + m_DefaultMobileRenderingPath: 1 + m_TierSettings: [] + m_LightmapStripping: 0 + m_FogStripping: 0 + m_InstancingStripping: 0 + m_LightmapKeepPlain: 1 + m_LightmapKeepDirCombined: 1 + m_LightmapKeepDynamicPlain: 1 + m_LightmapKeepDynamicDirCombined: 1 + m_LightmapKeepShadowMask: 1 + m_LightmapKeepSubtractive: 1 + m_FogKeepLinear: 1 + m_FogKeepExp: 1 + m_FogKeepExp2: 1 + m_AlbedoSwatchInfos: [] + m_LightsUseLinearIntensity: 1 + m_LightsUseColorTemperature: 0 + m_LogWhenShaderIsCompiled: 0 + m_AllowEnlightenSupportForUpgradedProject: 1 diff --git a/TestRosTcpConnector/ProjectSettings/InputManager.asset b/TestRosTcpConnector/ProjectSettings/InputManager.asset new file mode 100644 index 00000000..b16147e9 --- /dev/null +++ b/TestRosTcpConnector/ProjectSettings/InputManager.asset @@ -0,0 +1,487 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!13 &1 +InputManager: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Axes: + - serializedVersion: 3 + m_Name: Horizontal + descriptiveName: + descriptiveNegativeName: + negativeButton: left + positiveButton: right + altNegativeButton: a + altPositiveButton: d + gravity: 3 + dead: 0.001 + sensitivity: 3 + snap: 1 + invert: 0 + type: 0 + axis: 0 + joyNum: 0 + - serializedVersion: 3 + m_Name: Vertical + descriptiveName: + descriptiveNegativeName: + negativeButton: down + positiveButton: up + altNegativeButton: s + altPositiveButton: w + gravity: 3 + dead: 0.001 + sensitivity: 3 + snap: 1 + invert: 0 + type: 0 + axis: 0 + joyNum: 0 + - serializedVersion: 3 + m_Name: Fire1 + descriptiveName: + descriptiveNegativeName: + negativeButton: + positiveButton: left ctrl + altNegativeButton: + altPositiveButton: mouse 0 + gravity: 1000 + dead: 0.001 + sensitivity: 1000 + snap: 0 + invert: 0 + type: 0 + axis: 0 + joyNum: 0 + - serializedVersion: 3 + m_Name: Fire2 + descriptiveName: + descriptiveNegativeName: + negativeButton: + positiveButton: left alt + altNegativeButton: + altPositiveButton: mouse 1 + gravity: 1000 + dead: 0.001 + sensitivity: 1000 + snap: 0 + invert: 0 + type: 0 + axis: 0 + joyNum: 0 + - serializedVersion: 3 + m_Name: Fire3 + descriptiveName: + descriptiveNegativeName: + negativeButton: + positiveButton: left shift + altNegativeButton: + altPositiveButton: mouse 2 + gravity: 1000 + dead: 0.001 + sensitivity: 1000 + snap: 0 + invert: 0 + type: 0 + axis: 0 + joyNum: 0 + - serializedVersion: 3 + m_Name: Jump + descriptiveName: + descriptiveNegativeName: + negativeButton: + positiveButton: space + altNegativeButton: + altPositiveButton: + gravity: 1000 + dead: 0.001 + sensitivity: 1000 + snap: 0 + invert: 0 + type: 0 + axis: 0 + joyNum: 0 + - serializedVersion: 3 + m_Name: Mouse X + descriptiveName: + descriptiveNegativeName: + negativeButton: + positiveButton: + altNegativeButton: + altPositiveButton: + gravity: 0 + dead: 0 + sensitivity: 0.1 + snap: 0 + invert: 0 + type: 1 + axis: 0 + joyNum: 0 + - serializedVersion: 3 + m_Name: Mouse Y + descriptiveName: + descriptiveNegativeName: + negativeButton: + positiveButton: + altNegativeButton: + altPositiveButton: + gravity: 0 + dead: 0 + sensitivity: 0.1 + snap: 0 + invert: 0 + type: 1 + axis: 1 + joyNum: 0 + - serializedVersion: 3 + m_Name: Mouse ScrollWheel + descriptiveName: + descriptiveNegativeName: + negativeButton: + positiveButton: + altNegativeButton: + altPositiveButton: + gravity: 0 + dead: 0 + sensitivity: 0.1 + snap: 0 + invert: 0 + type: 1 + axis: 2 + joyNum: 0 + - serializedVersion: 3 + m_Name: Horizontal + descriptiveName: + descriptiveNegativeName: + negativeButton: + positiveButton: + altNegativeButton: + altPositiveButton: + gravity: 0 + dead: 0.19 + sensitivity: 1 + snap: 0 + invert: 0 + type: 2 + axis: 0 + joyNum: 0 + - serializedVersion: 3 + m_Name: Vertical + descriptiveName: + descriptiveNegativeName: + negativeButton: + positiveButton: + altNegativeButton: + altPositiveButton: + gravity: 0 + dead: 0.19 + sensitivity: 1 + snap: 0 + invert: 1 + type: 2 + axis: 1 + joyNum: 0 + - serializedVersion: 3 + m_Name: Fire1 + descriptiveName: + descriptiveNegativeName: + negativeButton: + positiveButton: joystick button 0 + altNegativeButton: + altPositiveButton: + gravity: 1000 + dead: 0.001 + sensitivity: 1000 + snap: 0 + invert: 0 + type: 0 + axis: 0 + joyNum: 0 + - serializedVersion: 3 + m_Name: Fire2 + descriptiveName: + descriptiveNegativeName: + negativeButton: + positiveButton: joystick button 1 + altNegativeButton: + altPositiveButton: + gravity: 1000 + dead: 0.001 + sensitivity: 1000 + snap: 0 + invert: 0 + type: 0 + axis: 0 + joyNum: 0 + - serializedVersion: 3 + m_Name: Fire3 + descriptiveName: + descriptiveNegativeName: + negativeButton: + positiveButton: joystick button 2 + altNegativeButton: + altPositiveButton: + gravity: 1000 + dead: 0.001 + sensitivity: 1000 + snap: 0 + invert: 0 + type: 0 + axis: 0 + joyNum: 0 + - serializedVersion: 3 + m_Name: Jump + descriptiveName: + descriptiveNegativeName: + negativeButton: + positiveButton: joystick button 3 + altNegativeButton: + altPositiveButton: + gravity: 1000 + dead: 0.001 + sensitivity: 1000 + snap: 0 + invert: 0 + type: 0 + axis: 0 + joyNum: 0 + - serializedVersion: 3 + m_Name: Submit + descriptiveName: + descriptiveNegativeName: + negativeButton: + positiveButton: return + altNegativeButton: + altPositiveButton: joystick button 0 + gravity: 1000 + dead: 0.001 + sensitivity: 1000 + snap: 0 + invert: 0 + type: 0 + axis: 0 + joyNum: 0 + - serializedVersion: 3 + m_Name: Submit + descriptiveName: + descriptiveNegativeName: + negativeButton: + positiveButton: enter + altNegativeButton: + altPositiveButton: space + gravity: 1000 + dead: 0.001 + sensitivity: 1000 + snap: 0 + invert: 0 + type: 0 + axis: 0 + joyNum: 0 + - serializedVersion: 3 + m_Name: Cancel + descriptiveName: + descriptiveNegativeName: + negativeButton: + positiveButton: escape + altNegativeButton: + altPositiveButton: joystick button 1 + gravity: 1000 + dead: 0.001 + sensitivity: 1000 + snap: 0 + invert: 0 + type: 0 + axis: 0 + joyNum: 0 + - serializedVersion: 3 + m_Name: Enable Debug Button 1 + descriptiveName: + descriptiveNegativeName: + negativeButton: + positiveButton: left ctrl + altNegativeButton: + altPositiveButton: joystick button 8 + gravity: 0 + dead: 0 + sensitivity: 0 + snap: 0 + invert: 0 + type: 0 + axis: 0 + joyNum: 0 + - serializedVersion: 3 + m_Name: Enable Debug Button 2 + descriptiveName: + descriptiveNegativeName: + negativeButton: + positiveButton: backspace + altNegativeButton: + altPositiveButton: joystick button 9 + gravity: 0 + dead: 0 + sensitivity: 0 + snap: 0 + invert: 0 + type: 0 + axis: 0 + joyNum: 0 + - serializedVersion: 3 + m_Name: Debug Reset + descriptiveName: + descriptiveNegativeName: + negativeButton: + positiveButton: left alt + altNegativeButton: + altPositiveButton: joystick button 1 + gravity: 0 + dead: 0 + sensitivity: 0 + snap: 0 + invert: 0 + type: 0 + axis: 0 + joyNum: 0 + - serializedVersion: 3 + m_Name: Debug Next + descriptiveName: + descriptiveNegativeName: + negativeButton: + positiveButton: page down + altNegativeButton: + altPositiveButton: joystick button 5 + gravity: 0 + dead: 0 + sensitivity: 0 + snap: 0 + invert: 0 + type: 0 + axis: 0 + joyNum: 0 + - serializedVersion: 3 + m_Name: Debug Previous + descriptiveName: + descriptiveNegativeName: + negativeButton: + positiveButton: page up + altNegativeButton: + altPositiveButton: joystick button 4 + gravity: 0 + dead: 0 + sensitivity: 0 + snap: 0 + invert: 0 + type: 0 + axis: 0 + joyNum: 0 + - serializedVersion: 3 + m_Name: Debug Validate + descriptiveName: + descriptiveNegativeName: + negativeButton: + positiveButton: return + altNegativeButton: + altPositiveButton: joystick button 0 + gravity: 0 + dead: 0 + sensitivity: 0 + snap: 0 + invert: 0 + type: 0 + axis: 0 + joyNum: 0 + - serializedVersion: 3 + m_Name: Debug Persistent + descriptiveName: + descriptiveNegativeName: + negativeButton: + positiveButton: right shift + altNegativeButton: + altPositiveButton: joystick button 2 + gravity: 0 + dead: 0 + sensitivity: 0 + snap: 0 + invert: 0 + type: 0 + axis: 0 + joyNum: 0 + - serializedVersion: 3 + m_Name: Debug Multiplier + descriptiveName: + descriptiveNegativeName: + negativeButton: + positiveButton: left shift + altNegativeButton: + altPositiveButton: joystick button 3 + gravity: 0 + dead: 0 + sensitivity: 0 + snap: 0 + invert: 0 + type: 0 + axis: 0 + joyNum: 0 + - serializedVersion: 3 + m_Name: Debug Horizontal + descriptiveName: + descriptiveNegativeName: + negativeButton: left + positiveButton: right + altNegativeButton: + altPositiveButton: + gravity: 1000 + dead: 0.001 + sensitivity: 1000 + snap: 0 + invert: 0 + type: 0 + axis: 0 + joyNum: 0 + - serializedVersion: 3 + m_Name: Debug Vertical + descriptiveName: + descriptiveNegativeName: + negativeButton: down + positiveButton: up + altNegativeButton: + altPositiveButton: + gravity: 1000 + dead: 0.001 + sensitivity: 1000 + snap: 0 + invert: 0 + type: 0 + axis: 0 + joyNum: 0 + - serializedVersion: 3 + m_Name: Debug Vertical + descriptiveName: + descriptiveNegativeName: + negativeButton: down + positiveButton: up + altNegativeButton: + altPositiveButton: + gravity: 1000 + dead: 0.001 + sensitivity: 1000 + snap: 0 + invert: 0 + type: 2 + axis: 6 + joyNum: 0 + - serializedVersion: 3 + m_Name: Debug Horizontal + descriptiveName: + descriptiveNegativeName: + negativeButton: left + positiveButton: right + altNegativeButton: + altPositiveButton: + gravity: 1000 + dead: 0.001 + sensitivity: 1000 + snap: 0 + invert: 0 + type: 2 + axis: 5 + joyNum: 0 diff --git a/TestRosTcpConnector/ProjectSettings/NavMeshAreas.asset b/TestRosTcpConnector/ProjectSettings/NavMeshAreas.asset new file mode 100644 index 00000000..3b0b7c3d --- /dev/null +++ b/TestRosTcpConnector/ProjectSettings/NavMeshAreas.asset @@ -0,0 +1,91 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!126 &1 +NavMeshProjectSettings: + m_ObjectHideFlags: 0 + serializedVersion: 2 + areas: + - name: Walkable + cost: 1 + - name: Not Walkable + cost: 1 + - name: Jump + cost: 2 + - name: + cost: 1 + - name: + cost: 1 + - name: + cost: 1 + - name: + cost: 1 + - name: + cost: 1 + - name: + cost: 1 + - name: + cost: 1 + - name: + cost: 1 + - name: + cost: 1 + - name: + cost: 1 + - name: + cost: 1 + - name: + cost: 1 + - name: + cost: 1 + - name: + cost: 1 + - name: + cost: 1 + - name: + cost: 1 + - name: + cost: 1 + - name: + cost: 1 + - name: + cost: 1 + - name: + cost: 1 + - name: + cost: 1 + - name: + cost: 1 + - name: + cost: 1 + - name: + cost: 1 + - name: + cost: 1 + - name: + cost: 1 + - name: + cost: 1 + - name: + cost: 1 + - name: + cost: 1 + m_LastAgentTypeID: -887442657 + m_Settings: + - serializedVersion: 2 + agentTypeID: 0 + agentRadius: 0.5 + agentHeight: 2 + agentSlope: 45 + agentClimb: 0.75 + ledgeDropHeight: 0 + maxJumpAcrossDistance: 0 + minRegionArea: 2 + manualCellSize: 0 + cellSize: 0.16666667 + manualTileSize: 0 + tileSize: 256 + accuratePlacement: 0 + debug: + m_Flags: 0 + m_SettingNames: + - Humanoid diff --git a/TestRosTcpConnector/ProjectSettings/PackageManagerSettings.asset b/TestRosTcpConnector/ProjectSettings/PackageManagerSettings.asset new file mode 100644 index 00000000..be4a7974 --- /dev/null +++ b/TestRosTcpConnector/ProjectSettings/PackageManagerSettings.asset @@ -0,0 +1,43 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &1 +MonoBehaviour: + m_ObjectHideFlags: 61 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 13964, guid: 0000000000000000e000000000000000, type: 0} + m_Name: + m_EditorClassIdentifier: + m_EnablePreviewPackages: 0 + m_EnablePackageDependencies: 0 + m_AdvancedSettingsExpanded: 1 + m_ScopedRegistriesSettingsExpanded: 1 + oneTimeWarningShown: 0 + m_Registries: + - m_Id: main + m_Name: + m_Url: https://packages.unity.com + m_Scopes: [] + m_IsDefault: 1 + m_Capabilities: 7 + m_UserSelectedRegistryName: + m_UserAddingNewScopedRegistry: 0 + m_RegistryInfoDraft: + m_ErrorMessage: + m_Original: + m_Id: + m_Name: + m_Url: + m_Scopes: [] + m_IsDefault: 0 + m_Capabilities: 0 + m_Modified: 0 + m_Name: + m_Url: + m_Scopes: + - + m_SelectedScopeIndex: 0 diff --git a/TestRosTcpConnector/ProjectSettings/Physics2DSettings.asset b/TestRosTcpConnector/ProjectSettings/Physics2DSettings.asset new file mode 100644 index 00000000..47880b1c --- /dev/null +++ b/TestRosTcpConnector/ProjectSettings/Physics2DSettings.asset @@ -0,0 +1,56 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!19 &1 +Physics2DSettings: + m_ObjectHideFlags: 0 + serializedVersion: 4 + m_Gravity: {x: 0, y: -9.81} + m_DefaultMaterial: {fileID: 0} + m_VelocityIterations: 8 + m_PositionIterations: 3 + m_VelocityThreshold: 1 + m_MaxLinearCorrection: 0.2 + m_MaxAngularCorrection: 8 + m_MaxTranslationSpeed: 100 + m_MaxRotationSpeed: 360 + m_BaumgarteScale: 0.2 + m_BaumgarteTimeOfImpactScale: 0.75 + m_TimeToSleep: 0.5 + m_LinearSleepTolerance: 0.01 + m_AngularSleepTolerance: 2 + m_DefaultContactOffset: 0.01 + m_JobOptions: + serializedVersion: 2 + useMultithreading: 0 + useConsistencySorting: 0 + m_InterpolationPosesPerJob: 100 + m_NewContactsPerJob: 30 + m_CollideContactsPerJob: 100 + m_ClearFlagsPerJob: 200 + m_ClearBodyForcesPerJob: 200 + m_SyncDiscreteFixturesPerJob: 50 + m_SyncContinuousFixturesPerJob: 50 + m_FindNearestContactsPerJob: 100 + m_UpdateTriggerContactsPerJob: 100 + m_IslandSolverCostThreshold: 100 + m_IslandSolverBodyCostScale: 1 + m_IslandSolverContactCostScale: 10 + m_IslandSolverJointCostScale: 10 + m_IslandSolverBodiesPerJob: 50 + m_IslandSolverContactsPerJob: 50 + m_AutoSimulation: 1 + m_QueriesHitTriggers: 1 + m_QueriesStartInColliders: 1 + m_CallbacksOnDisable: 1 + m_ReuseCollisionCallbacks: 1 + m_AutoSyncTransforms: 0 + m_AlwaysShowColliders: 0 + m_ShowColliderSleep: 1 + m_ShowColliderContacts: 0 + m_ShowColliderAABB: 0 + m_ContactArrowScale: 0.2 + m_ColliderAwakeColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.7529412} + m_ColliderAsleepColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.36078432} + m_ColliderContactColor: {r: 1, g: 0, b: 1, a: 0.6862745} + m_ColliderAABBColor: {r: 1, g: 1, b: 0, a: 0.2509804} + m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff diff --git a/TestRosTcpConnector/ProjectSettings/PresetManager.asset b/TestRosTcpConnector/ProjectSettings/PresetManager.asset new file mode 100644 index 00000000..10a1b073 --- /dev/null +++ b/TestRosTcpConnector/ProjectSettings/PresetManager.asset @@ -0,0 +1,27 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1386491679 &1 +PresetManager: + m_ObjectHideFlags: 0 + m_DefaultList: + - type: + m_NativeTypeID: 108 + m_ManagedTypePPtr: {fileID: 0} + m_ManagedTypeFallback: + defaultPresets: + - m_Preset: {fileID: 2655988077585873504, guid: 463065d4f17d1d94d848aa127b94dd43, + type: 2} + - type: + m_NativeTypeID: 1020 + m_ManagedTypePPtr: {fileID: 0} + m_ManagedTypeFallback: + defaultPresets: + - m_Preset: {fileID: 2655988077585873504, guid: e7689051185d12f4298e1ebb2693a29f, + type: 2} + - type: + m_NativeTypeID: 1006 + m_ManagedTypePPtr: {fileID: 0} + m_ManagedTypeFallback: + defaultPresets: + - m_Preset: {fileID: 2655988077585873504, guid: e8537455c6c08bd4e8bf0be3707da685, + type: 2} diff --git a/TestRosTcpConnector/ProjectSettings/ProjectSettings.asset b/TestRosTcpConnector/ProjectSettings/ProjectSettings.asset new file mode 100644 index 00000000..63e48000 --- /dev/null +++ b/TestRosTcpConnector/ProjectSettings/ProjectSettings.asset @@ -0,0 +1,680 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!129 &1 +PlayerSettings: + m_ObjectHideFlags: 0 + serializedVersion: 21 + productGUID: bfd9760733c064b1cb84267ff0f2321f + AndroidProfiler: 0 + AndroidFilterTouchesWhenObscured: 0 + AndroidEnableSustainedPerformanceMode: 0 + defaultScreenOrientation: 4 + targetDevice: 2 + useOnDemandResources: 0 + accelerometerFrequency: 60 + companyName: UnityTechnologies + productName: TestRosTcpConnector + defaultCursor: {fileID: 0} + cursorHotspot: {x: 0, y: 0} + m_SplashScreenBackgroundColor: {r: 0.13725491, g: 0.12156863, b: 0.1254902, a: 1} + m_ShowUnitySplashScreen: 1 + m_ShowUnitySplashLogo: 1 + m_SplashScreenOverlayOpacity: 1 + m_SplashScreenAnimation: 1 + m_SplashScreenLogoStyle: 1 + m_SplashScreenDrawMode: 0 + m_SplashScreenBackgroundAnimationZoom: 1 + m_SplashScreenLogoAnimationZoom: 1 + m_SplashScreenBackgroundLandscapeAspect: 1 + m_SplashScreenBackgroundPortraitAspect: 1 + m_SplashScreenBackgroundLandscapeUvs: + serializedVersion: 2 + x: 0 + y: 0 + width: 1 + height: 1 + m_SplashScreenBackgroundPortraitUvs: + serializedVersion: 2 + x: 0 + y: 0 + width: 1 + height: 1 + m_SplashScreenLogos: [] + m_VirtualRealitySplashScreen: {fileID: 0} + m_HolographicTrackingLossScreen: {fileID: 0} + defaultScreenWidth: 1920 + defaultScreenHeight: 1080 + defaultScreenWidthWeb: 960 + defaultScreenHeightWeb: 600 + m_StereoRenderingPath: 0 + m_ActiveColorSpace: 1 + m_MTRendering: 1 + mipStripping: 0 + numberOfMipsStripped: 0 + m_StackTraceTypes: 010000000100000001000000010000000100000001000000 + iosShowActivityIndicatorOnLoading: -1 + androidShowActivityIndicatorOnLoading: -1 + iosUseCustomAppBackgroundBehavior: 0 + iosAllowHTTPDownload: 1 + allowedAutorotateToPortrait: 1 + allowedAutorotateToPortraitUpsideDown: 1 + allowedAutorotateToLandscapeRight: 1 + allowedAutorotateToLandscapeLeft: 1 + useOSAutorotation: 1 + use32BitDisplayBuffer: 1 + preserveFramebufferAlpha: 0 + disableDepthAndStencilBuffers: 0 + androidStartInFullscreen: 1 + androidRenderOutsideSafeArea: 0 + androidUseSwappy: 1 + androidBlitType: 1 + defaultIsNativeResolution: 1 + macRetinaSupport: 1 + runInBackground: 1 + captureSingleScreen: 0 + muteOtherAudioSources: 0 + Prepare IOS For Recording: 0 + Force IOS Speakers When Recording: 0 + deferSystemGesturesMode: 0 + hideHomeButton: 0 + submitAnalytics: 1 + usePlayerLog: 1 + bakeCollisionMeshes: 0 + forceSingleInstance: 0 + useFlipModelSwapchain: 1 + resizableWindow: 0 + useMacAppStoreValidation: 0 + macAppStoreCategory: public.app-category.games + gpuSkinning: 1 + xboxPIXTextureCapture: 0 + xboxEnableAvatar: 0 + xboxEnableKinect: 0 + xboxEnableKinectAutoTracking: 0 + xboxEnableFitness: 0 + visibleInBackground: 1 + allowFullscreenSwitch: 1 + fullscreenMode: 1 + xboxSpeechDB: 0 + xboxEnableHeadOrientation: 0 + xboxEnableGuest: 0 + xboxEnablePIXSampling: 0 + metalFramebufferOnly: 0 + xboxOneResolution: 0 + xboxOneSResolution: 0 + xboxOneXResolution: 3 + xboxOneMonoLoggingLevel: 0 + xboxOneLoggingLevel: 1 + xboxOneDisableEsram: 0 + xboxOneEnableTypeOptimization: 0 + xboxOnePresentImmediateThreshold: 0 + switchQueueCommandMemory: 0 + switchQueueControlMemory: 0 + switchQueueComputeMemory: 262144 + switchNVNShaderPoolsGranularity: 33554432 + switchNVNDefaultPoolsGranularity: 16777216 + switchNVNOtherPoolsGranularity: 16777216 + switchNVNMaxPublicTextureIDCount: 0 + switchNVNMaxPublicSamplerIDCount: 0 + stadiaPresentMode: 0 + stadiaTargetFramerate: 0 + vulkanNumSwapchainBuffers: 3 + vulkanEnableSetSRGBWrite: 0 + vulkanEnablePreTransform: 0 + vulkanEnableLateAcquireNextImage: 0 + m_SupportedAspectRatios: + 4:3: 1 + 5:4: 1 + 16:10: 1 + 16:9: 1 + Others: 1 + bundleVersion: 0.1 + preloadedAssets: [] + metroInputSource: 0 + wsaTransparentSwapchain: 0 + m_HolographicPauseOnTrackingLoss: 1 + xboxOneDisableKinectGpuReservation: 1 + xboxOneEnable7thCore: 1 + vrSettings: + enable360StereoCapture: 0 + isWsaHolographicRemotingEnabled: 0 + enableFrameTimingStats: 0 + useHDRDisplay: 0 + D3DHDRBitDepth: 0 + m_ColorGamuts: 0000000003000000 + targetPixelDensity: 30 + resolutionScalingMode: 0 + androidSupportedAspectRatio: 1 + androidMaxAspectRatio: 2.1 + applicationIdentifier: + Standalone: com.UnityTechnologies.TestRosTcpConnector + buildNumber: + Standalone: 0 + iPhone: 0 + tvOS: 0 + overrideDefaultApplicationIdentifier: 0 + AndroidBundleVersionCode: 1 + AndroidMinSdkVersion: 19 + AndroidTargetSdkVersion: 0 + AndroidPreferredInstallLocation: 1 + aotOptions: + stripEngineCode: 1 + iPhoneStrippingLevel: 0 + iPhoneScriptCallOptimization: 0 + ForceInternetPermission: 0 + ForceSDCardPermission: 0 + CreateWallpaper: 0 + APKExpansionFiles: 0 + keepLoadedShadersAlive: 0 + StripUnusedMeshComponents: 0 + VertexChannelCompressionMask: 4054 + iPhoneSdkVersion: 988 + iOSTargetOSVersionString: 11.0 + tvOSSdkVersion: 0 + tvOSRequireExtendedGameController: 0 + tvOSTargetOSVersionString: 11.0 + uIPrerenderedIcon: 0 + uIRequiresPersistentWiFi: 0 + uIRequiresFullScreen: 1 + uIStatusBarHidden: 1 + uIExitOnSuspend: 0 + uIStatusBarStyle: 0 + appleTVSplashScreen: {fileID: 0} + appleTVSplashScreen2x: {fileID: 0} + tvOSSmallIconLayers: [] + tvOSSmallIconLayers2x: [] + tvOSLargeIconLayers: [] + tvOSLargeIconLayers2x: [] + tvOSTopShelfImageLayers: [] + tvOSTopShelfImageLayers2x: [] + tvOSTopShelfImageWideLayers: [] + tvOSTopShelfImageWideLayers2x: [] + iOSLaunchScreenType: 0 + iOSLaunchScreenPortrait: {fileID: 0} + iOSLaunchScreenLandscape: {fileID: 0} + iOSLaunchScreenBackgroundColor: + serializedVersion: 2 + rgba: 0 + iOSLaunchScreenFillPct: 100 + iOSLaunchScreenSize: 100 + iOSLaunchScreenCustomXibPath: + iOSLaunchScreeniPadType: 0 + iOSLaunchScreeniPadImage: {fileID: 0} + iOSLaunchScreeniPadBackgroundColor: + serializedVersion: 2 + rgba: 0 + iOSLaunchScreeniPadFillPct: 100 + iOSLaunchScreeniPadSize: 100 + iOSLaunchScreeniPadCustomXibPath: + iOSLaunchScreenCustomStoryboardPath: + iOSLaunchScreeniPadCustomStoryboardPath: + iOSDeviceRequirements: [] + iOSURLSchemes: [] + iOSBackgroundModes: 0 + iOSMetalForceHardShadows: 0 + metalEditorSupport: 1 + metalAPIValidation: 1 + iOSRenderExtraFrameOnPause: 0 + iosCopyPluginsCodeInsteadOfSymlink: 0 + appleDeveloperTeamID: + iOSManualSigningProvisioningProfileID: + tvOSManualSigningProvisioningProfileID: + iOSManualSigningProvisioningProfileType: 0 + tvOSManualSigningProvisioningProfileType: 0 + appleEnableAutomaticSigning: 0 + iOSRequireARKit: 0 + iOSAutomaticallyDetectAndAddCapabilities: 1 + appleEnableProMotion: 0 + shaderPrecisionModel: 0 + clonedFromGUID: 9870af204204ab84596f8a656f2f2ce6 + templatePackageId: com.unity.template.universal@10.0.0 + templateDefaultScene: Assets/Scenes/SampleScene.unity + useCustomMainManifest: 0 + useCustomLauncherManifest: 0 + useCustomMainGradleTemplate: 0 + useCustomLauncherGradleManifest: 0 + useCustomBaseGradleTemplate: 0 + useCustomGradlePropertiesTemplate: 0 + useCustomProguardFile: 0 + AndroidTargetArchitectures: 1 + AndroidSplashScreenScale: 0 + androidSplashScreen: {fileID: 0} + AndroidKeystoreName: + AndroidKeyaliasName: + AndroidBuildApkPerCpuArchitecture: 0 + AndroidTVCompatibility: 0 + AndroidIsGame: 1 + AndroidEnableTango: 0 + androidEnableBanner: 1 + androidUseLowAccuracyLocation: 0 + androidUseCustomKeystore: 0 + m_AndroidBanners: + - width: 320 + height: 180 + banner: {fileID: 0} + androidGamepadSupportLevel: 0 + AndroidMinifyWithR8: 0 + AndroidMinifyRelease: 0 + AndroidMinifyDebug: 0 + AndroidValidateAppBundleSize: 1 + AndroidAppBundleSizeToValidate: 100 + m_BuildTargetIcons: [] + m_BuildTargetPlatformIcons: [] + m_BuildTargetBatching: + - m_BuildTarget: Standalone + m_StaticBatching: 1 + m_DynamicBatching: 0 + - m_BuildTarget: tvOS + m_StaticBatching: 1 + m_DynamicBatching: 0 + - m_BuildTarget: iPhone + m_StaticBatching: 1 + m_DynamicBatching: 0 + - m_BuildTarget: Android + m_StaticBatching: 1 + m_DynamicBatching: 0 + - m_BuildTarget: WebGL + m_StaticBatching: 0 + m_DynamicBatching: 0 + m_BuildTargetGraphicsJobs: + - m_BuildTarget: MacStandaloneSupport + m_GraphicsJobs: 0 + - m_BuildTarget: Switch + m_GraphicsJobs: 1 + - m_BuildTarget: MetroSupport + m_GraphicsJobs: 1 + - m_BuildTarget: AppleTVSupport + m_GraphicsJobs: 0 + - m_BuildTarget: BJMSupport + m_GraphicsJobs: 1 + - m_BuildTarget: LinuxStandaloneSupport + m_GraphicsJobs: 1 + - m_BuildTarget: PS4Player + m_GraphicsJobs: 1 + - m_BuildTarget: iOSSupport + m_GraphicsJobs: 0 + - m_BuildTarget: WindowsStandaloneSupport + m_GraphicsJobs: 1 + - m_BuildTarget: XboxOnePlayer + m_GraphicsJobs: 1 + - m_BuildTarget: LuminSupport + m_GraphicsJobs: 0 + - m_BuildTarget: AndroidPlayer + m_GraphicsJobs: 0 + - m_BuildTarget: WebGLSupport + m_GraphicsJobs: 0 + m_BuildTargetGraphicsJobMode: + - m_BuildTarget: PS4Player + m_GraphicsJobMode: 0 + - m_BuildTarget: XboxOnePlayer + m_GraphicsJobMode: 0 + m_BuildTargetGraphicsAPIs: + - m_BuildTarget: iOSSupport + m_APIs: 10000000 + m_Automatic: 1 + - m_BuildTarget: AppleTVSupport + m_APIs: 10000000 + m_Automatic: 1 + - m_BuildTarget: AndroidPlayer + m_APIs: 150000000b000000 + m_Automatic: 0 + - m_BuildTarget: WebGLSupport + m_APIs: 0b000000 + m_Automatic: 0 + m_BuildTargetVRSettings: [] + openGLRequireES31: 0 + openGLRequireES31AEP: 0 + openGLRequireES32: 0 + m_TemplateCustomTags: {} + mobileMTRendering: + Android: 1 + iPhone: 1 + tvOS: 1 + m_BuildTargetGroupLightmapEncodingQuality: + - m_BuildTarget: Standalone + m_EncodingQuality: 1 + m_BuildTargetGroupLightmapSettings: [] + m_BuildTargetNormalMapEncoding: [] + playModeTestRunnerEnabled: 0 + runPlayModeTestAsEditModeTest: 0 + actionOnDotNetUnhandledException: 1 + enableInternalProfiler: 0 + logObjCUncaughtExceptions: 1 + enableCrashReportAPI: 0 + cameraUsageDescription: + locationUsageDescription: + microphoneUsageDescription: + switchNMETAOverride: + switchNetLibKey: + switchSocketMemoryPoolSize: 6144 + switchSocketAllocatorPoolSize: 128 + switchSocketConcurrencyLimit: 14 + switchScreenResolutionBehavior: 2 + switchUseCPUProfiler: 0 + switchUseGOLDLinker: 0 + switchApplicationID: 0x01004b9000490000 + switchNSODependencies: + switchTitleNames_0: + switchTitleNames_1: + switchTitleNames_2: + switchTitleNames_3: + switchTitleNames_4: + switchTitleNames_5: + switchTitleNames_6: + switchTitleNames_7: + switchTitleNames_8: + switchTitleNames_9: + switchTitleNames_10: + switchTitleNames_11: + switchTitleNames_12: + switchTitleNames_13: + switchTitleNames_14: + switchPublisherNames_0: + switchPublisherNames_1: + switchPublisherNames_2: + switchPublisherNames_3: + switchPublisherNames_4: + switchPublisherNames_5: + switchPublisherNames_6: + switchPublisherNames_7: + switchPublisherNames_8: + switchPublisherNames_9: + switchPublisherNames_10: + switchPublisherNames_11: + switchPublisherNames_12: + switchPublisherNames_13: + switchPublisherNames_14: + switchIcons_0: {fileID: 0} + switchIcons_1: {fileID: 0} + switchIcons_2: {fileID: 0} + switchIcons_3: {fileID: 0} + switchIcons_4: {fileID: 0} + switchIcons_5: {fileID: 0} + switchIcons_6: {fileID: 0} + switchIcons_7: {fileID: 0} + switchIcons_8: {fileID: 0} + switchIcons_9: {fileID: 0} + switchIcons_10: {fileID: 0} + switchIcons_11: {fileID: 0} + switchIcons_12: {fileID: 0} + switchIcons_13: {fileID: 0} + switchIcons_14: {fileID: 0} + switchSmallIcons_0: {fileID: 0} + switchSmallIcons_1: {fileID: 0} + switchSmallIcons_2: {fileID: 0} + switchSmallIcons_3: {fileID: 0} + switchSmallIcons_4: {fileID: 0} + switchSmallIcons_5: {fileID: 0} + switchSmallIcons_6: {fileID: 0} + switchSmallIcons_7: {fileID: 0} + switchSmallIcons_8: {fileID: 0} + switchSmallIcons_9: {fileID: 0} + switchSmallIcons_10: {fileID: 0} + switchSmallIcons_11: {fileID: 0} + switchSmallIcons_12: {fileID: 0} + switchSmallIcons_13: {fileID: 0} + switchSmallIcons_14: {fileID: 0} + switchManualHTML: + switchAccessibleURLs: + switchLegalInformation: + switchMainThreadStackSize: 1048576 + switchPresenceGroupId: + switchLogoHandling: 0 + switchReleaseVersion: 0 + switchDisplayVersion: 1.0.0 + switchStartupUserAccount: 0 + switchTouchScreenUsage: 0 + switchSupportedLanguagesMask: 0 + switchLogoType: 0 + switchApplicationErrorCodeCategory: + switchUserAccountSaveDataSize: 0 + switchUserAccountSaveDataJournalSize: 0 + switchApplicationAttribute: 0 + switchCardSpecSize: -1 + switchCardSpecClock: -1 + switchRatingsMask: 0 + switchRatingsInt_0: 0 + switchRatingsInt_1: 0 + switchRatingsInt_2: 0 + switchRatingsInt_3: 0 + switchRatingsInt_4: 0 + switchRatingsInt_5: 0 + switchRatingsInt_6: 0 + switchRatingsInt_7: 0 + switchRatingsInt_8: 0 + switchRatingsInt_9: 0 + switchRatingsInt_10: 0 + switchRatingsInt_11: 0 + switchRatingsInt_12: 0 + switchLocalCommunicationIds_0: + switchLocalCommunicationIds_1: + switchLocalCommunicationIds_2: + switchLocalCommunicationIds_3: + switchLocalCommunicationIds_4: + switchLocalCommunicationIds_5: + switchLocalCommunicationIds_6: + switchLocalCommunicationIds_7: + switchParentalControl: 0 + switchAllowsScreenshot: 1 + switchAllowsVideoCapturing: 1 + switchAllowsRuntimeAddOnContentInstall: 0 + switchDataLossConfirmation: 0 + switchUserAccountLockEnabled: 0 + switchSystemResourceMemory: 16777216 + switchSupportedNpadStyles: 22 + switchNativeFsCacheSize: 32 + switchIsHoldTypeHorizontal: 0 + switchSupportedNpadCount: 8 + switchSocketConfigEnabled: 0 + switchTcpInitialSendBufferSize: 32 + switchTcpInitialReceiveBufferSize: 64 + switchTcpAutoSendBufferSizeMax: 256 + switchTcpAutoReceiveBufferSizeMax: 256 + switchUdpSendBufferSize: 9 + switchUdpReceiveBufferSize: 42 + switchSocketBufferEfficiency: 4 + switchSocketInitializeEnabled: 1 + switchNetworkInterfaceManagerInitializeEnabled: 1 + switchPlayerConnectionEnabled: 1 + switchUseNewStyleFilepaths: 0 + ps4NPAgeRating: 12 + ps4NPTitleSecret: + ps4NPTrophyPackPath: + ps4ParentalLevel: 11 + ps4ContentID: ED1633-NPXX51362_00-0000000000000000 + ps4Category: 0 + ps4MasterVersion: 01.00 + ps4AppVersion: 01.00 + ps4AppType: 0 + ps4ParamSfxPath: + ps4VideoOutPixelFormat: 0 + ps4VideoOutInitialWidth: 1920 + ps4VideoOutBaseModeInitialWidth: 1920 + ps4VideoOutReprojectionRate: 60 + ps4PronunciationXMLPath: + ps4PronunciationSIGPath: + ps4BackgroundImagePath: + ps4StartupImagePath: + ps4StartupImagesFolder: + ps4IconImagesFolder: + ps4SaveDataImagePath: + ps4SdkOverride: + ps4BGMPath: + ps4ShareFilePath: + ps4ShareOverlayImagePath: + ps4PrivacyGuardImagePath: + ps4ExtraSceSysFile: + ps4NPtitleDatPath: + ps4RemotePlayKeyAssignment: -1 + ps4RemotePlayKeyMappingDir: + ps4PlayTogetherPlayerCount: 0 + ps4EnterButtonAssignment: 1 + ps4ApplicationParam1: 0 + ps4ApplicationParam2: 0 + ps4ApplicationParam3: 0 + ps4ApplicationParam4: 0 + ps4DownloadDataSize: 0 + ps4GarlicHeapSize: 2048 + ps4ProGarlicHeapSize: 2560 + playerPrefsMaxSize: 32768 + ps4Passcode: frAQBc8Wsa1xVPfvJcrgRYwTiizs2trQ + ps4pnSessions: 1 + ps4pnPresence: 1 + ps4pnFriends: 1 + ps4pnGameCustomData: 1 + playerPrefsSupport: 0 + enableApplicationExit: 0 + resetTempFolder: 1 + restrictedAudioUsageRights: 0 + ps4UseResolutionFallback: 0 + ps4ReprojectionSupport: 0 + ps4UseAudio3dBackend: 0 + ps4UseLowGarlicFragmentationMode: 1 + ps4SocialScreenEnabled: 0 + ps4ScriptOptimizationLevel: 0 + ps4Audio3dVirtualSpeakerCount: 14 + ps4attribCpuUsage: 0 + ps4PatchPkgPath: + ps4PatchLatestPkgPath: + ps4PatchChangeinfoPath: + ps4PatchDayOne: 0 + ps4attribUserManagement: 0 + ps4attribMoveSupport: 0 + ps4attrib3DSupport: 0 + ps4attribShareSupport: 0 + ps4attribExclusiveVR: 0 + ps4disableAutoHideSplash: 0 + ps4videoRecordingFeaturesUsed: 0 + ps4contentSearchFeaturesUsed: 0 + ps4CompatibilityPS5: 0 + ps4GPU800MHz: 1 + ps4attribEyeToEyeDistanceSettingVR: 0 + ps4IncludedModules: + - libc.prx + - libSceAudioLatencyEstimation.prx + - libSceFace.prx + - libSceFaceTracker.prx + - libSceFios2.prx + - libSceHand.prx + - libSceHandTracker.prx + - libSceHeadTracker.prx + - libSceJobManager.prx + - libSceNpToolkit2.prx + - libSceS3DConversion.prx + ps4attribVROutputEnabled: 0 + monoEnv: + splashScreenBackgroundSourceLandscape: {fileID: 0} + splashScreenBackgroundSourcePortrait: {fileID: 0} + blurSplashScreenBackground: 1 + spritePackerPolicy: + webGLMemorySize: 16 + webGLExceptionSupport: 1 + webGLNameFilesAsHashes: 0 + webGLDataCaching: 1 + webGLDebugSymbols: 0 + webGLEmscriptenArgs: + webGLModulesDirectory: + webGLTemplate: APPLICATION:Default + webGLAnalyzeBuildSize: 0 + webGLUseEmbeddedResources: 0 + webGLCompressionFormat: 1 + webGLWasmArithmeticExceptions: 0 + webGLLinkerTarget: 1 + webGLThreadsSupport: 0 + webGLDecompressionFallback: 0 + scriptingDefineSymbols: {} + additionalCompilerArguments: {} + platformArchitecture: {} + scriptingBackend: + Standalone: 0 + il2cppCompilerConfiguration: {} + managedStrippingLevel: {} + incrementalIl2cppBuild: {} + suppressCommonWarnings: 1 + allowUnsafeCode: 0 + useDeterministicCompilation: 1 + useReferenceAssemblies: 1 + enableRoslynAnalyzers: 1 + additionalIl2CppArgs: + scriptingRuntimeVersion: 1 + gcIncremental: 1 + gcWBarrierValidation: 0 + apiCompatibilityLevelPerPlatform: + Standalone: 3 + m_RenderingPath: 1 + m_MobileRenderingPath: 1 + metroPackageName: Template_Lightweight + metroPackageVersion: + metroCertificatePath: + metroCertificatePassword: + metroCertificateSubject: + metroCertificateIssuer: + metroCertificateNotAfter: 0000000000000000 + metroApplicationDescription: Template_Lightweight + wsaImages: {} + metroTileShortName: + metroTileShowName: 0 + metroMediumTileShowName: 0 + metroLargeTileShowName: 0 + metroWideTileShowName: 0 + metroSupportStreamingInstall: 0 + metroLastRequiredScene: 0 + metroDefaultTileSize: 1 + metroTileForegroundText: 2 + metroTileBackgroundColor: {r: 0.13333334, g: 0.17254902, b: 0.21568628, a: 0} + metroSplashScreenBackgroundColor: {r: 0.12941177, g: 0.17254902, b: 0.21568628, a: 1} + metroSplashScreenUseBackgroundColor: 0 + platformCapabilities: {} + metroTargetDeviceFamilies: {} + metroFTAName: + metroFTAFileTypes: [] + metroProtocolName: + XboxOneProductId: + XboxOneUpdateKey: + XboxOneSandboxId: + XboxOneContentId: + XboxOneTitleId: + XboxOneSCId: + XboxOneGameOsOverridePath: + XboxOnePackagingOverridePath: + XboxOneAppManifestOverridePath: + XboxOneVersion: 1.0.0.0 + XboxOnePackageEncryption: 0 + XboxOnePackageUpdateGranularity: 2 + XboxOneDescription: + XboxOneLanguage: + - enus + XboxOneCapability: [] + XboxOneGameRating: {} + XboxOneIsContentPackage: 0 + XboxOneEnableGPUVariability: 1 + XboxOneSockets: {} + XboxOneSplashScreen: {fileID: 0} + XboxOneAllowedProductIds: [] + XboxOnePersistentLocalStorageSize: 0 + XboxOneXTitleMemory: 8 + XboxOneOverrideIdentityName: + XboxOneOverrideIdentityPublisher: + vrEditorSettings: {} + cloudServicesEnabled: + UNet: 1 + luminIcon: + m_Name: + m_ModelFolderPath: + m_PortalFolderPath: + luminCert: + m_CertPath: + m_SignPackage: 1 + luminIsChannelApp: 0 + luminVersion: + m_VersionCode: 1 + m_VersionName: + apiCompatibilityLevel: 6 + activeInputHandler: 0 + cloudProjectId: + framebufferDepthMemorylessMode: 0 + qualitySettingsNames: [] + projectName: + organizationId: + cloudEnabled: 0 + legacyClampBlendShapeWeights: 0 + virtualTexturingSupportEnabled: 0 diff --git a/TestRosTcpConnector/ProjectSettings/ProjectVersion.txt b/TestRosTcpConnector/ProjectSettings/ProjectVersion.txt new file mode 100644 index 00000000..ccec5356 --- /dev/null +++ b/TestRosTcpConnector/ProjectSettings/ProjectVersion.txt @@ -0,0 +1,2 @@ +m_EditorVersion: 2020.2.0b9 +m_EditorVersionWithRevision: 2020.2.0b9 (ef2968fa77ae) diff --git a/TestRosTcpConnector/ProjectSettings/QualitySettings.asset b/TestRosTcpConnector/ProjectSettings/QualitySettings.asset new file mode 100644 index 00000000..dad5d50c --- /dev/null +++ b/TestRosTcpConnector/ProjectSettings/QualitySettings.asset @@ -0,0 +1,128 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!47 &1 +QualitySettings: + m_ObjectHideFlags: 0 + serializedVersion: 5 + m_CurrentQuality: 2 + m_QualitySettings: + - serializedVersion: 2 + name: Low + pixelLightCount: 0 + shadows: 0 + shadowResolution: 0 + shadowProjection: 1 + shadowCascades: 1 + shadowDistance: 20 + shadowNearPlaneOffset: 3 + shadowCascade2Split: 0.33333334 + shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} + shadowmaskMode: 0 + skinWeights: 2 + textureQuality: 0 + anisotropicTextures: 0 + antiAliasing: 0 + softParticles: 0 + softVegetation: 0 + realtimeReflectionProbes: 0 + billboardsFaceCameraPosition: 0 + vSyncCount: 0 + lodBias: 0.4 + maximumLODLevel: 0 + streamingMipmapsActive: 0 + streamingMipmapsAddAllCameras: 1 + streamingMipmapsMemoryBudget: 512 + streamingMipmapsRenderersPerFrame: 512 + streamingMipmapsMaxLevelReduction: 2 + streamingMipmapsMaxFileIORequests: 1024 + particleRaycastBudget: 16 + asyncUploadTimeSlice: 2 + asyncUploadBufferSize: 16 + asyncUploadPersistentBuffer: 1 + resolutionScalingFixedDPIFactor: 1 + customRenderPipeline: {fileID: 11400000, guid: a31e9f9f9c9d4b9429ed0d1234e22103, type: 2} + excludedTargetPlatforms: [] + - serializedVersion: 2 + name: Medium + pixelLightCount: 1 + shadows: 1 + shadowResolution: 0 + shadowProjection: 1 + shadowCascades: 1 + shadowDistance: 20 + shadowNearPlaneOffset: 3 + shadowCascade2Split: 0.33333334 + shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} + shadowmaskMode: 0 + skinWeights: 2 + textureQuality: 0 + anisotropicTextures: 1 + antiAliasing: 0 + softParticles: 0 + softVegetation: 0 + realtimeReflectionProbes: 0 + billboardsFaceCameraPosition: 0 + vSyncCount: 1 + lodBias: 0.7 + maximumLODLevel: 0 + streamingMipmapsActive: 0 + streamingMipmapsAddAllCameras: 1 + streamingMipmapsMemoryBudget: 512 + streamingMipmapsRenderersPerFrame: 512 + streamingMipmapsMaxLevelReduction: 2 + streamingMipmapsMaxFileIORequests: 1024 + particleRaycastBudget: 64 + asyncUploadTimeSlice: 2 + asyncUploadBufferSize: 16 + asyncUploadPersistentBuffer: 1 + resolutionScalingFixedDPIFactor: 1 + customRenderPipeline: {fileID: 11400000, guid: d847b876476d3d6468f5dfcd34266f96, type: 2} + excludedTargetPlatforms: [] + - serializedVersion: 2 + name: High + pixelLightCount: 2 + shadows: 2 + shadowResolution: 1 + shadowProjection: 1 + shadowCascades: 2 + shadowDistance: 40 + shadowNearPlaneOffset: 3 + shadowCascade2Split: 0.33333334 + shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} + shadowmaskMode: 1 + skinWeights: 2 + textureQuality: 0 + anisotropicTextures: 1 + antiAliasing: 2 + softParticles: 0 + softVegetation: 1 + realtimeReflectionProbes: 1 + billboardsFaceCameraPosition: 1 + vSyncCount: 1 + lodBias: 1 + maximumLODLevel: 0 + streamingMipmapsActive: 0 + streamingMipmapsAddAllCameras: 1 + streamingMipmapsMemoryBudget: 512 + streamingMipmapsRenderersPerFrame: 512 + streamingMipmapsMaxLevelReduction: 2 + streamingMipmapsMaxFileIORequests: 1024 + particleRaycastBudget: 256 + asyncUploadTimeSlice: 2 + asyncUploadBufferSize: 16 + asyncUploadPersistentBuffer: 1 + resolutionScalingFixedDPIFactor: 1 + customRenderPipeline: {fileID: 11400000, guid: 19ba41d7c0026c3459d37c2fe90c55a0, type: 2} + excludedTargetPlatforms: [] + m_PerPlatformDefaultQuality: + Android: 1 + Lumin: 2 + Nintendo Switch: 2 + PS4: 2 + Stadia: 2 + Standalone: 2 + WebGL: 1 + Windows Store Apps: 2 + XboxOne: 2 + iPhone: 1 + tvOS: 1 diff --git a/TestRosTcpConnector/ProjectSettings/TagManager.asset b/TestRosTcpConnector/ProjectSettings/TagManager.asset new file mode 100644 index 00000000..1c92a784 --- /dev/null +++ b/TestRosTcpConnector/ProjectSettings/TagManager.asset @@ -0,0 +1,43 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!78 &1 +TagManager: + serializedVersion: 2 + tags: [] + layers: + - Default + - TransparentFX + - Ignore Raycast + - + - Water + - UI + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + m_SortingLayers: + - name: Default + uniqueID: 0 + locked: 0 diff --git a/TestRosTcpConnector/ProjectSettings/TimeManager.asset b/TestRosTcpConnector/ProjectSettings/TimeManager.asset new file mode 100644 index 00000000..06bcc6d2 --- /dev/null +++ b/TestRosTcpConnector/ProjectSettings/TimeManager.asset @@ -0,0 +1,9 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!5 &1 +TimeManager: + m_ObjectHideFlags: 0 + Fixed Timestep: 0.02 + Maximum Allowed Timestep: 0.1 + m_TimeScale: 1 + Maximum Particle Timestep: 0.03 diff --git a/TestRosTcpConnector/ProjectSettings/URPProjectSettings.asset b/TestRosTcpConnector/ProjectSettings/URPProjectSettings.asset new file mode 100644 index 00000000..91791f36 --- /dev/null +++ b/TestRosTcpConnector/ProjectSettings/URPProjectSettings.asset @@ -0,0 +1,15 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &1 +MonoBehaviour: + m_ObjectHideFlags: 61 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 247994e1f5a72c2419c26a37e9334c01, type: 3} + m_Name: + m_EditorClassIdentifier: + m_LastMaterialVersion: 2 diff --git a/TestRosTcpConnector/ProjectSettings/UnityConnectSettings.asset b/TestRosTcpConnector/ProjectSettings/UnityConnectSettings.asset new file mode 100644 index 00000000..fa0b1465 --- /dev/null +++ b/TestRosTcpConnector/ProjectSettings/UnityConnectSettings.asset @@ -0,0 +1,34 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!310 &1 +UnityConnectSettings: + m_ObjectHideFlags: 0 + serializedVersion: 1 + m_Enabled: 0 + m_TestMode: 0 + m_EventOldUrl: https://api.uca.cloud.unity3d.com/v1/events + m_EventUrl: https://cdp.cloud.unity3d.com/v1/events + m_ConfigUrl: https://config.uca.cloud.unity3d.com + m_TestInitMode: 0 + CrashReportingSettings: + m_EventUrl: https://perf-events.cloud.unity3d.com + m_Enabled: 0 + m_LogBufferSize: 10 + m_CaptureEditorExceptions: 1 + UnityPurchasingSettings: + m_Enabled: 0 + m_TestMode: 0 + UnityAnalyticsSettings: + m_Enabled: 0 + m_TestMode: 0 + m_InitializeOnStartup: 1 + UnityAdsSettings: + m_Enabled: 0 + m_InitializeOnStartup: 1 + m_TestMode: 0 + m_IosGameId: + m_AndroidGameId: + m_GameIds: {} + m_GameId: + PerformanceReportingSettings: + m_Enabled: 0 diff --git a/TestRosTcpConnector/ProjectSettings/VFXManager.asset b/TestRosTcpConnector/ProjectSettings/VFXManager.asset new file mode 100644 index 00000000..6e0eaca4 --- /dev/null +++ b/TestRosTcpConnector/ProjectSettings/VFXManager.asset @@ -0,0 +1,11 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!937362698 &1 +VFXManager: + m_ObjectHideFlags: 0 + m_IndirectShader: {fileID: 0} + m_CopyBufferShader: {fileID: 0} + m_SortShader: {fileID: 0} + m_RenderPipeSettingsPath: + m_FixedTimeStep: 0.016666668 + m_MaxDeltaTime: 0.05 diff --git a/TestRosTcpConnector/ProjectSettings/VersionControlSettings.asset b/TestRosTcpConnector/ProjectSettings/VersionControlSettings.asset new file mode 100644 index 00000000..dca28814 --- /dev/null +++ b/TestRosTcpConnector/ProjectSettings/VersionControlSettings.asset @@ -0,0 +1,8 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!890905787 &1 +VersionControlSettings: + m_ObjectHideFlags: 0 + m_Mode: Visible Meta Files + m_CollabEditorSettings: + inProgressEnabled: 1 diff --git a/TestRosTcpConnector/ProjectSettings/XRSettings.asset b/TestRosTcpConnector/ProjectSettings/XRSettings.asset new file mode 100644 index 00000000..482590c1 --- /dev/null +++ b/TestRosTcpConnector/ProjectSettings/XRSettings.asset @@ -0,0 +1,10 @@ +{ + "m_SettingKeys": [ + "VR Device Disabled", + "VR Device User Alert" + ], + "m_SettingValues": [ + "False", + "False" + ] +} \ No newline at end of file diff --git a/Third Party Notices.md.meta b/Third Party Notices.md.meta deleted file mode 100644 index 9949f2c1..00000000 --- a/Third Party Notices.md.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: fd4c7b610630417458a5ddfddb916ad9 -TextScriptImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Editor.meta b/com.unity.robotics.ros-tcp-connector/Editor.meta similarity index 100% rename from Editor.meta rename to com.unity.robotics.ros-tcp-connector/Editor.meta diff --git a/Editor/MessageGeneration.meta b/com.unity.robotics.ros-tcp-connector/Editor/MessageGeneration.meta similarity index 100% rename from Editor/MessageGeneration.meta rename to com.unity.robotics.ros-tcp-connector/Editor/MessageGeneration.meta diff --git a/Editor/MessageGeneration/MessageGenBrowser.cs b/com.unity.robotics.ros-tcp-connector/Editor/MessageGeneration/MessageGenBrowser.cs similarity index 98% rename from Editor/MessageGeneration/MessageGenBrowser.cs rename to com.unity.robotics.ros-tcp-connector/Editor/MessageGeneration/MessageGenBrowser.cs index 02fc96e1..82a91cf2 100644 --- a/Editor/MessageGeneration/MessageGenBrowser.cs +++ b/com.unity.robotics.ros-tcp-connector/Editor/MessageGeneration/MessageGenBrowser.cs @@ -1,10 +1,11 @@ using System.Collections.Generic; using System.IO; using System.Linq; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; using UnityEditor; using UnityEngine; -namespace RosMessageGeneration +namespace Unity.Robotics.ROSTCPConnector.Editor.MessageGeneration { public class MessageGenBrowser : EditorWindow, ISerializationCallbackReceiver { diff --git a/Editor/MessageGeneration/MessageGenBrowser.cs.meta b/com.unity.robotics.ros-tcp-connector/Editor/MessageGeneration/MessageGenBrowser.cs.meta similarity index 100% rename from Editor/MessageGeneration/MessageGenBrowser.cs.meta rename to com.unity.robotics.ros-tcp-connector/Editor/MessageGeneration/MessageGenBrowser.cs.meta diff --git a/com.unity.robotics.ros-tcp-connector/Editor/MessageGeneration/MessageGenBrowserSettings.cs b/com.unity.robotics.ros-tcp-connector/Editor/MessageGeneration/MessageGenBrowserSettings.cs new file mode 100644 index 00000000..01c92375 --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Editor/MessageGeneration/MessageGenBrowserSettings.cs @@ -0,0 +1,54 @@ +using System.IO; +using UnityEditor; +using UnityEngine; + +namespace Unity.Robotics.ROSTCPConnector.Editor.MessageGeneration +{ + public class MessageGenBrowserSettings : ScriptableObject + { + public string inputPath; + public string relativeOutPath; + public string outputPath => Path.Combine(Application.dataPath, relativeOutPath); + const string SETTINGS_FILENAME = "msgbrowser_settings.asset"; + + static MessageGenBrowserSettings settings; + public static MessageGenBrowserSettings Get() + { + if (settings == null) + { + settings = AssetDatabase.LoadAssetAtPath(Path.Combine("Assets", SETTINGS_FILENAME)); + if (settings == null) + { + settings = ScriptableObject.CreateInstance(); + settings.inputPath = ""; + settings.relativeOutPath = "RosMessages"; + } + } + return settings; + } + + public void Save() + { + if (!File.Exists(Path.Combine(Application.dataPath, SETTINGS_FILENAME))) + { + AssetDatabase.CreateAsset(this, Path.Combine("Assets", SETTINGS_FILENAME)); + AssetDatabase.SaveAssets(); + } + else + { + EditorUtility.SetDirty(this); + } + } + + public static string ToRelativePath(string fullPath) + { + string dataPath = Path.GetFullPath(Application.dataPath); + fullPath = Path.GetFullPath(fullPath); + + if (!fullPath.StartsWith(dataPath)) + return ""; + + return fullPath.Substring(dataPath.Length+1); + } + } +} diff --git a/Editor/MessageGeneration/MessageGenBrowserSettings.cs.meta b/com.unity.robotics.ros-tcp-connector/Editor/MessageGeneration/MessageGenBrowserSettings.cs.meta similarity index 100% rename from Editor/MessageGeneration/MessageGenBrowserSettings.cs.meta rename to com.unity.robotics.ros-tcp-connector/Editor/MessageGeneration/MessageGenBrowserSettings.cs.meta diff --git a/com.unity.robotics.ros-tcp-connector/Editor/MessageGeneration/ScriptedMsgImporter.cs b/com.unity.robotics.ros-tcp-connector/Editor/MessageGeneration/ScriptedMsgImporter.cs new file mode 100644 index 00000000..ae7a86cf --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Editor/MessageGeneration/ScriptedMsgImporter.cs @@ -0,0 +1,31 @@ +using System.IO; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; +using UnityEditor; +using UnityEditor.AssetImporters; +using UnityEngine; +#if UNITY_2020_2_OR_NEWER + +#else +using UnityEditor.Experimental.AssetImporters; +#endif + +namespace Unity.Robotics.ROSTCPConnector.Editor.MessageGeneration +{ + [ScriptedImporter(1, "msg")] + public class ScriptedMsgImporter : ScriptedImporter + { + public override void OnImportAsset(AssetImportContext ctx) + { + string inputPath = Path.Combine(Directory.GetCurrentDirectory(), ctx.assetPath); + string outputPath = MessageGenBrowserSettings.Get().outputPath; + MessageAutoGen.GenerateSingleMessage(inputPath, outputPath); + + string builtPath = MessageAutoGen.GetMessageClassPath(inputPath, outputPath); + string builtAssetPath = Path.Combine("Assets", MessageGenBrowserSettings.ToRelativePath(builtPath)); + AssetDatabase.ImportAsset(builtAssetPath); + Object messageClass = AssetDatabase.LoadAssetAtPath(builtAssetPath, typeof(MonoScript)); + if(messageClass != null) + ctx.AddObjectToAsset("messageClass", messageClass); + } + } +} diff --git a/Editor/MessageGeneration/ScriptedMsgImporter.cs.meta b/com.unity.robotics.ros-tcp-connector/Editor/MessageGeneration/ScriptedMsgImporter.cs.meta similarity index 100% rename from Editor/MessageGeneration/ScriptedMsgImporter.cs.meta rename to com.unity.robotics.ros-tcp-connector/Editor/MessageGeneration/ScriptedMsgImporter.cs.meta diff --git a/com.unity.robotics.ros-tcp-connector/Editor/MessageGeneration/ScriptedSrvImporter.cs b/com.unity.robotics.ros-tcp-connector/Editor/MessageGeneration/ScriptedSrvImporter.cs new file mode 100644 index 00000000..eb41f91f --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Editor/MessageGeneration/ScriptedSrvImporter.cs @@ -0,0 +1,33 @@ +using System.IO; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; +using UnityEditor; +using UnityEditor.AssetImporters; +using UnityEngine; +#if UNITY_2020_2_OR_NEWER + +#else +using UnityEditor.Experimental.AssetImporters; +#endif + +namespace Unity.Robotics.ROSTCPConnector.Editor.MessageGeneration +{ + [ScriptedImporter(1, "srv")] + public class ScriptedSrvImporter : ScriptedImporter + { + public override void OnImportAsset(AssetImportContext ctx) + { + string inputPath = Path.Combine(Directory.GetCurrentDirectory(), ctx.assetPath); + string outputPath = MessageGenBrowserSettings.Get().outputPath; + ServiceAutoGen.GenerateSingleService(inputPath, MessageGenBrowserSettings.Get().outputPath); + + foreach (string builtPath in ServiceAutoGen.GetServiceClassPaths(inputPath, outputPath)) + { + string builtAssetPath = Path.Combine("Assets", MessageGenBrowserSettings.ToRelativePath(builtPath)); + AssetDatabase.ImportAsset(builtAssetPath); + Object messageClass = AssetDatabase.LoadAssetAtPath(builtAssetPath, typeof(MonoScript)); + if (messageClass != null) + ctx.AddObjectToAsset("messageClass", messageClass); + } + } + } +} diff --git a/Editor/MessageGeneration/ScriptedSrvImporter.cs.meta b/com.unity.robotics.ros-tcp-connector/Editor/MessageGeneration/ScriptedSrvImporter.cs.meta similarity index 100% rename from Editor/MessageGeneration/ScriptedSrvImporter.cs.meta rename to com.unity.robotics.ros-tcp-connector/Editor/MessageGeneration/ScriptedSrvImporter.cs.meta diff --git a/com.unity.robotics.ros-tcp-connector/Editor/ROSSettingsEditor.cs b/com.unity.robotics.ros-tcp-connector/Editor/ROSSettingsEditor.cs new file mode 100644 index 00000000..021c7e5d --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Editor/ROSSettingsEditor.cs @@ -0,0 +1,68 @@ +using UnityEngine; +using UnityEditor; +using System.IO; + +namespace Unity.Robotics.ROSTCPConnector.Editor +{ + public class ROSSettingsEditor : EditorWindow + { + [MenuItem("Robotics/ROS Settings", false, 0)] + public static void OpenWindow() + { + ROSSettingsEditor window = GetWindow(false, "ROS Settings", true); + window.minSize = new Vector2(300, 65); + window.maxSize = new Vector2(600, 200); + window.Show(); + } + + GameObject prefabObj; + ROSConnection prefab; + + protected virtual void OnGUI() + { + if (prefab == null) + { + prefabObj = Resources.Load("ROSConnectionPrefab"); + if (prefabObj != null) + prefab = prefabObj.GetComponent(); + + if (prefab == null) + { + GameObject sceneObj = new GameObject("ROSConnection"); + sceneObj.AddComponent(); + if (!Directory.Exists("Assets/Resources")) + Directory.CreateDirectory("Assets/Resources"); + prefabObj = PrefabUtility.SaveAsPrefabAsset(sceneObj, + "Assets/Resources/ROSConnectionPrefab.prefab"); + if (prefabObj != null) + prefab = prefabObj.GetComponent(); + DestroyImmediate(sceneObj); + } + } + + EditorGUILayout.LabelField("Settings for a new ROSConnection.instance", EditorStyles.boldLabel); + prefab.rosIPAddress = EditorGUILayout.TextField("ROS IP Address", prefab.rosIPAddress); + prefab.rosPort = EditorGUILayout.IntField("ROS Port", prefab.rosPort); + EditorGUILayout.Space(); + prefab.overrideUnityIP = EditorGUILayout.TextField( + new GUIContent("Override Unity IP Address", "If blank, determine IP automatically."), + prefab.overrideUnityIP); + prefab.unityPort = EditorGUILayout.IntField("Unity Port", prefab.unityPort); + EditorGUILayout.Space(); + EditorGUILayout.LabelField("If awaiting a service response:", EditorStyles.boldLabel); + prefab.awaitDataMaxRetries = EditorGUILayout.IntField( + new GUIContent("Max Retries", + "While waiting for a service to respond, check this many times before giving up."), + prefab.awaitDataMaxRetries); + prefab.awaitDataSleepSeconds = EditorGUILayout.FloatField( + new GUIContent("Sleep (seconds)", + "While waiting for a service to respond, wait this many seconds between checks."), + prefab.awaitDataSleepSeconds); + + if (GUI.changed) + { + EditorUtility.SetDirty(prefabObj); + } + } + } +} \ No newline at end of file diff --git a/Editor/ROSSettingsEditor.cs.meta b/com.unity.robotics.ros-tcp-connector/Editor/ROSSettingsEditor.cs.meta similarity index 100% rename from Editor/ROSSettingsEditor.cs.meta rename to com.unity.robotics.ros-tcp-connector/Editor/ROSSettingsEditor.cs.meta diff --git a/Editor/Unity.Robotics.ROSTCPConnector.Editor.asmdef b/com.unity.robotics.ros-tcp-connector/Editor/Unity.Robotics.ROSTCPConnector.Editor.asmdef similarity index 87% rename from Editor/Unity.Robotics.ROSTCPConnector.Editor.asmdef rename to com.unity.robotics.ros-tcp-connector/Editor/Unity.Robotics.ROSTCPConnector.Editor.asmdef index f544a6e5..4f31cdd5 100644 --- a/Editor/Unity.Robotics.ROSTCPConnector.Editor.asmdef +++ b/com.unity.robotics.ros-tcp-connector/Editor/Unity.Robotics.ROSTCPConnector.Editor.asmdef @@ -1,6 +1,6 @@ { "name": "Unity.Robotics.ROSTCPConnector.Editor", - "rootNamespace": "", + "rootNamespace": "Unity.Robotics.ROSTCPConnector.Editor", "references": [ "GUID:625bfc588fb96c74696858f2c467e978" ], diff --git a/Editor/Unity.Robotics.ROSTCPConnector.Editor.asmdef.meta b/com.unity.robotics.ros-tcp-connector/Editor/Unity.Robotics.ROSTCPConnector.Editor.asmdef.meta similarity index 100% rename from Editor/Unity.Robotics.ROSTCPConnector.Editor.asmdef.meta rename to com.unity.robotics.ros-tcp-connector/Editor/Unity.Robotics.ROSTCPConnector.Editor.asmdef.meta diff --git a/Runtime.meta b/com.unity.robotics.ros-tcp-connector/Runtime.meta similarity index 100% rename from Runtime.meta rename to com.unity.robotics.ros-tcp-connector/Runtime.meta diff --git a/Runtime/MessageGeneration.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration.meta similarity index 100% rename from Runtime/MessageGeneration.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration.meta diff --git a/Runtime/MessageGeneration/Action.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/Action.cs similarity index 93% rename from Runtime/MessageGeneration/Action.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/Action.cs index b9f603e8..f2b573be 100644 --- a/Runtime/MessageGeneration/Action.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/Action.cs @@ -13,10 +13,7 @@ You may obtain a copy of the License at limitations under the License. */ -using RosMessageTypes.Std; -using RosMessageTypes.Actionlib; - -namespace RosMessageGeneration +namespace Unity.Robotics.ROSTCPConnector.MessageGeneration { public abstract class Action : Message where TActionGoal: ActionGoal diff --git a/Runtime/MessageGeneration/Action.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/Action.cs.meta similarity index 100% rename from Runtime/MessageGeneration/Action.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/Action.cs.meta diff --git a/Runtime/MessageGeneration/ActionAutoGen.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ActionAutoGen.cs similarity index 99% rename from Runtime/MessageGeneration/ActionAutoGen.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ActionAutoGen.cs index ac126061..b4edef5b 100644 --- a/Runtime/MessageGeneration/ActionAutoGen.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ActionAutoGen.cs @@ -13,10 +13,10 @@ limitations under the License. */ using System; -using System.IO; using System.Collections.Generic; +using System.IO; -namespace RosMessageGeneration +namespace Unity.Robotics.ROSTCPConnector.MessageGeneration { public class ActionAutoGen { diff --git a/Runtime/MessageGeneration/ActionAutoGen.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ActionAutoGen.cs.meta similarity index 100% rename from Runtime/MessageGeneration/ActionAutoGen.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ActionAutoGen.cs.meta diff --git a/Runtime/MessageGeneration/ActionFeedback.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ActionFeedback.cs similarity index 95% rename from Runtime/MessageGeneration/ActionFeedback.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ActionFeedback.cs index e1e1f5ef..02d5d15e 100644 --- a/Runtime/MessageGeneration/ActionFeedback.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ActionFeedback.cs @@ -13,10 +13,10 @@ You may obtain a copy of the License at limitations under the License. */ -using RosMessageTypes.Std; using RosMessageTypes.Actionlib; +using RosMessageTypes.Std; -namespace RosMessageGeneration +namespace Unity.Robotics.ROSTCPConnector.MessageGeneration { public abstract class ActionFeedback : Message where TFeedback : Message { diff --git a/Runtime/MessageGeneration/ActionFeedback.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ActionFeedback.cs.meta similarity index 100% rename from Runtime/MessageGeneration/ActionFeedback.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ActionFeedback.cs.meta diff --git a/Runtime/MessageGeneration/ActionGoal.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ActionGoal.cs similarity index 95% rename from Runtime/MessageGeneration/ActionGoal.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ActionGoal.cs index 615d095b..fae4bd2b 100644 --- a/Runtime/MessageGeneration/ActionGoal.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ActionGoal.cs @@ -13,10 +13,10 @@ You may obtain a copy of the License at limitations under the License. */ -using RosMessageTypes.Std; using RosMessageTypes.Actionlib; +using RosMessageTypes.Std; -namespace RosMessageGeneration +namespace Unity.Robotics.ROSTCPConnector.MessageGeneration { public abstract class ActionGoal : Message where TGoal : Message { diff --git a/Runtime/MessageGeneration/ActionGoal.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ActionGoal.cs.meta similarity index 100% rename from Runtime/MessageGeneration/ActionGoal.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ActionGoal.cs.meta diff --git a/Runtime/MessageGeneration/ActionResult.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ActionResult.cs similarity index 95% rename from Runtime/MessageGeneration/ActionResult.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ActionResult.cs index d5c18250..b8ac0d89 100644 --- a/Runtime/MessageGeneration/ActionResult.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ActionResult.cs @@ -14,10 +14,10 @@ limitations under the License. */ -using RosMessageTypes.Std; using RosMessageTypes.Actionlib; +using RosMessageTypes.Std; -namespace RosMessageGeneration +namespace Unity.Robotics.ROSTCPConnector.MessageGeneration { public abstract class ActionResult : Message where TResult : Message { diff --git a/Runtime/MessageGeneration/ActionResult.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ActionResult.cs.meta similarity index 100% rename from Runtime/MessageGeneration/ActionResult.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ActionResult.cs.meta diff --git a/Runtime/MessageGeneration/Message.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/Message.cs similarity index 98% rename from Runtime/MessageGeneration/Message.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/Message.cs index 0851bd7e..6a825e11 100644 --- a/Runtime/MessageGeneration/Message.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/Message.cs @@ -1,9 +1,9 @@ using System; -using System.Text; using System.Collections.Generic; using System.Linq; +using System.Text; -namespace RosMessageGeneration +namespace Unity.Robotics.ROSTCPConnector.MessageGeneration { public abstract class Message { diff --git a/Runtime/MessageGeneration/Message.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/Message.cs.meta similarity index 100% rename from Runtime/MessageGeneration/Message.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/Message.cs.meta diff --git a/Runtime/MessageGeneration/MessageAutoGen.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/MessageAutoGen.cs similarity index 99% rename from Runtime/MessageGeneration/MessageAutoGen.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/MessageAutoGen.cs index 82a4dcf3..6579673b 100644 --- a/Runtime/MessageGeneration/MessageAutoGen.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/MessageAutoGen.cs @@ -13,12 +13,12 @@ limitations under the License. */ using System; -using System.IO; using System.Collections.Generic; +using System.IO; using System.Linq; using System.Xml; -namespace RosMessageGeneration +namespace Unity.Robotics.ROSTCPConnector.MessageGeneration { public class MessageAutoGen { diff --git a/Runtime/MessageGeneration/MessageAutoGen.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/MessageAutoGen.cs.meta similarity index 100% rename from Runtime/MessageGeneration/MessageAutoGen.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/MessageAutoGen.cs.meta diff --git a/Runtime/MessageGeneration/MessageParser.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/MessageParser.cs similarity index 99% rename from Runtime/MessageGeneration/MessageParser.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/MessageParser.cs index 492d7cab..501ece02 100644 --- a/Runtime/MessageGeneration/MessageParser.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/MessageParser.cs @@ -13,11 +13,11 @@ limitations under the License. */ using System; -using System.IO; using System.Collections.Generic; +using System.IO; using UnityEngine; -namespace RosMessageGeneration +namespace Unity.Robotics.ROSTCPConnector.MessageGeneration { public class MessageParser { diff --git a/Runtime/MessageGeneration/MessageParser.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/MessageParser.cs.meta similarity index 100% rename from Runtime/MessageGeneration/MessageParser.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/MessageParser.cs.meta diff --git a/Runtime/MessageGeneration/MessageToken.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/MessageToken.cs similarity index 95% rename from Runtime/MessageGeneration/MessageToken.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/MessageToken.cs index 75596812..a437f9a2 100644 --- a/Runtime/MessageGeneration/MessageToken.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/MessageToken.cs @@ -12,7 +12,7 @@ You may obtain a copy of the License at limitations under the License. */ -namespace RosMessageGeneration +namespace Unity.Robotics.ROSTCPConnector.MessageGeneration { public class MessageToken diff --git a/Runtime/MessageGeneration/MessageToken.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/MessageToken.cs.meta similarity index 100% rename from Runtime/MessageGeneration/MessageToken.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/MessageToken.cs.meta diff --git a/Runtime/MessageGeneration/MessageTokenizer.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/MessageTokenizer.cs similarity index 99% rename from Runtime/MessageGeneration/MessageTokenizer.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/MessageTokenizer.cs index abb4a5a3..953f14f0 100644 --- a/Runtime/MessageGeneration/MessageTokenizer.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/MessageTokenizer.cs @@ -13,10 +13,10 @@ limitations under the License. */ using System; -using System.IO; using System.Collections.Generic; +using System.IO; -namespace RosMessageGeneration +namespace Unity.Robotics.ROSTCPConnector.MessageGeneration { public class MessageTokenizer { diff --git a/Runtime/MessageGeneration/MessageTokenizer.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/MessageTokenizer.cs.meta similarity index 100% rename from Runtime/MessageGeneration/MessageTokenizer.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/MessageTokenizer.cs.meta diff --git a/Runtime/MessageGeneration/MsgAutoGenUtilities.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/MsgAutoGenUtilities.cs similarity index 98% rename from Runtime/MessageGeneration/MsgAutoGenUtilities.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/MsgAutoGenUtilities.cs index db165bec..8dd7c32d 100644 --- a/Runtime/MessageGeneration/MsgAutoGenUtilities.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/MsgAutoGenUtilities.cs @@ -15,7 +15,7 @@ limitations under the License. using System; using System.Collections.Generic; -namespace RosMessageGeneration +namespace Unity.Robotics.ROSTCPConnector.MessageGeneration { public class MsgAutoGenUtilities { diff --git a/Runtime/MessageGeneration/MsgAutoGenUtilities.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/MsgAutoGenUtilities.cs.meta similarity index 100% rename from Runtime/MessageGeneration/MsgAutoGenUtilities.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/MsgAutoGenUtilities.cs.meta diff --git a/Runtime/MessageGeneration/ROSConnection_msgs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ROSConnection_msgs.meta similarity index 100% rename from Runtime/MessageGeneration/ROSConnection_msgs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ROSConnection_msgs.meta diff --git a/Runtime/MessageGeneration/ROSConnection_msgs/msg.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ROSConnection_msgs/msg.meta similarity index 100% rename from Runtime/MessageGeneration/ROSConnection_msgs/msg.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ROSConnection_msgs/msg.meta diff --git a/Runtime/MessageGeneration/ROSConnection_msgs/msg/RosUnityError.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ROSConnection_msgs/msg/RosUnityError.cs similarity index 95% rename from Runtime/MessageGeneration/ROSConnection_msgs/msg/RosUnityError.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ROSConnection_msgs/msg/RosUnityError.cs index 633b19cc..fffcd009 100644 --- a/Runtime/MessageGeneration/ROSConnection_msgs/msg/RosUnityError.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ROSConnection_msgs/msg/RosUnityError.cs @@ -4,6 +4,7 @@ using System.Collections.Generic; using System.Text; using RosMessageGeneration; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.RosTcpEndpoint { diff --git a/Runtime/MessageGeneration/ROSConnection_msgs/msg/RosUnityError.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ROSConnection_msgs/msg/RosUnityError.cs.meta similarity index 100% rename from Runtime/MessageGeneration/ROSConnection_msgs/msg/RosUnityError.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ROSConnection_msgs/msg/RosUnityError.cs.meta diff --git a/Runtime/MessageGeneration/ROSConnection_msgs/msg/RosUnitySysCommand.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ROSConnection_msgs/msg/RosUnitySysCommand.cs similarity index 97% rename from Runtime/MessageGeneration/ROSConnection_msgs/msg/RosUnitySysCommand.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ROSConnection_msgs/msg/RosUnitySysCommand.cs index 8f319171..f26137d2 100644 --- a/Runtime/MessageGeneration/ROSConnection_msgs/msg/RosUnitySysCommand.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ROSConnection_msgs/msg/RosUnitySysCommand.cs @@ -4,6 +4,7 @@ using System.Collections.Generic; using System.Text; using RosMessageGeneration; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.RosTcpEndpoint { diff --git a/Runtime/MessageGeneration/ROSConnection_msgs/msg/RosUnitySysCommand.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ROSConnection_msgs/msg/RosUnitySysCommand.cs.meta similarity index 100% rename from Runtime/MessageGeneration/ROSConnection_msgs/msg/RosUnitySysCommand.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ROSConnection_msgs/msg/RosUnitySysCommand.cs.meta diff --git a/Runtime/MessageGeneration/ROSConnection_msgs/srv.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ROSConnection_msgs/srv.meta similarity index 100% rename from Runtime/MessageGeneration/ROSConnection_msgs/srv.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ROSConnection_msgs/srv.meta diff --git a/Runtime/MessageGeneration/ROSConnection_msgs/srv/UnityHandshakeRequest.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ROSConnection_msgs/srv/UnityHandshakeRequest.cs similarity index 96% rename from Runtime/MessageGeneration/ROSConnection_msgs/srv/UnityHandshakeRequest.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ROSConnection_msgs/srv/UnityHandshakeRequest.cs index 78fd1340..591d172b 100644 --- a/Runtime/MessageGeneration/ROSConnection_msgs/srv/UnityHandshakeRequest.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ROSConnection_msgs/srv/UnityHandshakeRequest.cs @@ -4,6 +4,7 @@ using System.Collections.Generic; using System.Text; using RosMessageGeneration; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.RosTcpEndpoint { diff --git a/Runtime/MessageGeneration/ROSConnection_msgs/srv/UnityHandshakeRequest.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ROSConnection_msgs/srv/UnityHandshakeRequest.cs.meta similarity index 100% rename from Runtime/MessageGeneration/ROSConnection_msgs/srv/UnityHandshakeRequest.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ROSConnection_msgs/srv/UnityHandshakeRequest.cs.meta diff --git a/Runtime/MessageGeneration/ROSConnection_msgs/srv/UnityHandshakeResponse.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ROSConnection_msgs/srv/UnityHandshakeResponse.cs similarity index 95% rename from Runtime/MessageGeneration/ROSConnection_msgs/srv/UnityHandshakeResponse.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ROSConnection_msgs/srv/UnityHandshakeResponse.cs index 73137463..5bce5aa8 100644 --- a/Runtime/MessageGeneration/ROSConnection_msgs/srv/UnityHandshakeResponse.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ROSConnection_msgs/srv/UnityHandshakeResponse.cs @@ -4,6 +4,7 @@ using System.Collections.Generic; using System.Text; using RosMessageGeneration; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.RosTcpEndpoint { diff --git a/Runtime/MessageGeneration/ROSConnection_msgs/srv/UnityHandshakeResponse.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ROSConnection_msgs/srv/UnityHandshakeResponse.cs.meta similarity index 100% rename from Runtime/MessageGeneration/ROSConnection_msgs/srv/UnityHandshakeResponse.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ROSConnection_msgs/srv/UnityHandshakeResponse.cs.meta diff --git a/Runtime/MessageGeneration/ServiceAutoGen.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ServiceAutoGen.cs similarity index 98% rename from Runtime/MessageGeneration/ServiceAutoGen.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ServiceAutoGen.cs index 2d0d9ffd..9348e322 100644 --- a/Runtime/MessageGeneration/ServiceAutoGen.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ServiceAutoGen.cs @@ -13,10 +13,10 @@ limitations under the License. */ using System; -using System.IO; using System.Collections.Generic; +using System.IO; -namespace RosMessageGeneration +namespace Unity.Robotics.ROSTCPConnector.MessageGeneration { public class ServiceAutoGen { diff --git a/Runtime/MessageGeneration/ServiceAutoGen.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ServiceAutoGen.cs.meta similarity index 100% rename from Runtime/MessageGeneration/ServiceAutoGen.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ServiceAutoGen.cs.meta diff --git a/Runtime/MessageGeneration/common_msgs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs.meta diff --git a/Runtime/MessageGeneration/common_msgs/Actionlib.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Actionlib.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Actionlib.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Actionlib.meta diff --git a/Runtime/MessageGeneration/common_msgs/Actionlib/msg.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Actionlib/msg.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Actionlib/msg.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Actionlib/msg.meta diff --git a/Runtime/MessageGeneration/common_msgs/Actionlib/msg/GoalID.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Actionlib/msg/GoalID.cs similarity index 97% rename from Runtime/MessageGeneration/common_msgs/Actionlib/msg/GoalID.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Actionlib/msg/GoalID.cs index ee09be21..085cbcb4 100644 --- a/Runtime/MessageGeneration/common_msgs/Actionlib/msg/GoalID.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Actionlib/msg/GoalID.cs @@ -5,6 +5,7 @@ using System.Text; using RosMessageGeneration; using RosMessageTypes.Std; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Actionlib { diff --git a/Runtime/MessageGeneration/common_msgs/Actionlib/msg/GoalID.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Actionlib/msg/GoalID.cs.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Actionlib/msg/GoalID.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Actionlib/msg/GoalID.cs.meta diff --git a/Runtime/MessageGeneration/common_msgs/Actionlib/msg/GoalStatus.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Actionlib/msg/GoalStatus.cs similarity index 98% rename from Runtime/MessageGeneration/common_msgs/Actionlib/msg/GoalStatus.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Actionlib/msg/GoalStatus.cs index a6cfe8de..bb0a52fb 100644 --- a/Runtime/MessageGeneration/common_msgs/Actionlib/msg/GoalStatus.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Actionlib/msg/GoalStatus.cs @@ -4,6 +4,7 @@ using System.Collections.Generic; using System.Text; using RosMessageGeneration; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Actionlib { diff --git a/Runtime/MessageGeneration/common_msgs/Actionlib/msg/GoalStatus.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Actionlib/msg/GoalStatus.cs.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Actionlib/msg/GoalStatus.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Actionlib/msg/GoalStatus.cs.meta diff --git a/Runtime/MessageGeneration/common_msgs/Actionlib/msg/GoalStatusArray.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Actionlib/msg/GoalStatusArray.cs similarity index 97% rename from Runtime/MessageGeneration/common_msgs/Actionlib/msg/GoalStatusArray.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Actionlib/msg/GoalStatusArray.cs index e3b1def9..d222df70 100644 --- a/Runtime/MessageGeneration/common_msgs/Actionlib/msg/GoalStatusArray.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Actionlib/msg/GoalStatusArray.cs @@ -5,6 +5,7 @@ using System.Text; using RosMessageGeneration; using RosMessageTypes.Std; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Actionlib { diff --git a/Runtime/MessageGeneration/common_msgs/Actionlib/msg/GoalStatusArray.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Actionlib/msg/GoalStatusArray.cs.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Actionlib/msg/GoalStatusArray.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Actionlib/msg/GoalStatusArray.cs.meta diff --git a/Runtime/MessageGeneration/common_msgs/Diagnostic.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Diagnostic.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Diagnostic.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Diagnostic.meta diff --git a/Runtime/MessageGeneration/common_msgs/Diagnostic/msg.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Diagnostic/msg.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Diagnostic/msg.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Diagnostic/msg.meta diff --git a/Runtime/MessageGeneration/common_msgs/Diagnostic/msg/DiagnosticArray.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Diagnostic/msg/DiagnosticArray.cs similarity index 97% rename from Runtime/MessageGeneration/common_msgs/Diagnostic/msg/DiagnosticArray.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Diagnostic/msg/DiagnosticArray.cs index f3f26ed9..ef3f3906 100644 --- a/Runtime/MessageGeneration/common_msgs/Diagnostic/msg/DiagnosticArray.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Diagnostic/msg/DiagnosticArray.cs @@ -5,6 +5,7 @@ using System.Text; using RosMessageGeneration; using RosMessageTypes.Std; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Diagnostic { diff --git a/Runtime/MessageGeneration/common_msgs/Diagnostic/msg/DiagnosticArray.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Diagnostic/msg/DiagnosticArray.cs.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Diagnostic/msg/DiagnosticArray.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Diagnostic/msg/DiagnosticArray.cs.meta diff --git a/Runtime/MessageGeneration/common_msgs/Diagnostic/msg/DiagnosticStatus.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Diagnostic/msg/DiagnosticStatus.cs similarity index 98% rename from Runtime/MessageGeneration/common_msgs/Diagnostic/msg/DiagnosticStatus.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Diagnostic/msg/DiagnosticStatus.cs index bfc4abb9..9139a148 100644 --- a/Runtime/MessageGeneration/common_msgs/Diagnostic/msg/DiagnosticStatus.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Diagnostic/msg/DiagnosticStatus.cs @@ -4,6 +4,7 @@ using System.Collections.Generic; using System.Text; using RosMessageGeneration; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Diagnostic { diff --git a/Runtime/MessageGeneration/common_msgs/Diagnostic/msg/DiagnosticStatus.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Diagnostic/msg/DiagnosticStatus.cs.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Diagnostic/msg/DiagnosticStatus.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Diagnostic/msg/DiagnosticStatus.cs.meta diff --git a/Runtime/MessageGeneration/common_msgs/Diagnostic/msg/KeyValue.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Diagnostic/msg/KeyValue.cs similarity index 96% rename from Runtime/MessageGeneration/common_msgs/Diagnostic/msg/KeyValue.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Diagnostic/msg/KeyValue.cs index 813d37d2..622d7e25 100644 --- a/Runtime/MessageGeneration/common_msgs/Diagnostic/msg/KeyValue.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Diagnostic/msg/KeyValue.cs @@ -4,6 +4,7 @@ using System.Collections.Generic; using System.Text; using RosMessageGeneration; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Diagnostic { diff --git a/Runtime/MessageGeneration/common_msgs/Diagnostic/msg/KeyValue.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Diagnostic/msg/KeyValue.cs.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Diagnostic/msg/KeyValue.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Diagnostic/msg/KeyValue.cs.meta diff --git a/Runtime/MessageGeneration/common_msgs/Geometry.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Geometry.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry.meta diff --git a/Runtime/MessageGeneration/common_msgs/Geometry/msg.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Geometry/msg.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg.meta diff --git a/Runtime/MessageGeneration/common_msgs/Geometry/msg/Accel.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Accel.cs similarity index 96% rename from Runtime/MessageGeneration/common_msgs/Geometry/msg/Accel.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Accel.cs index de04c42d..e054b21a 100644 --- a/Runtime/MessageGeneration/common_msgs/Geometry/msg/Accel.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Accel.cs @@ -4,6 +4,7 @@ using System.Collections.Generic; using System.Text; using RosMessageGeneration; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Geometry { diff --git a/Runtime/MessageGeneration/common_msgs/Geometry/msg/Accel.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Accel.cs.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Geometry/msg/Accel.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Accel.cs.meta diff --git a/Runtime/MessageGeneration/common_msgs/Geometry/msg/AccelStamped.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/AccelStamped.cs similarity index 96% rename from Runtime/MessageGeneration/common_msgs/Geometry/msg/AccelStamped.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/AccelStamped.cs index 515895ef..d90df010 100644 --- a/Runtime/MessageGeneration/common_msgs/Geometry/msg/AccelStamped.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/AccelStamped.cs @@ -5,6 +5,7 @@ using System.Text; using RosMessageGeneration; using RosMessageTypes.Std; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Geometry { diff --git a/Runtime/MessageGeneration/common_msgs/Geometry/msg/AccelStamped.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/AccelStamped.cs.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Geometry/msg/AccelStamped.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/AccelStamped.cs.meta diff --git a/Runtime/MessageGeneration/common_msgs/Geometry/msg/AccelWithCovariance.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/AccelWithCovariance.cs similarity index 97% rename from Runtime/MessageGeneration/common_msgs/Geometry/msg/AccelWithCovariance.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/AccelWithCovariance.cs index c7ff112d..84989c89 100644 --- a/Runtime/MessageGeneration/common_msgs/Geometry/msg/AccelWithCovariance.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/AccelWithCovariance.cs @@ -4,6 +4,7 @@ using System.Collections.Generic; using System.Text; using RosMessageGeneration; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Geometry { diff --git a/Runtime/MessageGeneration/common_msgs/Geometry/msg/AccelWithCovariance.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/AccelWithCovariance.cs.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Geometry/msg/AccelWithCovariance.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/AccelWithCovariance.cs.meta diff --git a/Runtime/MessageGeneration/common_msgs/Geometry/msg/AccelWithCovarianceStamped.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/AccelWithCovarianceStamped.cs similarity index 96% rename from Runtime/MessageGeneration/common_msgs/Geometry/msg/AccelWithCovarianceStamped.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/AccelWithCovarianceStamped.cs index f9d5ab35..ae76d9d4 100644 --- a/Runtime/MessageGeneration/common_msgs/Geometry/msg/AccelWithCovarianceStamped.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/AccelWithCovarianceStamped.cs @@ -5,6 +5,7 @@ using System.Text; using RosMessageGeneration; using RosMessageTypes.Std; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Geometry { diff --git a/Runtime/MessageGeneration/common_msgs/Geometry/msg/AccelWithCovarianceStamped.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/AccelWithCovarianceStamped.cs.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Geometry/msg/AccelWithCovarianceStamped.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/AccelWithCovarianceStamped.cs.meta diff --git a/Runtime/MessageGeneration/common_msgs/Geometry/msg/Inertia.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Inertia.cs similarity index 98% rename from Runtime/MessageGeneration/common_msgs/Geometry/msg/Inertia.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Inertia.cs index 6073aeaa..6c3c0a8b 100644 --- a/Runtime/MessageGeneration/common_msgs/Geometry/msg/Inertia.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Inertia.cs @@ -4,6 +4,7 @@ using System.Collections.Generic; using System.Text; using RosMessageGeneration; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Geometry { diff --git a/Runtime/MessageGeneration/common_msgs/Geometry/msg/Inertia.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Inertia.cs.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Geometry/msg/Inertia.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Inertia.cs.meta diff --git a/Runtime/MessageGeneration/common_msgs/Geometry/msg/InertiaStamped.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/InertiaStamped.cs similarity index 96% rename from Runtime/MessageGeneration/common_msgs/Geometry/msg/InertiaStamped.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/InertiaStamped.cs index e31084e1..63741126 100644 --- a/Runtime/MessageGeneration/common_msgs/Geometry/msg/InertiaStamped.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/InertiaStamped.cs @@ -5,6 +5,7 @@ using System.Text; using RosMessageGeneration; using RosMessageTypes.Std; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Geometry { diff --git a/Runtime/MessageGeneration/common_msgs/Geometry/msg/InertiaStamped.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/InertiaStamped.cs.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Geometry/msg/InertiaStamped.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/InertiaStamped.cs.meta diff --git a/Runtime/MessageGeneration/common_msgs/Geometry/msg/Point.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Point.cs similarity index 96% rename from Runtime/MessageGeneration/common_msgs/Geometry/msg/Point.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Point.cs index dd6f6726..dd79e2b4 100644 --- a/Runtime/MessageGeneration/common_msgs/Geometry/msg/Point.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Point.cs @@ -4,6 +4,7 @@ using System.Collections.Generic; using System.Text; using RosMessageGeneration; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Geometry { diff --git a/Runtime/MessageGeneration/common_msgs/Geometry/msg/Point.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Point.cs.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Geometry/msg/Point.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Point.cs.meta diff --git a/Runtime/MessageGeneration/common_msgs/Geometry/msg/Point32.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Point32.cs similarity index 97% rename from Runtime/MessageGeneration/common_msgs/Geometry/msg/Point32.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Point32.cs index 78b3961e..7a8a1908 100644 --- a/Runtime/MessageGeneration/common_msgs/Geometry/msg/Point32.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Point32.cs @@ -4,6 +4,7 @@ using System.Collections.Generic; using System.Text; using RosMessageGeneration; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Geometry { diff --git a/Runtime/MessageGeneration/common_msgs/Geometry/msg/Point32.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Point32.cs.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Geometry/msg/Point32.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Point32.cs.meta diff --git a/Runtime/MessageGeneration/common_msgs/Geometry/msg/PointStamped.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/PointStamped.cs similarity index 96% rename from Runtime/MessageGeneration/common_msgs/Geometry/msg/PointStamped.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/PointStamped.cs index 8b8cf3b5..c75bc614 100644 --- a/Runtime/MessageGeneration/common_msgs/Geometry/msg/PointStamped.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/PointStamped.cs @@ -5,6 +5,7 @@ using System.Text; using RosMessageGeneration; using RosMessageTypes.Std; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Geometry { diff --git a/Runtime/MessageGeneration/common_msgs/Geometry/msg/PointStamped.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/PointStamped.cs.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Geometry/msg/PointStamped.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/PointStamped.cs.meta diff --git a/Runtime/MessageGeneration/common_msgs/Geometry/msg/Polygon.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Polygon.cs similarity index 96% rename from Runtime/MessageGeneration/common_msgs/Geometry/msg/Polygon.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Polygon.cs index 5253e7ec..f3ab5f57 100644 --- a/Runtime/MessageGeneration/common_msgs/Geometry/msg/Polygon.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Polygon.cs @@ -4,6 +4,7 @@ using System.Collections.Generic; using System.Text; using RosMessageGeneration; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Geometry { diff --git a/Runtime/MessageGeneration/common_msgs/Geometry/msg/Polygon.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Polygon.cs.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Geometry/msg/Polygon.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Polygon.cs.meta diff --git a/Runtime/MessageGeneration/common_msgs/Geometry/msg/PolygonStamped.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/PolygonStamped.cs similarity index 96% rename from Runtime/MessageGeneration/common_msgs/Geometry/msg/PolygonStamped.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/PolygonStamped.cs index 2b306490..77685a9e 100644 --- a/Runtime/MessageGeneration/common_msgs/Geometry/msg/PolygonStamped.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/PolygonStamped.cs @@ -5,6 +5,7 @@ using System.Text; using RosMessageGeneration; using RosMessageTypes.Std; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Geometry { diff --git a/Runtime/MessageGeneration/common_msgs/Geometry/msg/PolygonStamped.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/PolygonStamped.cs.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Geometry/msg/PolygonStamped.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/PolygonStamped.cs.meta diff --git a/Runtime/MessageGeneration/common_msgs/Geometry/msg/Pose.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Pose.cs similarity index 96% rename from Runtime/MessageGeneration/common_msgs/Geometry/msg/Pose.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Pose.cs index 47d932c7..f3d7e0ac 100644 --- a/Runtime/MessageGeneration/common_msgs/Geometry/msg/Pose.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Pose.cs @@ -4,6 +4,7 @@ using System.Collections.Generic; using System.Text; using RosMessageGeneration; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Geometry { diff --git a/Runtime/MessageGeneration/common_msgs/Geometry/msg/Pose.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Pose.cs.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Geometry/msg/Pose.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Pose.cs.meta diff --git a/Runtime/MessageGeneration/common_msgs/Geometry/msg/Pose2D.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Pose2D.cs similarity index 97% rename from Runtime/MessageGeneration/common_msgs/Geometry/msg/Pose2D.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Pose2D.cs index fccb193f..3917aaeb 100644 --- a/Runtime/MessageGeneration/common_msgs/Geometry/msg/Pose2D.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Pose2D.cs @@ -4,6 +4,7 @@ using System.Collections.Generic; using System.Text; using RosMessageGeneration; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Geometry { diff --git a/Runtime/MessageGeneration/common_msgs/Geometry/msg/Pose2D.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Pose2D.cs.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Geometry/msg/Pose2D.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Pose2D.cs.meta diff --git a/Runtime/MessageGeneration/common_msgs/Geometry/msg/PoseArray.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/PoseArray.cs similarity index 97% rename from Runtime/MessageGeneration/common_msgs/Geometry/msg/PoseArray.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/PoseArray.cs index 3af26a4b..91b90ebd 100644 --- a/Runtime/MessageGeneration/common_msgs/Geometry/msg/PoseArray.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/PoseArray.cs @@ -5,6 +5,7 @@ using System.Text; using RosMessageGeneration; using RosMessageTypes.Std; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Geometry { diff --git a/Runtime/MessageGeneration/common_msgs/Geometry/msg/PoseArray.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/PoseArray.cs.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Geometry/msg/PoseArray.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/PoseArray.cs.meta diff --git a/Runtime/MessageGeneration/common_msgs/Geometry/msg/PoseStamped.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/PoseStamped.cs similarity index 96% rename from Runtime/MessageGeneration/common_msgs/Geometry/msg/PoseStamped.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/PoseStamped.cs index fd3c0807..7c275e4e 100644 --- a/Runtime/MessageGeneration/common_msgs/Geometry/msg/PoseStamped.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/PoseStamped.cs @@ -5,6 +5,7 @@ using System.Text; using RosMessageGeneration; using RosMessageTypes.Std; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Geometry { diff --git a/Runtime/MessageGeneration/common_msgs/Geometry/msg/PoseStamped.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/PoseStamped.cs.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Geometry/msg/PoseStamped.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/PoseStamped.cs.meta diff --git a/Runtime/MessageGeneration/common_msgs/Geometry/msg/PoseWithCovariance.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/PoseWithCovariance.cs similarity index 97% rename from Runtime/MessageGeneration/common_msgs/Geometry/msg/PoseWithCovariance.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/PoseWithCovariance.cs index dc97c255..027c0ac4 100644 --- a/Runtime/MessageGeneration/common_msgs/Geometry/msg/PoseWithCovariance.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/PoseWithCovariance.cs @@ -4,6 +4,7 @@ using System.Collections.Generic; using System.Text; using RosMessageGeneration; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Geometry { diff --git a/Runtime/MessageGeneration/common_msgs/Geometry/msg/PoseWithCovariance.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/PoseWithCovariance.cs.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Geometry/msg/PoseWithCovariance.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/PoseWithCovariance.cs.meta diff --git a/Runtime/MessageGeneration/common_msgs/Geometry/msg/PoseWithCovarianceStamped.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/PoseWithCovarianceStamped.cs similarity index 96% rename from Runtime/MessageGeneration/common_msgs/Geometry/msg/PoseWithCovarianceStamped.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/PoseWithCovarianceStamped.cs index f07a494d..3a42fe0d 100644 --- a/Runtime/MessageGeneration/common_msgs/Geometry/msg/PoseWithCovarianceStamped.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/PoseWithCovarianceStamped.cs @@ -5,6 +5,7 @@ using System.Text; using RosMessageGeneration; using RosMessageTypes.Std; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Geometry { diff --git a/Runtime/MessageGeneration/common_msgs/Geometry/msg/PoseWithCovarianceStamped.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/PoseWithCovarianceStamped.cs.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Geometry/msg/PoseWithCovarianceStamped.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/PoseWithCovarianceStamped.cs.meta diff --git a/Runtime/MessageGeneration/common_msgs/Geometry/msg/Quaternion.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Quaternion.cs similarity index 97% rename from Runtime/MessageGeneration/common_msgs/Geometry/msg/Quaternion.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Quaternion.cs index ffa80f4b..63e8416b 100644 --- a/Runtime/MessageGeneration/common_msgs/Geometry/msg/Quaternion.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Quaternion.cs @@ -4,6 +4,7 @@ using System.Collections.Generic; using System.Text; using RosMessageGeneration; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Geometry { diff --git a/Runtime/MessageGeneration/common_msgs/Geometry/msg/Quaternion.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Quaternion.cs.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Geometry/msg/Quaternion.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Quaternion.cs.meta diff --git a/Runtime/MessageGeneration/common_msgs/Geometry/msg/QuaternionStamped.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/QuaternionStamped.cs similarity index 96% rename from Runtime/MessageGeneration/common_msgs/Geometry/msg/QuaternionStamped.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/QuaternionStamped.cs index ee0a2852..00ed9ffb 100644 --- a/Runtime/MessageGeneration/common_msgs/Geometry/msg/QuaternionStamped.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/QuaternionStamped.cs @@ -5,6 +5,7 @@ using System.Text; using RosMessageGeneration; using RosMessageTypes.Std; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Geometry { diff --git a/Runtime/MessageGeneration/common_msgs/Geometry/msg/QuaternionStamped.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/QuaternionStamped.cs.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Geometry/msg/QuaternionStamped.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/QuaternionStamped.cs.meta diff --git a/Runtime/MessageGeneration/common_msgs/Geometry/msg/Transform.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Transform.cs similarity index 96% rename from Runtime/MessageGeneration/common_msgs/Geometry/msg/Transform.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Transform.cs index 11e21c78..ec8ade6f 100644 --- a/Runtime/MessageGeneration/common_msgs/Geometry/msg/Transform.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Transform.cs @@ -4,6 +4,7 @@ using System.Collections.Generic; using System.Text; using RosMessageGeneration; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Geometry { diff --git a/Runtime/MessageGeneration/common_msgs/Geometry/msg/Transform.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Transform.cs.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Geometry/msg/Transform.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Transform.cs.meta diff --git a/Runtime/MessageGeneration/common_msgs/Geometry/msg/TransformStamped.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/TransformStamped.cs similarity index 97% rename from Runtime/MessageGeneration/common_msgs/Geometry/msg/TransformStamped.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/TransformStamped.cs index a23a3c8c..70a41eed 100644 --- a/Runtime/MessageGeneration/common_msgs/Geometry/msg/TransformStamped.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/TransformStamped.cs @@ -5,6 +5,7 @@ using System.Text; using RosMessageGeneration; using RosMessageTypes.Std; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Geometry { diff --git a/Runtime/MessageGeneration/common_msgs/Geometry/msg/TransformStamped.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/TransformStamped.cs.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Geometry/msg/TransformStamped.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/TransformStamped.cs.meta diff --git a/Runtime/MessageGeneration/common_msgs/Geometry/msg/Twist.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Twist.cs similarity index 96% rename from Runtime/MessageGeneration/common_msgs/Geometry/msg/Twist.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Twist.cs index ef85b251..25251b87 100644 --- a/Runtime/MessageGeneration/common_msgs/Geometry/msg/Twist.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Twist.cs @@ -4,6 +4,7 @@ using System.Collections.Generic; using System.Text; using RosMessageGeneration; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Geometry { diff --git a/Runtime/MessageGeneration/common_msgs/Geometry/msg/Twist.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Twist.cs.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Geometry/msg/Twist.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Twist.cs.meta diff --git a/Runtime/MessageGeneration/common_msgs/Geometry/msg/TwistStamped.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/TwistStamped.cs similarity index 96% rename from Runtime/MessageGeneration/common_msgs/Geometry/msg/TwistStamped.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/TwistStamped.cs index d92a833b..56c6306a 100644 --- a/Runtime/MessageGeneration/common_msgs/Geometry/msg/TwistStamped.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/TwistStamped.cs @@ -5,6 +5,7 @@ using System.Text; using RosMessageGeneration; using RosMessageTypes.Std; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Geometry { diff --git a/Runtime/MessageGeneration/common_msgs/Geometry/msg/TwistStamped.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/TwistStamped.cs.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Geometry/msg/TwistStamped.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/TwistStamped.cs.meta diff --git a/Runtime/MessageGeneration/common_msgs/Geometry/msg/TwistWithCovariance.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/TwistWithCovariance.cs similarity index 97% rename from Runtime/MessageGeneration/common_msgs/Geometry/msg/TwistWithCovariance.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/TwistWithCovariance.cs index 57dadc32..3b64db08 100644 --- a/Runtime/MessageGeneration/common_msgs/Geometry/msg/TwistWithCovariance.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/TwistWithCovariance.cs @@ -4,6 +4,7 @@ using System.Collections.Generic; using System.Text; using RosMessageGeneration; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Geometry { diff --git a/Runtime/MessageGeneration/common_msgs/Geometry/msg/TwistWithCovariance.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/TwistWithCovariance.cs.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Geometry/msg/TwistWithCovariance.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/TwistWithCovariance.cs.meta diff --git a/Runtime/MessageGeneration/common_msgs/Geometry/msg/TwistWithCovarianceStamped.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/TwistWithCovarianceStamped.cs similarity index 96% rename from Runtime/MessageGeneration/common_msgs/Geometry/msg/TwistWithCovarianceStamped.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/TwistWithCovarianceStamped.cs index f6fbe562..6eff0a03 100644 --- a/Runtime/MessageGeneration/common_msgs/Geometry/msg/TwistWithCovarianceStamped.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/TwistWithCovarianceStamped.cs @@ -5,6 +5,7 @@ using System.Text; using RosMessageGeneration; using RosMessageTypes.Std; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Geometry { diff --git a/Runtime/MessageGeneration/common_msgs/Geometry/msg/TwistWithCovarianceStamped.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/TwistWithCovarianceStamped.cs.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Geometry/msg/TwistWithCovarianceStamped.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/TwistWithCovarianceStamped.cs.meta diff --git a/Runtime/MessageGeneration/common_msgs/Geometry/msg/Vector3.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Vector3.cs similarity index 97% rename from Runtime/MessageGeneration/common_msgs/Geometry/msg/Vector3.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Vector3.cs index 1b11d161..31a13f0f 100644 --- a/Runtime/MessageGeneration/common_msgs/Geometry/msg/Vector3.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Vector3.cs @@ -4,6 +4,7 @@ using System.Collections.Generic; using System.Text; using RosMessageGeneration; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Geometry { diff --git a/Runtime/MessageGeneration/common_msgs/Geometry/msg/Vector3.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Vector3.cs.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Geometry/msg/Vector3.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Vector3.cs.meta diff --git a/Runtime/MessageGeneration/common_msgs/Geometry/msg/Vector3Stamped.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Vector3Stamped.cs similarity index 96% rename from Runtime/MessageGeneration/common_msgs/Geometry/msg/Vector3Stamped.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Vector3Stamped.cs index 072065a9..0848eed0 100644 --- a/Runtime/MessageGeneration/common_msgs/Geometry/msg/Vector3Stamped.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Vector3Stamped.cs @@ -5,6 +5,7 @@ using System.Text; using RosMessageGeneration; using RosMessageTypes.Std; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Geometry { diff --git a/Runtime/MessageGeneration/common_msgs/Geometry/msg/Vector3Stamped.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Vector3Stamped.cs.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Geometry/msg/Vector3Stamped.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Vector3Stamped.cs.meta diff --git a/Runtime/MessageGeneration/common_msgs/Geometry/msg/Wrench.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Wrench.cs similarity index 96% rename from Runtime/MessageGeneration/common_msgs/Geometry/msg/Wrench.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Wrench.cs index 93c1eeac..6b77b4b8 100644 --- a/Runtime/MessageGeneration/common_msgs/Geometry/msg/Wrench.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Wrench.cs @@ -4,6 +4,7 @@ using System.Collections.Generic; using System.Text; using RosMessageGeneration; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Geometry { diff --git a/Runtime/MessageGeneration/common_msgs/Geometry/msg/Wrench.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Wrench.cs.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Geometry/msg/Wrench.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Wrench.cs.meta diff --git a/Runtime/MessageGeneration/common_msgs/Geometry/msg/WrenchStamped.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/WrenchStamped.cs similarity index 96% rename from Runtime/MessageGeneration/common_msgs/Geometry/msg/WrenchStamped.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/WrenchStamped.cs index 9fb8ea23..bee01e4b 100644 --- a/Runtime/MessageGeneration/common_msgs/Geometry/msg/WrenchStamped.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/WrenchStamped.cs @@ -5,6 +5,7 @@ using System.Text; using RosMessageGeneration; using RosMessageTypes.Std; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Geometry { diff --git a/Runtime/MessageGeneration/common_msgs/Geometry/msg/WrenchStamped.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/WrenchStamped.cs.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Geometry/msg/WrenchStamped.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/WrenchStamped.cs.meta diff --git a/Runtime/MessageGeneration/common_msgs/Nav.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Nav.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav.meta diff --git a/Runtime/MessageGeneration/common_msgs/Nav/msg.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/msg.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Nav/msg.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/msg.meta diff --git a/Runtime/MessageGeneration/common_msgs/Nav/msg/GridCells.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/msg/GridCells.cs similarity index 97% rename from Runtime/MessageGeneration/common_msgs/Nav/msg/GridCells.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/msg/GridCells.cs index 1ce15fc4..5f8e5df4 100644 --- a/Runtime/MessageGeneration/common_msgs/Nav/msg/GridCells.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/msg/GridCells.cs @@ -5,6 +5,7 @@ using System.Text; using RosMessageGeneration; using RosMessageTypes.Std; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Nav { diff --git a/Runtime/MessageGeneration/common_msgs/Nav/msg/GridCells.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/msg/GridCells.cs.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Nav/msg/GridCells.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/msg/GridCells.cs.meta diff --git a/Runtime/MessageGeneration/common_msgs/Nav/msg/MapMetaData.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/msg/MapMetaData.cs similarity index 98% rename from Runtime/MessageGeneration/common_msgs/Nav/msg/MapMetaData.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/msg/MapMetaData.cs index b33270b8..3ed8a0d9 100644 --- a/Runtime/MessageGeneration/common_msgs/Nav/msg/MapMetaData.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/msg/MapMetaData.cs @@ -5,6 +5,7 @@ using System.Text; using RosMessageGeneration; using RosMessageTypes.Std; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Nav { diff --git a/Runtime/MessageGeneration/common_msgs/Nav/msg/MapMetaData.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/msg/MapMetaData.cs.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Nav/msg/MapMetaData.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/msg/MapMetaData.cs.meta diff --git a/Runtime/MessageGeneration/common_msgs/Nav/msg/OccupancyGrid.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/msg/OccupancyGrid.cs similarity index 97% rename from Runtime/MessageGeneration/common_msgs/Nav/msg/OccupancyGrid.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/msg/OccupancyGrid.cs index 8886ce55..bb0cfac6 100644 --- a/Runtime/MessageGeneration/common_msgs/Nav/msg/OccupancyGrid.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/msg/OccupancyGrid.cs @@ -5,6 +5,7 @@ using System.Text; using RosMessageGeneration; using RosMessageTypes.Std; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Nav { diff --git a/Runtime/MessageGeneration/common_msgs/Nav/msg/OccupancyGrid.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/msg/OccupancyGrid.cs.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Nav/msg/OccupancyGrid.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/msg/OccupancyGrid.cs.meta diff --git a/Runtime/MessageGeneration/common_msgs/Nav/msg/Odometry.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/msg/Odometry.cs similarity index 97% rename from Runtime/MessageGeneration/common_msgs/Nav/msg/Odometry.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/msg/Odometry.cs index 66ce85c1..671e0b8b 100644 --- a/Runtime/MessageGeneration/common_msgs/Nav/msg/Odometry.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/msg/Odometry.cs @@ -5,6 +5,7 @@ using System.Text; using RosMessageGeneration; using RosMessageTypes.Std; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Nav { diff --git a/Runtime/MessageGeneration/common_msgs/Nav/msg/Odometry.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/msg/Odometry.cs.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Nav/msg/Odometry.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/msg/Odometry.cs.meta diff --git a/Runtime/MessageGeneration/common_msgs/Nav/msg/Path.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/msg/Path.cs similarity index 97% rename from Runtime/MessageGeneration/common_msgs/Nav/msg/Path.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/msg/Path.cs index 2aed1cdd..ce2af535 100644 --- a/Runtime/MessageGeneration/common_msgs/Nav/msg/Path.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/msg/Path.cs @@ -5,6 +5,7 @@ using System.Text; using RosMessageGeneration; using RosMessageTypes.Std; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Nav { diff --git a/Runtime/MessageGeneration/common_msgs/Nav/msg/Path.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/msg/Path.cs.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Nav/msg/Path.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/msg/Path.cs.meta diff --git a/Runtime/MessageGeneration/common_msgs/Sensor.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Sensor.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor.meta diff --git a/Runtime/MessageGeneration/common_msgs/Sensor/msg.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Sensor/msg.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg.meta diff --git a/Runtime/MessageGeneration/common_msgs/Sensor/msg/BatteryState.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/BatteryState.cs similarity index 99% rename from Runtime/MessageGeneration/common_msgs/Sensor/msg/BatteryState.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/BatteryState.cs index 4e35b096..92ff54fb 100644 --- a/Runtime/MessageGeneration/common_msgs/Sensor/msg/BatteryState.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/BatteryState.cs @@ -5,6 +5,7 @@ using System.Text; using RosMessageGeneration; using RosMessageTypes.Std; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Sensor { diff --git a/Runtime/MessageGeneration/common_msgs/Sensor/msg/BatteryState.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/BatteryState.cs.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Sensor/msg/BatteryState.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/BatteryState.cs.meta diff --git a/Runtime/MessageGeneration/common_msgs/Sensor/msg/CameraInfo.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/CameraInfo.cs similarity index 99% rename from Runtime/MessageGeneration/common_msgs/Sensor/msg/CameraInfo.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/CameraInfo.cs index 77bf7de9..e7d3dcd1 100644 --- a/Runtime/MessageGeneration/common_msgs/Sensor/msg/CameraInfo.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/CameraInfo.cs @@ -5,6 +5,7 @@ using System.Text; using RosMessageGeneration; using RosMessageTypes.Std; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Sensor { diff --git a/Runtime/MessageGeneration/common_msgs/Sensor/msg/CameraInfo.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/CameraInfo.cs.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Sensor/msg/CameraInfo.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/CameraInfo.cs.meta diff --git a/Runtime/MessageGeneration/common_msgs/Sensor/msg/ChannelFloat32.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/ChannelFloat32.cs similarity index 98% rename from Runtime/MessageGeneration/common_msgs/Sensor/msg/ChannelFloat32.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/ChannelFloat32.cs index be7c40c0..dba0b408 100644 --- a/Runtime/MessageGeneration/common_msgs/Sensor/msg/ChannelFloat32.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/ChannelFloat32.cs @@ -4,6 +4,7 @@ using System.Collections.Generic; using System.Text; using RosMessageGeneration; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Sensor { diff --git a/Runtime/MessageGeneration/common_msgs/Sensor/msg/ChannelFloat32.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/ChannelFloat32.cs.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Sensor/msg/ChannelFloat32.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/ChannelFloat32.cs.meta diff --git a/Runtime/MessageGeneration/common_msgs/Sensor/msg/CompressedImage.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/CompressedImage.cs similarity index 98% rename from Runtime/MessageGeneration/common_msgs/Sensor/msg/CompressedImage.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/CompressedImage.cs index cf80db7f..5c4d4da2 100644 --- a/Runtime/MessageGeneration/common_msgs/Sensor/msg/CompressedImage.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/CompressedImage.cs @@ -5,6 +5,7 @@ using System.Text; using RosMessageGeneration; using RosMessageTypes.Std; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Sensor { diff --git a/Runtime/MessageGeneration/common_msgs/Sensor/msg/CompressedImage.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/CompressedImage.cs.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Sensor/msg/CompressedImage.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/CompressedImage.cs.meta diff --git a/Runtime/MessageGeneration/common_msgs/Sensor/msg/FluidPressure.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/FluidPressure.cs similarity index 97% rename from Runtime/MessageGeneration/common_msgs/Sensor/msg/FluidPressure.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/FluidPressure.cs index fbdd25b7..1e7c0114 100644 --- a/Runtime/MessageGeneration/common_msgs/Sensor/msg/FluidPressure.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/FluidPressure.cs @@ -5,6 +5,7 @@ using System.Text; using RosMessageGeneration; using RosMessageTypes.Std; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Sensor { diff --git a/Runtime/MessageGeneration/common_msgs/Sensor/msg/FluidPressure.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/FluidPressure.cs.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Sensor/msg/FluidPressure.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/FluidPressure.cs.meta diff --git a/Runtime/MessageGeneration/common_msgs/Sensor/msg/Illuminance.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/Illuminance.cs similarity index 98% rename from Runtime/MessageGeneration/common_msgs/Sensor/msg/Illuminance.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/Illuminance.cs index 9d32603a..bf3fe833 100644 --- a/Runtime/MessageGeneration/common_msgs/Sensor/msg/Illuminance.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/Illuminance.cs @@ -5,6 +5,7 @@ using System.Text; using RosMessageGeneration; using RosMessageTypes.Std; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Sensor { diff --git a/Runtime/MessageGeneration/common_msgs/Sensor/msg/Illuminance.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/Illuminance.cs.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Sensor/msg/Illuminance.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/Illuminance.cs.meta diff --git a/Runtime/MessageGeneration/common_msgs/Sensor/msg/Image.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/Image.cs similarity index 98% rename from Runtime/MessageGeneration/common_msgs/Sensor/msg/Image.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/Image.cs index 1b7dd206..d233896f 100644 --- a/Runtime/MessageGeneration/common_msgs/Sensor/msg/Image.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/Image.cs @@ -5,6 +5,7 @@ using System.Text; using RosMessageGeneration; using RosMessageTypes.Std; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Sensor { diff --git a/Runtime/MessageGeneration/common_msgs/Sensor/msg/Image.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/Image.cs.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Sensor/msg/Image.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/Image.cs.meta diff --git a/Runtime/MessageGeneration/common_msgs/Sensor/msg/Imu.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/Imu.cs similarity index 99% rename from Runtime/MessageGeneration/common_msgs/Sensor/msg/Imu.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/Imu.cs index a5ed6fce..7e63964b 100644 --- a/Runtime/MessageGeneration/common_msgs/Sensor/msg/Imu.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/Imu.cs @@ -5,6 +5,7 @@ using System.Text; using RosMessageGeneration; using RosMessageTypes.Std; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Sensor { diff --git a/Runtime/MessageGeneration/common_msgs/Sensor/msg/Imu.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/Imu.cs.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Sensor/msg/Imu.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/Imu.cs.meta diff --git a/Runtime/MessageGeneration/common_msgs/Sensor/msg/JointState.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/JointState.cs similarity index 98% rename from Runtime/MessageGeneration/common_msgs/Sensor/msg/JointState.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/JointState.cs index 00b838c6..30e21068 100644 --- a/Runtime/MessageGeneration/common_msgs/Sensor/msg/JointState.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/JointState.cs @@ -5,6 +5,7 @@ using System.Text; using RosMessageGeneration; using RosMessageTypes.Std; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Sensor { diff --git a/Runtime/MessageGeneration/common_msgs/Sensor/msg/JointState.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/JointState.cs.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Sensor/msg/JointState.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/JointState.cs.meta diff --git a/Runtime/MessageGeneration/common_msgs/Sensor/msg/Joy.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/Joy.cs similarity index 98% rename from Runtime/MessageGeneration/common_msgs/Sensor/msg/Joy.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/Joy.cs index 6f4c0549..c296a7d9 100644 --- a/Runtime/MessageGeneration/common_msgs/Sensor/msg/Joy.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/Joy.cs @@ -5,6 +5,7 @@ using System.Text; using RosMessageGeneration; using RosMessageTypes.Std; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Sensor { diff --git a/Runtime/MessageGeneration/common_msgs/Sensor/msg/Joy.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/Joy.cs.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Sensor/msg/Joy.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/Joy.cs.meta diff --git a/Runtime/MessageGeneration/common_msgs/Sensor/msg/JoyFeedback.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/JoyFeedback.cs similarity index 97% rename from Runtime/MessageGeneration/common_msgs/Sensor/msg/JoyFeedback.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/JoyFeedback.cs index d68271ad..7987eba2 100644 --- a/Runtime/MessageGeneration/common_msgs/Sensor/msg/JoyFeedback.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/JoyFeedback.cs @@ -4,6 +4,7 @@ using System.Collections.Generic; using System.Text; using RosMessageGeneration; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Sensor { diff --git a/Runtime/MessageGeneration/common_msgs/Sensor/msg/JoyFeedback.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/JoyFeedback.cs.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Sensor/msg/JoyFeedback.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/JoyFeedback.cs.meta diff --git a/Runtime/MessageGeneration/common_msgs/Sensor/msg/JoyFeedbackArray.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/JoyFeedbackArray.cs similarity index 96% rename from Runtime/MessageGeneration/common_msgs/Sensor/msg/JoyFeedbackArray.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/JoyFeedbackArray.cs index 50b28702..f454994e 100644 --- a/Runtime/MessageGeneration/common_msgs/Sensor/msg/JoyFeedbackArray.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/JoyFeedbackArray.cs @@ -4,6 +4,7 @@ using System.Collections.Generic; using System.Text; using RosMessageGeneration; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Sensor { diff --git a/Runtime/MessageGeneration/common_msgs/Sensor/msg/JoyFeedbackArray.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/JoyFeedbackArray.cs.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Sensor/msg/JoyFeedbackArray.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/JoyFeedbackArray.cs.meta diff --git a/Runtime/MessageGeneration/common_msgs/Sensor/msg/LaserEcho.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/LaserEcho.cs similarity index 97% rename from Runtime/MessageGeneration/common_msgs/Sensor/msg/LaserEcho.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/LaserEcho.cs index 59381024..94789312 100644 --- a/Runtime/MessageGeneration/common_msgs/Sensor/msg/LaserEcho.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/LaserEcho.cs @@ -4,6 +4,7 @@ using System.Collections.Generic; using System.Text; using RosMessageGeneration; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Sensor { diff --git a/Runtime/MessageGeneration/common_msgs/Sensor/msg/LaserEcho.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/LaserEcho.cs.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Sensor/msg/LaserEcho.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/LaserEcho.cs.meta diff --git a/Runtime/MessageGeneration/common_msgs/Sensor/msg/LaserScan.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/LaserScan.cs similarity index 99% rename from Runtime/MessageGeneration/common_msgs/Sensor/msg/LaserScan.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/LaserScan.cs index 9bbf6c66..c70f4752 100644 --- a/Runtime/MessageGeneration/common_msgs/Sensor/msg/LaserScan.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/LaserScan.cs @@ -5,6 +5,7 @@ using System.Text; using RosMessageGeneration; using RosMessageTypes.Std; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Sensor { diff --git a/Runtime/MessageGeneration/common_msgs/Sensor/msg/LaserScan.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/LaserScan.cs.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Sensor/msg/LaserScan.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/LaserScan.cs.meta diff --git a/Runtime/MessageGeneration/common_msgs/Sensor/msg/MagneticField.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/MagneticField.cs similarity index 98% rename from Runtime/MessageGeneration/common_msgs/Sensor/msg/MagneticField.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/MagneticField.cs index 90af1292..b2a0495d 100644 --- a/Runtime/MessageGeneration/common_msgs/Sensor/msg/MagneticField.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/MagneticField.cs @@ -5,6 +5,7 @@ using System.Text; using RosMessageGeneration; using RosMessageTypes.Std; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Sensor { diff --git a/Runtime/MessageGeneration/common_msgs/Sensor/msg/MagneticField.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/MagneticField.cs.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Sensor/msg/MagneticField.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/MagneticField.cs.meta diff --git a/Runtime/MessageGeneration/common_msgs/Sensor/msg/MultiDOFJointState.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/MultiDOFJointState.cs similarity index 99% rename from Runtime/MessageGeneration/common_msgs/Sensor/msg/MultiDOFJointState.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/MultiDOFJointState.cs index 0f65e5a2..669f8843 100644 --- a/Runtime/MessageGeneration/common_msgs/Sensor/msg/MultiDOFJointState.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/MultiDOFJointState.cs @@ -5,6 +5,7 @@ using System.Text; using RosMessageGeneration; using RosMessageTypes.Std; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Sensor { diff --git a/Runtime/MessageGeneration/common_msgs/Sensor/msg/MultiDOFJointState.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/MultiDOFJointState.cs.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Sensor/msg/MultiDOFJointState.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/MultiDOFJointState.cs.meta diff --git a/Runtime/MessageGeneration/common_msgs/Sensor/msg/MultiEchoLaserScan.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/MultiEchoLaserScan.cs similarity index 99% rename from Runtime/MessageGeneration/common_msgs/Sensor/msg/MultiEchoLaserScan.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/MultiEchoLaserScan.cs index 3e9066bd..18335bce 100644 --- a/Runtime/MessageGeneration/common_msgs/Sensor/msg/MultiEchoLaserScan.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/MultiEchoLaserScan.cs @@ -5,6 +5,7 @@ using System.Text; using RosMessageGeneration; using RosMessageTypes.Std; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Sensor { diff --git a/Runtime/MessageGeneration/common_msgs/Sensor/msg/MultiEchoLaserScan.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/MultiEchoLaserScan.cs.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Sensor/msg/MultiEchoLaserScan.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/MultiEchoLaserScan.cs.meta diff --git a/Runtime/MessageGeneration/common_msgs/Sensor/msg/NavSatFix.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/NavSatFix.cs similarity index 98% rename from Runtime/MessageGeneration/common_msgs/Sensor/msg/NavSatFix.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/NavSatFix.cs index 941c3a26..47fdb1a8 100644 --- a/Runtime/MessageGeneration/common_msgs/Sensor/msg/NavSatFix.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/NavSatFix.cs @@ -5,6 +5,7 @@ using System.Text; using RosMessageGeneration; using RosMessageTypes.Std; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Sensor { diff --git a/Runtime/MessageGeneration/common_msgs/Sensor/msg/NavSatFix.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/NavSatFix.cs.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Sensor/msg/NavSatFix.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/NavSatFix.cs.meta diff --git a/Runtime/MessageGeneration/common_msgs/Sensor/msg/NavSatStatus.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/NavSatStatus.cs similarity index 97% rename from Runtime/MessageGeneration/common_msgs/Sensor/msg/NavSatStatus.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/NavSatStatus.cs index 7d6e689a..4bb9b998 100644 --- a/Runtime/MessageGeneration/common_msgs/Sensor/msg/NavSatStatus.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/NavSatStatus.cs @@ -4,6 +4,7 @@ using System.Collections.Generic; using System.Text; using RosMessageGeneration; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Sensor { diff --git a/Runtime/MessageGeneration/common_msgs/Sensor/msg/NavSatStatus.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/NavSatStatus.cs.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Sensor/msg/NavSatStatus.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/NavSatStatus.cs.meta diff --git a/Runtime/MessageGeneration/common_msgs/Sensor/msg/PointCloud.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/PointCloud.cs similarity index 98% rename from Runtime/MessageGeneration/common_msgs/Sensor/msg/PointCloud.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/PointCloud.cs index 8e48688d..4afee26d 100644 --- a/Runtime/MessageGeneration/common_msgs/Sensor/msg/PointCloud.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/PointCloud.cs @@ -5,6 +5,7 @@ using System.Text; using RosMessageGeneration; using RosMessageTypes.Std; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Sensor { diff --git a/Runtime/MessageGeneration/common_msgs/Sensor/msg/PointCloud.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/PointCloud.cs.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Sensor/msg/PointCloud.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/PointCloud.cs.meta diff --git a/Runtime/MessageGeneration/common_msgs/Sensor/msg/PointCloud2.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/PointCloud2.cs similarity index 99% rename from Runtime/MessageGeneration/common_msgs/Sensor/msg/PointCloud2.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/PointCloud2.cs index 3aa7f763..aa1d739d 100644 --- a/Runtime/MessageGeneration/common_msgs/Sensor/msg/PointCloud2.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/PointCloud2.cs @@ -5,6 +5,7 @@ using System.Text; using RosMessageGeneration; using RosMessageTypes.Std; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Sensor { diff --git a/Runtime/MessageGeneration/common_msgs/Sensor/msg/PointCloud2.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/PointCloud2.cs.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Sensor/msg/PointCloud2.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/PointCloud2.cs.meta diff --git a/Runtime/MessageGeneration/common_msgs/Sensor/msg/PointField.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/PointField.cs similarity index 98% rename from Runtime/MessageGeneration/common_msgs/Sensor/msg/PointField.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/PointField.cs index ec8211cf..666dde00 100644 --- a/Runtime/MessageGeneration/common_msgs/Sensor/msg/PointField.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/PointField.cs @@ -4,6 +4,7 @@ using System.Collections.Generic; using System.Text; using RosMessageGeneration; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Sensor { diff --git a/Runtime/MessageGeneration/common_msgs/Sensor/msg/PointField.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/PointField.cs.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Sensor/msg/PointField.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/PointField.cs.meta diff --git a/Runtime/MessageGeneration/common_msgs/Sensor/msg/Range.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/Range.cs similarity index 98% rename from Runtime/MessageGeneration/common_msgs/Sensor/msg/Range.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/Range.cs index 917fb228..1713fbe1 100644 --- a/Runtime/MessageGeneration/common_msgs/Sensor/msg/Range.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/Range.cs @@ -5,6 +5,7 @@ using System.Text; using RosMessageGeneration; using RosMessageTypes.Std; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Sensor { diff --git a/Runtime/MessageGeneration/common_msgs/Sensor/msg/Range.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/Range.cs.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Sensor/msg/Range.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/Range.cs.meta diff --git a/Runtime/MessageGeneration/common_msgs/Sensor/msg/RegionOfInterest.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/RegionOfInterest.cs similarity index 98% rename from Runtime/MessageGeneration/common_msgs/Sensor/msg/RegionOfInterest.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/RegionOfInterest.cs index ec3ab46d..e196b46b 100644 --- a/Runtime/MessageGeneration/common_msgs/Sensor/msg/RegionOfInterest.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/RegionOfInterest.cs @@ -4,6 +4,7 @@ using System.Collections.Generic; using System.Text; using RosMessageGeneration; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Sensor { diff --git a/Runtime/MessageGeneration/common_msgs/Sensor/msg/RegionOfInterest.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/RegionOfInterest.cs.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Sensor/msg/RegionOfInterest.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/RegionOfInterest.cs.meta diff --git a/Runtime/MessageGeneration/common_msgs/Sensor/msg/RelativeHumidity.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/RelativeHumidity.cs similarity index 97% rename from Runtime/MessageGeneration/common_msgs/Sensor/msg/RelativeHumidity.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/RelativeHumidity.cs index 70139e36..21bf95e2 100644 --- a/Runtime/MessageGeneration/common_msgs/Sensor/msg/RelativeHumidity.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/RelativeHumidity.cs @@ -5,6 +5,7 @@ using System.Text; using RosMessageGeneration; using RosMessageTypes.Std; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Sensor { diff --git a/Runtime/MessageGeneration/common_msgs/Sensor/msg/RelativeHumidity.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/RelativeHumidity.cs.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Sensor/msg/RelativeHumidity.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/RelativeHumidity.cs.meta diff --git a/Runtime/MessageGeneration/common_msgs/Sensor/msg/Temperature.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/Temperature.cs similarity index 97% rename from Runtime/MessageGeneration/common_msgs/Sensor/msg/Temperature.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/Temperature.cs index 467bf65e..e22aef78 100644 --- a/Runtime/MessageGeneration/common_msgs/Sensor/msg/Temperature.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/Temperature.cs @@ -5,6 +5,7 @@ using System.Text; using RosMessageGeneration; using RosMessageTypes.Std; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Sensor { diff --git a/Runtime/MessageGeneration/common_msgs/Sensor/msg/Temperature.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/Temperature.cs.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Sensor/msg/Temperature.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/Temperature.cs.meta diff --git a/Runtime/MessageGeneration/common_msgs/Sensor/msg/TimeReference.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/TimeReference.cs similarity index 97% rename from Runtime/MessageGeneration/common_msgs/Sensor/msg/TimeReference.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/TimeReference.cs index 0f6d718d..d6b35869 100644 --- a/Runtime/MessageGeneration/common_msgs/Sensor/msg/TimeReference.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/TimeReference.cs @@ -5,6 +5,7 @@ using System.Text; using RosMessageGeneration; using RosMessageTypes.Std; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Sensor { diff --git a/Runtime/MessageGeneration/common_msgs/Sensor/msg/TimeReference.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/TimeReference.cs.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Sensor/msg/TimeReference.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/TimeReference.cs.meta diff --git a/Runtime/MessageGeneration/common_msgs/Shape.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Shape.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Shape.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Shape.meta diff --git a/Runtime/MessageGeneration/common_msgs/Shape/msg.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Shape/msg.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Shape/msg.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Shape/msg.meta diff --git a/Runtime/MessageGeneration/common_msgs/Shape/msg/Mesh.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Shape/msg/Mesh.cs similarity index 97% rename from Runtime/MessageGeneration/common_msgs/Shape/msg/Mesh.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Shape/msg/Mesh.cs index c4c0cf15..9fc8b7f5 100644 --- a/Runtime/MessageGeneration/common_msgs/Shape/msg/Mesh.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Shape/msg/Mesh.cs @@ -4,6 +4,7 @@ using System.Collections.Generic; using System.Text; using RosMessageGeneration; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Shape { diff --git a/Runtime/MessageGeneration/common_msgs/Shape/msg/Mesh.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Shape/msg/Mesh.cs.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Shape/msg/Mesh.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Shape/msg/Mesh.cs.meta diff --git a/Runtime/MessageGeneration/common_msgs/Shape/msg/MeshTriangle.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Shape/msg/MeshTriangle.cs similarity index 96% rename from Runtime/MessageGeneration/common_msgs/Shape/msg/MeshTriangle.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Shape/msg/MeshTriangle.cs index ad034370..f16cebbc 100644 --- a/Runtime/MessageGeneration/common_msgs/Shape/msg/MeshTriangle.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Shape/msg/MeshTriangle.cs @@ -4,6 +4,7 @@ using System.Collections.Generic; using System.Text; using RosMessageGeneration; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Shape { diff --git a/Runtime/MessageGeneration/common_msgs/Shape/msg/MeshTriangle.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Shape/msg/MeshTriangle.cs.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Shape/msg/MeshTriangle.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Shape/msg/MeshTriangle.cs.meta diff --git a/Runtime/MessageGeneration/common_msgs/Shape/msg/Plane.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Shape/msg/Plane.cs similarity index 96% rename from Runtime/MessageGeneration/common_msgs/Shape/msg/Plane.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Shape/msg/Plane.cs index 58a2ebed..e546081c 100644 --- a/Runtime/MessageGeneration/common_msgs/Shape/msg/Plane.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Shape/msg/Plane.cs @@ -4,6 +4,7 @@ using System.Collections.Generic; using System.Text; using RosMessageGeneration; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Shape { diff --git a/Runtime/MessageGeneration/common_msgs/Shape/msg/Plane.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Shape/msg/Plane.cs.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Shape/msg/Plane.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Shape/msg/Plane.cs.meta diff --git a/Runtime/MessageGeneration/common_msgs/Shape/msg/SolidPrimitive.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Shape/msg/SolidPrimitive.cs similarity index 98% rename from Runtime/MessageGeneration/common_msgs/Shape/msg/SolidPrimitive.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Shape/msg/SolidPrimitive.cs index 6d217516..1bd1807b 100644 --- a/Runtime/MessageGeneration/common_msgs/Shape/msg/SolidPrimitive.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Shape/msg/SolidPrimitive.cs @@ -4,6 +4,7 @@ using System.Collections.Generic; using System.Text; using RosMessageGeneration; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Shape { diff --git a/Runtime/MessageGeneration/common_msgs/Shape/msg/SolidPrimitive.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Shape/msg/SolidPrimitive.cs.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Shape/msg/SolidPrimitive.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Shape/msg/SolidPrimitive.cs.meta diff --git a/Runtime/MessageGeneration/common_msgs/Stereo.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Stereo.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Stereo.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Stereo.meta diff --git a/Runtime/MessageGeneration/common_msgs/Stereo/msg.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Stereo/msg.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Stereo/msg.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Stereo/msg.meta diff --git a/Runtime/MessageGeneration/common_msgs/Stereo/msg/DisparityImage.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Stereo/msg/DisparityImage.cs similarity index 98% rename from Runtime/MessageGeneration/common_msgs/Stereo/msg/DisparityImage.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Stereo/msg/DisparityImage.cs index a4039d78..2e2fbaa6 100644 --- a/Runtime/MessageGeneration/common_msgs/Stereo/msg/DisparityImage.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Stereo/msg/DisparityImage.cs @@ -5,6 +5,7 @@ using System.Text; using RosMessageGeneration; using RosMessageTypes.Std; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Stereo { diff --git a/Runtime/MessageGeneration/common_msgs/Stereo/msg/DisparityImage.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Stereo/msg/DisparityImage.cs.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Stereo/msg/DisparityImage.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Stereo/msg/DisparityImage.cs.meta diff --git a/Runtime/MessageGeneration/common_msgs/Trajectory.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Trajectory.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Trajectory.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Trajectory.meta diff --git a/Runtime/MessageGeneration/common_msgs/Trajectory/msg.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Trajectory/msg.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Trajectory/msg.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Trajectory/msg.meta diff --git a/Runtime/MessageGeneration/common_msgs/Trajectory/msg/JointTrajectory.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Trajectory/msg/JointTrajectory.cs similarity index 98% rename from Runtime/MessageGeneration/common_msgs/Trajectory/msg/JointTrajectory.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Trajectory/msg/JointTrajectory.cs index 9cf3ae83..9e61f381 100644 --- a/Runtime/MessageGeneration/common_msgs/Trajectory/msg/JointTrajectory.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Trajectory/msg/JointTrajectory.cs @@ -5,6 +5,7 @@ using System.Text; using RosMessageGeneration; using RosMessageTypes.Std; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Trajectory { diff --git a/Runtime/MessageGeneration/common_msgs/Trajectory/msg/JointTrajectory.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Trajectory/msg/JointTrajectory.cs.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Trajectory/msg/JointTrajectory.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Trajectory/msg/JointTrajectory.cs.meta diff --git a/Runtime/MessageGeneration/common_msgs/Trajectory/msg/JointTrajectoryPoint.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Trajectory/msg/JointTrajectoryPoint.cs similarity index 98% rename from Runtime/MessageGeneration/common_msgs/Trajectory/msg/JointTrajectoryPoint.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Trajectory/msg/JointTrajectoryPoint.cs index 858681c5..61adf7cf 100644 --- a/Runtime/MessageGeneration/common_msgs/Trajectory/msg/JointTrajectoryPoint.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Trajectory/msg/JointTrajectoryPoint.cs @@ -5,6 +5,7 @@ using System.Text; using RosMessageGeneration; using RosMessageTypes.Std; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Trajectory { diff --git a/Runtime/MessageGeneration/common_msgs/Trajectory/msg/JointTrajectoryPoint.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Trajectory/msg/JointTrajectoryPoint.cs.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Trajectory/msg/JointTrajectoryPoint.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Trajectory/msg/JointTrajectoryPoint.cs.meta diff --git a/Runtime/MessageGeneration/common_msgs/Trajectory/msg/MultiDOFJointTrajectory.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Trajectory/msg/MultiDOFJointTrajectory.cs similarity index 98% rename from Runtime/MessageGeneration/common_msgs/Trajectory/msg/MultiDOFJointTrajectory.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Trajectory/msg/MultiDOFJointTrajectory.cs index bb90009d..ac4d7811 100644 --- a/Runtime/MessageGeneration/common_msgs/Trajectory/msg/MultiDOFJointTrajectory.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Trajectory/msg/MultiDOFJointTrajectory.cs @@ -5,6 +5,7 @@ using System.Text; using RosMessageGeneration; using RosMessageTypes.Std; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Trajectory { diff --git a/Runtime/MessageGeneration/common_msgs/Trajectory/msg/MultiDOFJointTrajectory.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Trajectory/msg/MultiDOFJointTrajectory.cs.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Trajectory/msg/MultiDOFJointTrajectory.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Trajectory/msg/MultiDOFJointTrajectory.cs.meta diff --git a/Runtime/MessageGeneration/common_msgs/Trajectory/msg/MultiDOFJointTrajectoryPoint.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Trajectory/msg/MultiDOFJointTrajectoryPoint.cs similarity index 98% rename from Runtime/MessageGeneration/common_msgs/Trajectory/msg/MultiDOFJointTrajectoryPoint.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Trajectory/msg/MultiDOFJointTrajectoryPoint.cs index 3a99e486..7a7aef46 100644 --- a/Runtime/MessageGeneration/common_msgs/Trajectory/msg/MultiDOFJointTrajectoryPoint.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Trajectory/msg/MultiDOFJointTrajectoryPoint.cs @@ -5,6 +5,7 @@ using System.Text; using RosMessageGeneration; using RosMessageTypes.Std; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Trajectory { diff --git a/Runtime/MessageGeneration/common_msgs/Trajectory/msg/MultiDOFJointTrajectoryPoint.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Trajectory/msg/MultiDOFJointTrajectoryPoint.cs.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Trajectory/msg/MultiDOFJointTrajectoryPoint.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Trajectory/msg/MultiDOFJointTrajectoryPoint.cs.meta diff --git a/Runtime/MessageGeneration/common_msgs/Visualization.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Visualization.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Visualization.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Visualization.meta diff --git a/Runtime/MessageGeneration/common_msgs/Visualization/msg.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Visualization/msg.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Visualization/msg.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Visualization/msg.meta diff --git a/Runtime/MessageGeneration/common_msgs/Visualization/msg/ImageMarker.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Visualization/msg/ImageMarker.cs similarity index 99% rename from Runtime/MessageGeneration/common_msgs/Visualization/msg/ImageMarker.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Visualization/msg/ImageMarker.cs index 59d3133d..31618733 100644 --- a/Runtime/MessageGeneration/common_msgs/Visualization/msg/ImageMarker.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Visualization/msg/ImageMarker.cs @@ -5,6 +5,7 @@ using System.Text; using RosMessageGeneration; using RosMessageTypes.Std; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Visualization { diff --git a/Runtime/MessageGeneration/common_msgs/Visualization/msg/ImageMarker.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Visualization/msg/ImageMarker.cs.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Visualization/msg/ImageMarker.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Visualization/msg/ImageMarker.cs.meta diff --git a/Runtime/MessageGeneration/common_msgs/Visualization/msg/InteractiveMarker.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Visualization/msg/InteractiveMarker.cs similarity index 98% rename from Runtime/MessageGeneration/common_msgs/Visualization/msg/InteractiveMarker.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Visualization/msg/InteractiveMarker.cs index f8723113..77d97355 100644 --- a/Runtime/MessageGeneration/common_msgs/Visualization/msg/InteractiveMarker.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Visualization/msg/InteractiveMarker.cs @@ -5,6 +5,7 @@ using System.Text; using RosMessageGeneration; using RosMessageTypes.Std; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Visualization { diff --git a/Runtime/MessageGeneration/common_msgs/Visualization/msg/InteractiveMarker.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Visualization/msg/InteractiveMarker.cs.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Visualization/msg/InteractiveMarker.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Visualization/msg/InteractiveMarker.cs.meta diff --git a/Runtime/MessageGeneration/common_msgs/Visualization/msg/InteractiveMarkerControl.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Visualization/msg/InteractiveMarkerControl.cs similarity index 99% rename from Runtime/MessageGeneration/common_msgs/Visualization/msg/InteractiveMarkerControl.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Visualization/msg/InteractiveMarkerControl.cs index 726cc897..f6ad3702 100644 --- a/Runtime/MessageGeneration/common_msgs/Visualization/msg/InteractiveMarkerControl.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Visualization/msg/InteractiveMarkerControl.cs @@ -4,6 +4,7 @@ using System.Collections.Generic; using System.Text; using RosMessageGeneration; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Visualization { diff --git a/Runtime/MessageGeneration/common_msgs/Visualization/msg/InteractiveMarkerControl.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Visualization/msg/InteractiveMarkerControl.cs.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Visualization/msg/InteractiveMarkerControl.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Visualization/msg/InteractiveMarkerControl.cs.meta diff --git a/Runtime/MessageGeneration/common_msgs/Visualization/msg/InteractiveMarkerFeedback.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Visualization/msg/InteractiveMarkerFeedback.cs similarity index 99% rename from Runtime/MessageGeneration/common_msgs/Visualization/msg/InteractiveMarkerFeedback.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Visualization/msg/InteractiveMarkerFeedback.cs index 3938fcc7..a8510926 100644 --- a/Runtime/MessageGeneration/common_msgs/Visualization/msg/InteractiveMarkerFeedback.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Visualization/msg/InteractiveMarkerFeedback.cs @@ -5,6 +5,7 @@ using System.Text; using RosMessageGeneration; using RosMessageTypes.Std; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Visualization { diff --git a/Runtime/MessageGeneration/common_msgs/Visualization/msg/InteractiveMarkerFeedback.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Visualization/msg/InteractiveMarkerFeedback.cs.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Visualization/msg/InteractiveMarkerFeedback.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Visualization/msg/InteractiveMarkerFeedback.cs.meta diff --git a/Runtime/MessageGeneration/common_msgs/Visualization/msg/InteractiveMarkerInit.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Visualization/msg/InteractiveMarkerInit.cs similarity index 98% rename from Runtime/MessageGeneration/common_msgs/Visualization/msg/InteractiveMarkerInit.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Visualization/msg/InteractiveMarkerInit.cs index f6202f54..8d14ef62 100644 --- a/Runtime/MessageGeneration/common_msgs/Visualization/msg/InteractiveMarkerInit.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Visualization/msg/InteractiveMarkerInit.cs @@ -4,6 +4,7 @@ using System.Collections.Generic; using System.Text; using RosMessageGeneration; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Visualization { diff --git a/Runtime/MessageGeneration/common_msgs/Visualization/msg/InteractiveMarkerInit.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Visualization/msg/InteractiveMarkerInit.cs.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Visualization/msg/InteractiveMarkerInit.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Visualization/msg/InteractiveMarkerInit.cs.meta diff --git a/Runtime/MessageGeneration/common_msgs/Visualization/msg/InteractiveMarkerPose.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Visualization/msg/InteractiveMarkerPose.cs similarity index 97% rename from Runtime/MessageGeneration/common_msgs/Visualization/msg/InteractiveMarkerPose.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Visualization/msg/InteractiveMarkerPose.cs index 7076e022..f8c511a2 100644 --- a/Runtime/MessageGeneration/common_msgs/Visualization/msg/InteractiveMarkerPose.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Visualization/msg/InteractiveMarkerPose.cs @@ -5,6 +5,7 @@ using System.Text; using RosMessageGeneration; using RosMessageTypes.Std; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Visualization { diff --git a/Runtime/MessageGeneration/common_msgs/Visualization/msg/InteractiveMarkerPose.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Visualization/msg/InteractiveMarkerPose.cs.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Visualization/msg/InteractiveMarkerPose.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Visualization/msg/InteractiveMarkerPose.cs.meta diff --git a/Runtime/MessageGeneration/common_msgs/Visualization/msg/InteractiveMarkerUpdate.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Visualization/msg/InteractiveMarkerUpdate.cs similarity index 98% rename from Runtime/MessageGeneration/common_msgs/Visualization/msg/InteractiveMarkerUpdate.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Visualization/msg/InteractiveMarkerUpdate.cs index 0809cec4..f37fedbc 100644 --- a/Runtime/MessageGeneration/common_msgs/Visualization/msg/InteractiveMarkerUpdate.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Visualization/msg/InteractiveMarkerUpdate.cs @@ -4,6 +4,7 @@ using System.Collections.Generic; using System.Text; using RosMessageGeneration; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Visualization { diff --git a/Runtime/MessageGeneration/common_msgs/Visualization/msg/InteractiveMarkerUpdate.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Visualization/msg/InteractiveMarkerUpdate.cs.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Visualization/msg/InteractiveMarkerUpdate.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Visualization/msg/InteractiveMarkerUpdate.cs.meta diff --git a/Runtime/MessageGeneration/common_msgs/Visualization/msg/Marker.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Visualization/msg/Marker.cs similarity index 99% rename from Runtime/MessageGeneration/common_msgs/Visualization/msg/Marker.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Visualization/msg/Marker.cs index 0dd7b65e..f797763f 100644 --- a/Runtime/MessageGeneration/common_msgs/Visualization/msg/Marker.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Visualization/msg/Marker.cs @@ -5,6 +5,7 @@ using System.Text; using RosMessageGeneration; using RosMessageTypes.Std; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Visualization { diff --git a/Runtime/MessageGeneration/common_msgs/Visualization/msg/Marker.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Visualization/msg/Marker.cs.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Visualization/msg/Marker.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Visualization/msg/Marker.cs.meta diff --git a/Runtime/MessageGeneration/common_msgs/Visualization/msg/MarkerArray.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Visualization/msg/MarkerArray.cs similarity index 96% rename from Runtime/MessageGeneration/common_msgs/Visualization/msg/MarkerArray.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Visualization/msg/MarkerArray.cs index 3afe209a..3633e453 100644 --- a/Runtime/MessageGeneration/common_msgs/Visualization/msg/MarkerArray.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Visualization/msg/MarkerArray.cs @@ -4,6 +4,7 @@ using System.Collections.Generic; using System.Text; using RosMessageGeneration; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Visualization { diff --git a/Runtime/MessageGeneration/common_msgs/Visualization/msg/MarkerArray.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Visualization/msg/MarkerArray.cs.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Visualization/msg/MarkerArray.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Visualization/msg/MarkerArray.cs.meta diff --git a/Runtime/MessageGeneration/common_msgs/Visualization/msg/MenuEntry.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Visualization/msg/MenuEntry.cs similarity index 98% rename from Runtime/MessageGeneration/common_msgs/Visualization/msg/MenuEntry.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Visualization/msg/MenuEntry.cs index 31b8ad61..6e2986e1 100644 --- a/Runtime/MessageGeneration/common_msgs/Visualization/msg/MenuEntry.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Visualization/msg/MenuEntry.cs @@ -4,6 +4,7 @@ using System.Collections.Generic; using System.Text; using RosMessageGeneration; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Visualization { diff --git a/Runtime/MessageGeneration/common_msgs/Visualization/msg/MenuEntry.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Visualization/msg/MenuEntry.cs.meta similarity index 100% rename from Runtime/MessageGeneration/common_msgs/Visualization/msg/MenuEntry.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Visualization/msg/MenuEntry.cs.meta diff --git a/Runtime/MessageGeneration/std_msgs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs.meta similarity index 100% rename from Runtime/MessageGeneration/std_msgs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs.meta diff --git a/Runtime/MessageGeneration/std_msgs/Bool.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Bool.cs similarity index 95% rename from Runtime/MessageGeneration/std_msgs/Bool.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Bool.cs index 7433d58f..a87337f6 100644 --- a/Runtime/MessageGeneration/std_msgs/Bool.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Bool.cs @@ -4,6 +4,7 @@ using System.Collections.Generic; using System.Text; using RosMessageGeneration; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Std { diff --git a/Runtime/MessageGeneration/std_msgs/Bool.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Bool.cs.meta similarity index 100% rename from Runtime/MessageGeneration/std_msgs/Bool.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Bool.cs.meta diff --git a/Runtime/MessageGeneration/std_msgs/Byte.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Byte.cs similarity index 95% rename from Runtime/MessageGeneration/std_msgs/Byte.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Byte.cs index f2944cef..14e731da 100644 --- a/Runtime/MessageGeneration/std_msgs/Byte.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Byte.cs @@ -4,6 +4,7 @@ using System.Collections.Generic; using System.Text; using RosMessageGeneration; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Std { diff --git a/Runtime/MessageGeneration/std_msgs/Byte.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Byte.cs.meta similarity index 100% rename from Runtime/MessageGeneration/std_msgs/Byte.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Byte.cs.meta diff --git a/Runtime/MessageGeneration/std_msgs/ByteMultiArray.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/ByteMultiArray.cs similarity index 97% rename from Runtime/MessageGeneration/std_msgs/ByteMultiArray.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/ByteMultiArray.cs index 527cd69b..e41c4eaa 100644 --- a/Runtime/MessageGeneration/std_msgs/ByteMultiArray.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/ByteMultiArray.cs @@ -4,6 +4,7 @@ using System.Collections.Generic; using System.Text; using RosMessageGeneration; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Std { diff --git a/Runtime/MessageGeneration/std_msgs/ByteMultiArray.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/ByteMultiArray.cs.meta similarity index 100% rename from Runtime/MessageGeneration/std_msgs/ByteMultiArray.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/ByteMultiArray.cs.meta diff --git a/Runtime/MessageGeneration/std_msgs/Char.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Char.cs similarity index 94% rename from Runtime/MessageGeneration/std_msgs/Char.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Char.cs index 5eb8e539..1fcee4d1 100644 --- a/Runtime/MessageGeneration/std_msgs/Char.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Char.cs @@ -4,6 +4,7 @@ using System.Collections.Generic; using System.Text; using RosMessageGeneration; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Std { diff --git a/Runtime/MessageGeneration/std_msgs/Char.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Char.cs.meta similarity index 100% rename from Runtime/MessageGeneration/std_msgs/Char.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Char.cs.meta diff --git a/Runtime/MessageGeneration/std_msgs/ColorRGBA.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/ColorRGBA.cs similarity index 97% rename from Runtime/MessageGeneration/std_msgs/ColorRGBA.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/ColorRGBA.cs index 9c840a73..c04b8de5 100644 --- a/Runtime/MessageGeneration/std_msgs/ColorRGBA.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/ColorRGBA.cs @@ -4,6 +4,7 @@ using System.Collections.Generic; using System.Text; using RosMessageGeneration; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Std { diff --git a/Runtime/MessageGeneration/std_msgs/ColorRGBA.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/ColorRGBA.cs.meta similarity index 100% rename from Runtime/MessageGeneration/std_msgs/ColorRGBA.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/ColorRGBA.cs.meta diff --git a/Runtime/MessageGeneration/std_msgs/Duration.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Duration.cs similarity index 95% rename from Runtime/MessageGeneration/std_msgs/Duration.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Duration.cs index 4044b9c3..ef844251 100644 --- a/Runtime/MessageGeneration/std_msgs/Duration.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Duration.cs @@ -1,6 +1,7 @@ //Do not edit! This file was generated by Unity-ROS MessageGeneration. using System; using System.Collections.Generic; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageGeneration { diff --git a/Runtime/MessageGeneration/std_msgs/Duration.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Duration.cs.meta similarity index 100% rename from Runtime/MessageGeneration/std_msgs/Duration.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Duration.cs.meta diff --git a/Runtime/MessageGeneration/std_msgs/Empty.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Empty.cs similarity index 93% rename from Runtime/MessageGeneration/std_msgs/Empty.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Empty.cs index 9fa2bdc3..dcbcf0c6 100644 --- a/Runtime/MessageGeneration/std_msgs/Empty.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Empty.cs @@ -4,6 +4,7 @@ using System.Collections.Generic; using System.Text; using RosMessageGeneration; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Std { diff --git a/Runtime/MessageGeneration/std_msgs/Empty.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Empty.cs.meta similarity index 100% rename from Runtime/MessageGeneration/std_msgs/Empty.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Empty.cs.meta diff --git a/Runtime/MessageGeneration/std_msgs/Float32.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Float32.cs similarity index 95% rename from Runtime/MessageGeneration/std_msgs/Float32.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Float32.cs index 4a21035d..5c8762f7 100644 --- a/Runtime/MessageGeneration/std_msgs/Float32.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Float32.cs @@ -4,6 +4,7 @@ using System.Collections.Generic; using System.Text; using RosMessageGeneration; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Std { diff --git a/Runtime/MessageGeneration/std_msgs/Float32.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Float32.cs.meta similarity index 100% rename from Runtime/MessageGeneration/std_msgs/Float32.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Float32.cs.meta diff --git a/Runtime/MessageGeneration/std_msgs/Float32MultiArray.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Float32MultiArray.cs similarity index 97% rename from Runtime/MessageGeneration/std_msgs/Float32MultiArray.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Float32MultiArray.cs index 057a6e93..c0b30e57 100644 --- a/Runtime/MessageGeneration/std_msgs/Float32MultiArray.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Float32MultiArray.cs @@ -4,6 +4,7 @@ using System.Collections.Generic; using System.Text; using RosMessageGeneration; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Std { diff --git a/Runtime/MessageGeneration/std_msgs/Float32MultiArray.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Float32MultiArray.cs.meta similarity index 100% rename from Runtime/MessageGeneration/std_msgs/Float32MultiArray.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Float32MultiArray.cs.meta diff --git a/Runtime/MessageGeneration/std_msgs/Float64.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Float64.cs similarity index 95% rename from Runtime/MessageGeneration/std_msgs/Float64.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Float64.cs index 07c3881f..0249fb88 100644 --- a/Runtime/MessageGeneration/std_msgs/Float64.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Float64.cs @@ -4,6 +4,7 @@ using System.Collections.Generic; using System.Text; using RosMessageGeneration; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Std { diff --git a/Runtime/MessageGeneration/std_msgs/Float64.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Float64.cs.meta similarity index 100% rename from Runtime/MessageGeneration/std_msgs/Float64.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Float64.cs.meta diff --git a/Runtime/MessageGeneration/std_msgs/Float64MultiArray.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Float64MultiArray.cs similarity index 97% rename from Runtime/MessageGeneration/std_msgs/Float64MultiArray.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Float64MultiArray.cs index aa028a9a..8c784a74 100644 --- a/Runtime/MessageGeneration/std_msgs/Float64MultiArray.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Float64MultiArray.cs @@ -4,6 +4,7 @@ using System.Collections.Generic; using System.Text; using RosMessageGeneration; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Std { diff --git a/Runtime/MessageGeneration/std_msgs/Float64MultiArray.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Float64MultiArray.cs.meta similarity index 100% rename from Runtime/MessageGeneration/std_msgs/Float64MultiArray.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Float64MultiArray.cs.meta diff --git a/Runtime/MessageGeneration/std_msgs/Header.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Header.cs similarity index 97% rename from Runtime/MessageGeneration/std_msgs/Header.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Header.cs index 6b42522e..db8717f2 100644 --- a/Runtime/MessageGeneration/std_msgs/Header.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Header.cs @@ -5,6 +5,7 @@ using System.Text; using RosMessageGeneration; using RosMessageTypes.Std; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Std { diff --git a/Runtime/MessageGeneration/std_msgs/Header.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Header.cs.meta similarity index 100% rename from Runtime/MessageGeneration/std_msgs/Header.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Header.cs.meta diff --git a/Runtime/MessageGeneration/std_msgs/Int16.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Int16.cs similarity index 95% rename from Runtime/MessageGeneration/std_msgs/Int16.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Int16.cs index 7328d2d3..546f9192 100644 --- a/Runtime/MessageGeneration/std_msgs/Int16.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Int16.cs @@ -4,6 +4,7 @@ using System.Collections.Generic; using System.Text; using RosMessageGeneration; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Std { diff --git a/Runtime/MessageGeneration/std_msgs/Int16.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Int16.cs.meta similarity index 100% rename from Runtime/MessageGeneration/std_msgs/Int16.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Int16.cs.meta diff --git a/Runtime/MessageGeneration/std_msgs/Int16MultiArray.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Int16MultiArray.cs similarity index 97% rename from Runtime/MessageGeneration/std_msgs/Int16MultiArray.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Int16MultiArray.cs index 04ffa952..d0ffbc3a 100644 --- a/Runtime/MessageGeneration/std_msgs/Int16MultiArray.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Int16MultiArray.cs @@ -4,6 +4,7 @@ using System.Collections.Generic; using System.Text; using RosMessageGeneration; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Std { diff --git a/Runtime/MessageGeneration/std_msgs/Int16MultiArray.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Int16MultiArray.cs.meta similarity index 100% rename from Runtime/MessageGeneration/std_msgs/Int16MultiArray.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Int16MultiArray.cs.meta diff --git a/Runtime/MessageGeneration/std_msgs/Int32.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Int32.cs similarity index 95% rename from Runtime/MessageGeneration/std_msgs/Int32.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Int32.cs index c48ef4ec..38e0474a 100644 --- a/Runtime/MessageGeneration/std_msgs/Int32.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Int32.cs @@ -4,6 +4,7 @@ using System.Collections.Generic; using System.Text; using RosMessageGeneration; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Std { diff --git a/Runtime/MessageGeneration/std_msgs/Int32.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Int32.cs.meta similarity index 100% rename from Runtime/MessageGeneration/std_msgs/Int32.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Int32.cs.meta diff --git a/Runtime/MessageGeneration/std_msgs/Int32MultiArray.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Int32MultiArray.cs similarity index 97% rename from Runtime/MessageGeneration/std_msgs/Int32MultiArray.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Int32MultiArray.cs index 765df826..34a586da 100644 --- a/Runtime/MessageGeneration/std_msgs/Int32MultiArray.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Int32MultiArray.cs @@ -4,6 +4,7 @@ using System.Collections.Generic; using System.Text; using RosMessageGeneration; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Std { diff --git a/Runtime/MessageGeneration/std_msgs/Int32MultiArray.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Int32MultiArray.cs.meta similarity index 100% rename from Runtime/MessageGeneration/std_msgs/Int32MultiArray.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Int32MultiArray.cs.meta diff --git a/Runtime/MessageGeneration/std_msgs/Int64.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Int64.cs similarity index 95% rename from Runtime/MessageGeneration/std_msgs/Int64.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Int64.cs index c61b07e7..fce6d117 100644 --- a/Runtime/MessageGeneration/std_msgs/Int64.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Int64.cs @@ -4,6 +4,7 @@ using System.Collections.Generic; using System.Text; using RosMessageGeneration; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Std { diff --git a/Runtime/MessageGeneration/std_msgs/Int64.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Int64.cs.meta similarity index 100% rename from Runtime/MessageGeneration/std_msgs/Int64.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Int64.cs.meta diff --git a/Runtime/MessageGeneration/std_msgs/Int64MultiArray.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Int64MultiArray.cs similarity index 97% rename from Runtime/MessageGeneration/std_msgs/Int64MultiArray.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Int64MultiArray.cs index e9331e23..015e6ec9 100644 --- a/Runtime/MessageGeneration/std_msgs/Int64MultiArray.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Int64MultiArray.cs @@ -4,6 +4,7 @@ using System.Collections.Generic; using System.Text; using RosMessageGeneration; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Std { diff --git a/Runtime/MessageGeneration/std_msgs/Int64MultiArray.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Int64MultiArray.cs.meta similarity index 100% rename from Runtime/MessageGeneration/std_msgs/Int64MultiArray.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Int64MultiArray.cs.meta diff --git a/Runtime/MessageGeneration/std_msgs/Int8.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Int8.cs similarity index 95% rename from Runtime/MessageGeneration/std_msgs/Int8.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Int8.cs index fd2b5c7c..73b6c6cc 100644 --- a/Runtime/MessageGeneration/std_msgs/Int8.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Int8.cs @@ -4,6 +4,7 @@ using System.Collections.Generic; using System.Text; using RosMessageGeneration; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Std { diff --git a/Runtime/MessageGeneration/std_msgs/Int8.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Int8.cs.meta similarity index 100% rename from Runtime/MessageGeneration/std_msgs/Int8.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Int8.cs.meta diff --git a/Runtime/MessageGeneration/std_msgs/Int8MultiArray.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Int8MultiArray.cs similarity index 97% rename from Runtime/MessageGeneration/std_msgs/Int8MultiArray.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Int8MultiArray.cs index 0cae5ce0..f4bb2b85 100644 --- a/Runtime/MessageGeneration/std_msgs/Int8MultiArray.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Int8MultiArray.cs @@ -4,6 +4,7 @@ using System.Collections.Generic; using System.Text; using RosMessageGeneration; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Std { diff --git a/Runtime/MessageGeneration/std_msgs/Int8MultiArray.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Int8MultiArray.cs.meta similarity index 100% rename from Runtime/MessageGeneration/std_msgs/Int8MultiArray.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Int8MultiArray.cs.meta diff --git a/Runtime/MessageGeneration/std_msgs/MultiArrayDimension.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/MultiArrayDimension.cs similarity index 97% rename from Runtime/MessageGeneration/std_msgs/MultiArrayDimension.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/MultiArrayDimension.cs index ef7b8372..8ee882f7 100644 --- a/Runtime/MessageGeneration/std_msgs/MultiArrayDimension.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/MultiArrayDimension.cs @@ -4,6 +4,7 @@ using System.Collections.Generic; using System.Text; using RosMessageGeneration; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Std { diff --git a/Runtime/MessageGeneration/std_msgs/MultiArrayDimension.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/MultiArrayDimension.cs.meta similarity index 100% rename from Runtime/MessageGeneration/std_msgs/MultiArrayDimension.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/MultiArrayDimension.cs.meta diff --git a/Runtime/MessageGeneration/std_msgs/MultiArrayLayout.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/MultiArrayLayout.cs similarity index 98% rename from Runtime/MessageGeneration/std_msgs/MultiArrayLayout.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/MultiArrayLayout.cs index f53a912d..b4145b2f 100644 --- a/Runtime/MessageGeneration/std_msgs/MultiArrayLayout.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/MultiArrayLayout.cs @@ -4,6 +4,7 @@ using System.Collections.Generic; using System.Text; using RosMessageGeneration; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Std { diff --git a/Runtime/MessageGeneration/std_msgs/MultiArrayLayout.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/MultiArrayLayout.cs.meta similarity index 100% rename from Runtime/MessageGeneration/std_msgs/MultiArrayLayout.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/MultiArrayLayout.cs.meta diff --git a/Runtime/MessageGeneration/std_msgs/String.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/String.cs similarity index 95% rename from Runtime/MessageGeneration/std_msgs/String.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/String.cs index 2a8b320c..80b00368 100644 --- a/Runtime/MessageGeneration/std_msgs/String.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/String.cs @@ -4,6 +4,7 @@ using System.Collections.Generic; using System.Text; using RosMessageGeneration; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Std { diff --git a/Runtime/MessageGeneration/std_msgs/String.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/String.cs.meta similarity index 100% rename from Runtime/MessageGeneration/std_msgs/String.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/String.cs.meta diff --git a/Runtime/MessageGeneration/std_msgs/Time.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Time.cs similarity index 95% rename from Runtime/MessageGeneration/std_msgs/Time.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Time.cs index cb61bb88..9532fc39 100644 --- a/Runtime/MessageGeneration/std_msgs/Time.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Time.cs @@ -2,6 +2,7 @@ using System; using System.Collections.Generic; using RosMessageGeneration; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Std { diff --git a/Runtime/MessageGeneration/std_msgs/Time.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Time.cs.meta similarity index 100% rename from Runtime/MessageGeneration/std_msgs/Time.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Time.cs.meta diff --git a/Runtime/MessageGeneration/std_msgs/UInt16.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/UInt16.cs similarity index 95% rename from Runtime/MessageGeneration/std_msgs/UInt16.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/UInt16.cs index 00c0420d..3363ded2 100644 --- a/Runtime/MessageGeneration/std_msgs/UInt16.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/UInt16.cs @@ -4,6 +4,7 @@ using System.Collections.Generic; using System.Text; using RosMessageGeneration; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Std { diff --git a/Runtime/MessageGeneration/std_msgs/UInt16.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/UInt16.cs.meta similarity index 100% rename from Runtime/MessageGeneration/std_msgs/UInt16.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/UInt16.cs.meta diff --git a/Runtime/MessageGeneration/std_msgs/UInt16MultiArray.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/UInt16MultiArray.cs similarity index 97% rename from Runtime/MessageGeneration/std_msgs/UInt16MultiArray.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/UInt16MultiArray.cs index e26aba30..b613723f 100644 --- a/Runtime/MessageGeneration/std_msgs/UInt16MultiArray.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/UInt16MultiArray.cs @@ -4,6 +4,7 @@ using System.Collections.Generic; using System.Text; using RosMessageGeneration; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Std { diff --git a/Runtime/MessageGeneration/std_msgs/UInt16MultiArray.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/UInt16MultiArray.cs.meta similarity index 100% rename from Runtime/MessageGeneration/std_msgs/UInt16MultiArray.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/UInt16MultiArray.cs.meta diff --git a/Runtime/MessageGeneration/std_msgs/UInt32.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/UInt32.cs similarity index 95% rename from Runtime/MessageGeneration/std_msgs/UInt32.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/UInt32.cs index 9ec4ffb8..3dd5f37d 100644 --- a/Runtime/MessageGeneration/std_msgs/UInt32.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/UInt32.cs @@ -4,6 +4,7 @@ using System.Collections.Generic; using System.Text; using RosMessageGeneration; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Std { diff --git a/Runtime/MessageGeneration/std_msgs/UInt32.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/UInt32.cs.meta similarity index 100% rename from Runtime/MessageGeneration/std_msgs/UInt32.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/UInt32.cs.meta diff --git a/Runtime/MessageGeneration/std_msgs/UInt32MultiArray.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/UInt32MultiArray.cs similarity index 97% rename from Runtime/MessageGeneration/std_msgs/UInt32MultiArray.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/UInt32MultiArray.cs index bef45cf8..8c06eb97 100644 --- a/Runtime/MessageGeneration/std_msgs/UInt32MultiArray.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/UInt32MultiArray.cs @@ -4,6 +4,7 @@ using System.Collections.Generic; using System.Text; using RosMessageGeneration; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Std { diff --git a/Runtime/MessageGeneration/std_msgs/UInt32MultiArray.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/UInt32MultiArray.cs.meta similarity index 100% rename from Runtime/MessageGeneration/std_msgs/UInt32MultiArray.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/UInt32MultiArray.cs.meta diff --git a/Runtime/MessageGeneration/std_msgs/UInt64.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/UInt64.cs similarity index 95% rename from Runtime/MessageGeneration/std_msgs/UInt64.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/UInt64.cs index 7f68d543..11b6beed 100644 --- a/Runtime/MessageGeneration/std_msgs/UInt64.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/UInt64.cs @@ -4,6 +4,7 @@ using System.Collections.Generic; using System.Text; using RosMessageGeneration; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Std { diff --git a/Runtime/MessageGeneration/std_msgs/UInt64.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/UInt64.cs.meta similarity index 100% rename from Runtime/MessageGeneration/std_msgs/UInt64.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/UInt64.cs.meta diff --git a/Runtime/MessageGeneration/std_msgs/UInt64MultiArray.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/UInt64MultiArray.cs similarity index 97% rename from Runtime/MessageGeneration/std_msgs/UInt64MultiArray.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/UInt64MultiArray.cs index 8d48c097..4e2503fc 100644 --- a/Runtime/MessageGeneration/std_msgs/UInt64MultiArray.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/UInt64MultiArray.cs @@ -4,6 +4,7 @@ using System.Collections.Generic; using System.Text; using RosMessageGeneration; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Std { diff --git a/Runtime/MessageGeneration/std_msgs/UInt64MultiArray.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/UInt64MultiArray.cs.meta similarity index 100% rename from Runtime/MessageGeneration/std_msgs/UInt64MultiArray.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/UInt64MultiArray.cs.meta diff --git a/Runtime/MessageGeneration/std_msgs/UInt8.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/UInt8.cs similarity index 94% rename from Runtime/MessageGeneration/std_msgs/UInt8.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/UInt8.cs index 18780fe2..bae58517 100644 --- a/Runtime/MessageGeneration/std_msgs/UInt8.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/UInt8.cs @@ -4,6 +4,7 @@ using System.Collections.Generic; using System.Text; using RosMessageGeneration; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Std { diff --git a/Runtime/MessageGeneration/std_msgs/UInt8.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/UInt8.cs.meta similarity index 100% rename from Runtime/MessageGeneration/std_msgs/UInt8.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/UInt8.cs.meta diff --git a/Runtime/MessageGeneration/std_msgs/UInt8MultiArray.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/UInt8MultiArray.cs similarity index 97% rename from Runtime/MessageGeneration/std_msgs/UInt8MultiArray.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/UInt8MultiArray.cs index b20eef4c..4e68b4fd 100644 --- a/Runtime/MessageGeneration/std_msgs/UInt8MultiArray.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/UInt8MultiArray.cs @@ -4,6 +4,7 @@ using System.Collections.Generic; using System.Text; using RosMessageGeneration; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Std { diff --git a/Runtime/MessageGeneration/std_msgs/UInt8MultiArray.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/UInt8MultiArray.cs.meta similarity index 100% rename from Runtime/MessageGeneration/std_msgs/UInt8MultiArray.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/UInt8MultiArray.cs.meta diff --git a/Runtime/ROSGeometry.meta b/com.unity.robotics.ros-tcp-connector/Runtime/ROSGeometry.meta similarity index 100% rename from Runtime/ROSGeometry.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/ROSGeometry.meta diff --git a/Runtime/ROSGeometry/CoordinateSpaces.cs b/com.unity.robotics.ros-tcp-connector/Runtime/ROSGeometry/CoordinateSpaces.cs similarity index 87% rename from Runtime/ROSGeometry/CoordinateSpaces.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/ROSGeometry/CoordinateSpaces.cs index ec3c70db..91e04669 100644 --- a/Runtime/ROSGeometry/CoordinateSpaces.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/ROSGeometry/CoordinateSpaces.cs @@ -1,10 +1,11 @@ +using System; using System.Collections; using System.Collections.Generic; using UnityEngine; -namespace ROSGeometry +namespace Unity.Robotics.ROSTCPConnector.ROSGeometry { - public interface CoordinateSpace + public interface ICoordinateSpace { Vector3 ConvertFromRUF(Vector3 v); // convert this vector from the Unity coordinate space into mine Vector3 ConvertToRUF(Vector3 v); // convert from my coordinate space into the Unity coordinate space @@ -13,8 +14,13 @@ public interface CoordinateSpace Quaternion ConvertToRUF(Quaternion q); // convert from my coordinate space into the Unity coordinate space } + [Obsolete("CoordinateSpace has been renamed to ICoordinateSpace")] + public interface CoordinateSpace : ICoordinateSpace + { + } + //RUF is the Unity coordinate space, so no conversion needed - public class RUF : CoordinateSpace + public class RUF : ICoordinateSpace { public Vector3 ConvertFromRUF(Vector3 v) => v; public Vector3 ConvertToRUF(Vector3 v) => v; @@ -22,7 +28,7 @@ public class RUF : CoordinateSpace public Quaternion ConvertToRUF(Quaternion q) => q; } - public class FLU : CoordinateSpace + public class FLU : ICoordinateSpace { public Vector3 ConvertFromRUF(Vector3 v) => new Vector3(v.z, -v.x, v.y); public Vector3 ConvertToRUF(Vector3 v) => new Vector3(-v.y, v.z, v.x); @@ -30,7 +36,7 @@ public class FLU : CoordinateSpace public Quaternion ConvertToRUF(Quaternion q) => new Quaternion(-q.y, q.z, q.x, -q.w); } - public class NED : CoordinateSpace + public class NED : ICoordinateSpace { public Vector3 ConvertFromRUF(Vector3 v) => new Vector3(v.z, v.x, -v.y); public Vector3 ConvertToRUF(Vector3 v) => new Vector3(v.y, -v.z, v.x); @@ -38,7 +44,7 @@ public class NED : CoordinateSpace public Quaternion ConvertToRUF(Quaternion q) => new Quaternion(q.y, -q.z, q.x, -q.w); } - public class ENU : CoordinateSpace + public class ENU : ICoordinateSpace { public Vector3 ConvertFromRUF(Vector3 v) => new Vector3(v.x, v.z, v.y); public Vector3 ConvertToRUF(Vector3 v) => new Vector3(v.x, v.z, v.y); @@ -57,58 +63,58 @@ public enum CoordinateSpaceSelection public static class CoordinateSpaceExtensions { public static Vector3 To(this Vector3 self) - where C : CoordinateSpace, new() + where C : ICoordinateSpace, new() { return new Vector3(self); } public static Quaternion To(this Quaternion self) - where C : CoordinateSpace, new() + where C : ICoordinateSpace, new() { return new Quaternion(self); } - public static Vector3 As(this RosMessageTypes.Geometry.Point self) where C : CoordinateSpace, new() + public static Vector3 As(this RosMessageTypes.Geometry.Point self) where C : ICoordinateSpace, new() { return new Vector3((float)self.x, (float)self.y, (float)self.z); } - public static Vector3 From(this RosMessageTypes.Geometry.Point self) where C : CoordinateSpace, new() + public static Vector3 From(this RosMessageTypes.Geometry.Point self) where C : ICoordinateSpace, new() { return new Vector3((float)self.x, (float)self.y, (float)self.z).toUnity; } - public static Vector3 As(this RosMessageTypes.Geometry.Point32 self) where C : CoordinateSpace, new() + public static Vector3 As(this RosMessageTypes.Geometry.Point32 self) where C : ICoordinateSpace, new() { return new Vector3(self.x, self.y, self.z); } - public static Vector3 From(this RosMessageTypes.Geometry.Point32 self) where C : CoordinateSpace, new() + public static Vector3 From(this RosMessageTypes.Geometry.Point32 self) where C : ICoordinateSpace, new() { return new Vector3(self.x, self.y, self.z).toUnity; } - public static Vector3 As(this RosMessageTypes.Geometry.Vector3 self) where C : CoordinateSpace, new() + public static Vector3 As(this RosMessageTypes.Geometry.Vector3 self) where C : ICoordinateSpace, new() { return new Vector3((float)self.x, (float)self.y, (float)self.z); } - public static Vector3 From(this RosMessageTypes.Geometry.Vector3 self) where C : CoordinateSpace, new() + public static Vector3 From(this RosMessageTypes.Geometry.Vector3 self) where C : ICoordinateSpace, new() { return new Vector3((float)self.x, (float)self.y, (float)self.z).toUnity; } - public static Quaternion As(this RosMessageTypes.Geometry.Quaternion self) where C : CoordinateSpace, new() + public static Quaternion As(this RosMessageTypes.Geometry.Quaternion self) where C : ICoordinateSpace, new() { return new Quaternion((float)self.x, (float)self.y, (float)self.z, (float)self.w); } - public static Quaternion From(this RosMessageTypes.Geometry.Quaternion self) where C : CoordinateSpace, new() + public static Quaternion From(this RosMessageTypes.Geometry.Quaternion self) where C : ICoordinateSpace, new() { return new Quaternion((float)self.x, (float)self.y, (float)self.z, (float)self.w).toUnity; } - public static RosMessageTypes.Geometry.Transform To(this Transform transform) where C : CoordinateSpace, new() + public static RosMessageTypes.Geometry.Transform To(this Transform transform) where C : ICoordinateSpace, new() { return new RosMessageTypes.Geometry.Transform(new Vector3(transform.position), new Quaternion(transform.rotation)); } @@ -185,4 +191,4 @@ public static Quaternion From(this RosMessageTypes.Geometry.Quaternion self, Coo } } } -} \ No newline at end of file +} diff --git a/Runtime/ROSGeometry/CoordinateSpaces.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/ROSGeometry/CoordinateSpaces.cs.meta similarity index 100% rename from Runtime/ROSGeometry/CoordinateSpaces.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/ROSGeometry/CoordinateSpaces.cs.meta diff --git a/Runtime/ROSGeometry/ROSQuaternion.cs b/com.unity.robotics.ros-tcp-connector/Runtime/ROSGeometry/ROSQuaternion.cs similarity index 91% rename from Runtime/ROSGeometry/ROSQuaternion.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/ROSGeometry/ROSQuaternion.cs index 5249fdf2..38aa5184 100644 --- a/Runtime/ROSGeometry/ROSQuaternion.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/ROSGeometry/ROSQuaternion.cs @@ -1,13 +1,11 @@ using System; -using System.Collections; -using System.Collections.Generic; using UnityEngine; -namespace ROSGeometry +namespace Unity.Robotics.ROSTCPConnector.ROSGeometry { // This struct implements a feature-compatible version of the Unity Quaternion, but in a generic coordinate space. [Serializable] - public struct Quaternion where C : CoordinateSpace, new() + public struct Quaternion where C : ICoordinateSpace, new() { [SerializeField] private Quaternion internalQuat; @@ -36,7 +34,7 @@ public Quaternion(Quaternion ruf) public static explicit operator Quaternion(Quaternion quat) => new Quaternion(quat); public static explicit operator Quaternion(Quaternion rquat) => rquat.toUnity; - public Quaternion To() where C2 : CoordinateSpace, new() + public Quaternion To() where C2 : ICoordinateSpace, new() { return new Quaternion(this.toUnity); } @@ -142,12 +140,8 @@ public void ToAngleAxis(out float angle, out Vector3 axis) axis = uaxis.To(); } -#if UNITY_2020_1_OR_NEWER - public string ToString(string format, System.IFormatProvider formatProvider) => internalQuat.ToString(format, formatProvider); -#else - public string ToString(string format, System.IFormatProvider formatProvider) => internalQuat.ToString(format); -#endif + public string ToString(string format, IFormatProvider formatProvider) => internalQuat.ToString(format, formatProvider); public string ToString(string format) => internalQuat.ToString(format); public override string ToString() => internalQuat.ToString(); } -} \ No newline at end of file +} diff --git a/Runtime/ROSGeometry/ROSQuaternion.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/ROSGeometry/ROSQuaternion.cs.meta similarity index 100% rename from Runtime/ROSGeometry/ROSQuaternion.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/ROSGeometry/ROSQuaternion.cs.meta diff --git a/Runtime/ROSGeometry/ROSVector3.cs b/com.unity.robotics.ros-tcp-connector/Runtime/ROSGeometry/ROSVector3.cs similarity index 95% rename from Runtime/ROSGeometry/ROSVector3.cs rename to com.unity.robotics.ros-tcp-connector/Runtime/ROSGeometry/ROSVector3.cs index 2c4cbfba..044c2f11 100644 --- a/Runtime/ROSGeometry/ROSVector3.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/ROSGeometry/ROSVector3.cs @@ -1,13 +1,11 @@ using System; -using System.Collections; -using System.Collections.Generic; using UnityEngine; -namespace ROSGeometry +namespace Unity.Robotics.ROSTCPConnector.ROSGeometry { // This struct implements a feature-compatible version of the Unity Vector3, but in a generic coordinate space. [Serializable] - public struct Vector3 : IEquatable>, IFormattable where C : CoordinateSpace, new() + public struct Vector3 : IEquatable>, IFormattable where C : ICoordinateSpace, new() { // For implementation convenience this actually contains a real Unity Vector3. Its components are in ROS coordinate space. // For safety, this is private and users should never need to access or know about it. @@ -42,7 +40,7 @@ public static explicit operator Vector3(Vector3 vec) return coordinateSpace.ConvertToRUF(vec.internalVector); } - public Vector3 To() where C2 : CoordinateSpace, new() + public Vector3 To() where C2 : ICoordinateSpace, new() { return (Vector3)(Vector3)this; } @@ -74,7 +72,7 @@ private static Vector3 MakeInternal(Vector3 vec) public float sqrMagnitude => internalVector.sqrMagnitude; public static float Angle(Vector3 from, Vector3 to) => Vector3.Angle(from.internalVector, to.internalVector); - + public static Vector3 ClampMagnitude(Vector3 vector, float maxLength) { return MakeInternal(Vector3.ClampMagnitude(vector.internalVector, maxLength)); @@ -86,102 +84,102 @@ public static Vector3 Cross(Vector3 lhs, Vector3 rhs) } public static float Distance(Vector3 a, Vector3 b) => Vector3.Distance(a.internalVector, b.internalVector); - + public static float Dot(Vector3 lhs, Vector3 rhs) => Vector3.Dot(lhs.internalVector, rhs.internalVector); - + public static Vector3 Lerp(Vector3 a, Vector3 b, float t) { return MakeInternal(Vector3.Lerp(a.internalVector, b.internalVector, t)); } - + public static Vector3 LerpUnclamped(Vector3 a, Vector3 b, float t) { return MakeInternal(Vector3.LerpUnclamped(a.internalVector, b.internalVector, t)); } - + public static float Magnitude(Vector3 vector) => Vector3.Magnitude(vector.internalVector); - + public static Vector3 Max(Vector3 lhs, Vector3 rhs) => MakeInternal(Vector3.Max(lhs.internalVector, rhs.internalVector)); - + public static Vector3 Min(Vector3 lhs, Vector3 rhs) => MakeInternal(Vector3.Min(lhs.internalVector, rhs.internalVector)); - + public static Vector3 MoveTowards(Vector3 current, Vector3 target, float maxDistanceDelta) { return MakeInternal(Vector3.MoveTowards(current.internalVector, target.internalVector, maxDistanceDelta)); } - + public static Vector3 Normalize(Vector3 value) => MakeInternal(Vector3.Normalize(value.internalVector)); - + public static void OrthoNormalize(ref Vector3 normal, ref Vector3 tangent, ref Vector3 binormal) { Vector3.OrthoNormalize(ref normal.internalVector, ref tangent.internalVector, ref binormal.internalVector); } - + public static void OrthoNormalize(ref Vector3 normal, ref Vector3 tangent) { Vector3.OrthoNormalize(ref normal.internalVector, ref tangent.internalVector); } - + public static Vector3 Project(Vector3 vector, Vector3 onNormal) { return MakeInternal(Vector3.Project(vector.internalVector, onNormal.internalVector)); } - + public static Vector3 ProjectOnPlane(Vector3 vector, Vector3 planeNormal) { return MakeInternal(Vector3.ProjectOnPlane(vector.internalVector, planeNormal.internalVector)); } - + public static Vector3 Reflect(Vector3 inDirection, Vector3 inNormal) { return MakeInternal(Vector3.Reflect(inDirection.internalVector, inNormal.internalVector)); } - + public static Vector3 RotateTowards(Vector3 current, Vector3 target, float maxRadiansDelta, float maxMagnitudeDelta) { return MakeInternal(Vector3.RotateTowards(current.internalVector, target.internalVector, maxRadiansDelta, maxMagnitudeDelta)); } - + public static Vector3 Scale(Vector3 a, Vector3 b) => MakeInternal(Vector3.Scale(a.internalVector, b.internalVector)); - + public static float SignedAngle(Vector3 from, Vector3 to, Vector3 axis) { return Vector3.SignedAngle(from.internalVector, to.internalVector, axis.internalVector); } - + public static Vector3 Slerp(Vector3 a, Vector3 b, float t) { return MakeInternal(Vector3.Slerp(a.internalVector, b.internalVector, t)); } - + public static Vector3 SlerpUnclamped(Vector3 a, Vector3 b, float t) { return MakeInternal(Vector3.SlerpUnclamped(a.internalVector, b.internalVector, t)); } - + public static Vector3 SmoothDamp(Vector3 current, Vector3 target, ref Vector3 currentVelocity, float smoothTime) { return MakeInternal(Vector3.SmoothDamp(current.internalVector, target.internalVector, ref currentVelocity.internalVector, smoothTime)); } - + public static Vector3 SmoothDamp(Vector3 current, Vector3 target, ref Vector3 currentVelocity, float smoothTime, float maxSpeed) { return MakeInternal(Vector3.SmoothDamp(current.internalVector, target.internalVector, ref currentVelocity.internalVector, smoothTime, maxSpeed)); } - + public static float SqrMagnitude(Vector3 vector) => Vector3.SqrMagnitude(vector.internalVector); - + public override bool Equals(object other) { if (other is Vector3) return internalVector == ((Vector3)other).internalVector; return false; } - + public bool Equals(Vector3 other) => internalVector == other.internalVector; - + public override int GetHashCode() => internalVector.GetHashCode(); - + public void Normalize() { internalVector.Normalize(); @@ -191,25 +189,21 @@ public void Scale(Vector3 scale) { internalVector.Scale(scale.internalVector); } - + public void Set(float newX, float newY, float newZ) { internalVector.Set(newX, newY, newZ); } - + public string ToString(string format) => internalVector.ToString(format); public override string ToString() => internalVector.ToString(); -#if UNITY_2020_1_OR_NEWER public string ToString(string format, System.IFormatProvider formatProvider) => internalVector.ToString(format, formatProvider); -#else - public string ToString(string format, System.IFormatProvider formatProvider) => internalVector.ToString(format); -#endif public static Vector3 operator +(Vector3 a, Vector3 b) { return MakeInternal(a.internalVector + b.internalVector); } - + public static Vector3 operator -(Vector3 a) { return MakeInternal(-a.internalVector); @@ -219,22 +213,22 @@ public void Set(float newX, float newY, float newZ) { return MakeInternal(a.internalVector - b.internalVector); } - + public static Vector3 operator *(float d, Vector3 a) { return MakeInternal(d * a.internalVector); } - + public static Vector3 operator *(Vector3 a, float d) { return MakeInternal(a.internalVector * d); } - + public static Vector3 operator /(Vector3 a, float d) { return MakeInternal(a.internalVector / d); } - + public static bool operator ==(Vector3 lhs, Vector3 rhs) { return lhs.internalVector == rhs.internalVector; @@ -245,4 +239,4 @@ public void Set(float newX, float newY, float newZ) return lhs.internalVector != rhs.internalVector; } } -} \ No newline at end of file +} diff --git a/Runtime/ROSGeometry/ROSVector3.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/ROSGeometry/ROSVector3.cs.meta similarity index 100% rename from Runtime/ROSGeometry/ROSVector3.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/ROSGeometry/ROSVector3.cs.meta diff --git a/Runtime/TcpConnector.meta b/com.unity.robotics.ros-tcp-connector/Runtime/TcpConnector.meta similarity index 100% rename from Runtime/TcpConnector.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/TcpConnector.meta diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/TcpConnector/HUDPanel.cs b/com.unity.robotics.ros-tcp-connector/Runtime/TcpConnector/HUDPanel.cs new file mode 100644 index 00000000..0da97379 --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Runtime/TcpConnector/HUDPanel.cs @@ -0,0 +1,228 @@ +using System; +using System.Collections.Generic; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; +using UnityEngine; + +namespace Unity.Robotics.ROSTCPConnector +{ + public class HUDPanel : MonoBehaviour + { + // GUI variables + GUIStyle labelStyle; + GUIStyle contentStyle; + GUIStyle messageStyle; + bool viewSent = false; + bool viewRecv = false; + bool viewSrvs = false; + Rect scrollRect; + bool redrawGUI = false; + + // ROS Message variables + internal bool isEnabled; + internal string host; + + MessageViewState lastMessageSent; + string lastMessageSentMeta = "None"; + + public void SetLastMessageSent(string topic, Message message) + { + lastMessageSent = new MessageViewState() {label = "Last Message Sent:", message = message}; + lastMessageSentMeta = $"{topic} (time: {System.DateTime.Now.TimeOfDay})"; + redrawGUI = true; + } + + MessageViewState lastMessageReceived; + string lastMessageReceivedMeta = "None"; + + public void SetLastMessageReceived(string topic, Message message) + { + lastMessageReceived = new MessageViewState() {label = "Last Message Received:", message = message}; + lastMessageReceivedMeta = $"{topic} (time: {System.DateTime.Now.TimeOfDay})"; + redrawGUI = true; + } + + List activeServices = new List(); + MessageViewState lastCompletedServiceRequest = null; + MessageViewState lastCompletedServiceResponse = null; + int nextServiceID = 101; + + public int AddServiceRequest(string topic, Message request) + { + int serviceID = nextServiceID; + nextServiceID++; + + activeServices.Add(new MessageViewState() + { + serviceID = serviceID, + timestamp = Time.time, + topic = topic, + message = request, + label = $"{topic} Service Requested", + }); + + return serviceID; + } + + public void AddServiceResponse(int serviceID, Message response) + { + lastCompletedServiceRequest = activeServices.Find(s => s.serviceID == serviceID); + activeServices.Remove(lastCompletedServiceRequest); + + lastCompletedServiceResponse = new MessageViewState() + { + serviceID = serviceID, + timestamp = Time.time, + topic = lastCompletedServiceRequest.topic, + message = response, + label = $"{lastCompletedServiceRequest.topic} Service Response", + }; + } + + void Awake() + { + // Define font styles + labelStyle = new GUIStyle + { + alignment = TextAnchor.MiddleLeft, + normal = {textColor = Color.white}, + fontStyle = FontStyle.Bold, + fixedWidth = 250 + }; + + contentStyle = new GUIStyle + { + alignment = TextAnchor.MiddleLeft, + padding = new RectOffset(10, 0, 0, 5), + normal = {textColor = Color.white}, + fixedWidth = 300 + }; + + messageStyle = new GUIStyle + { + alignment = TextAnchor.MiddleLeft, + padding = new RectOffset(10, 0, 5, 5), + normal = {textColor = Color.white}, + fixedWidth = 300, + wordWrap = true + }; + + scrollRect = new Rect(); + } + + void OnGUI() + { + if (!isEnabled) + return; + + // Initialize main HUD + GUILayout.BeginVertical("box"); + + // ROS IP Setup + GUILayout.Label("ROS IP:", labelStyle); + GUILayout.Label(host, contentStyle); + + // Last message sent + GUILayout.Label("Last Message Sent:", labelStyle); + GUILayout.Label(lastMessageSentMeta, contentStyle); + if (lastMessageSent != null) + viewSent = GUILayout.Toggle(viewSent, "View contents"); + + // Last message received + GUILayout.Label("Last Message Received:", labelStyle); + GUILayout.Label(lastMessageReceivedMeta, contentStyle); + if (lastMessageReceived != null) + viewRecv = GUILayout.Toggle(viewRecv, "View contents"); + + GUILayout.Label($"{activeServices.Count} Active Service Requests:", labelStyle); + if (activeServices.Count > 0) + { + var dots = new String('.', (int) Time.time % 4); + GUILayout.Label($"Waiting for service response{dots}", contentStyle); + } + + viewSrvs = GUILayout.Toggle(viewSrvs, "View services status"); + + GUILayout.EndVertical(); + + // Update length of scroll + if (GUILayoutUtility.GetLastRect().height > 1 && GUILayoutUtility.GetLastRect().width > 1) + scrollRect = GUILayoutUtility.GetLastRect(); + + // Optionally show message contents + float y = scrollRect.yMax; + if (viewSent) + { + y = ShowMessage(lastMessageSent, y); + } + + if (viewRecv) + { + y = ShowMessage(lastMessageReceived, y); + } + + if (viewSrvs) + { + foreach (MessageViewState service in activeServices) + { + y = ShowMessage(service, y, showElapsedTime: true); + } + + if (lastCompletedServiceRequest != null && lastCompletedServiceResponse != null) + { + y = ShowMessage(lastCompletedServiceRequest, y); + y = ShowMessage(lastCompletedServiceResponse, y); + } + } + } + + /// + /// All the information necessary to display a message and remember its scroll position + /// + class MessageViewState + { + public string label; + public int serviceID; + public float timestamp; + public string topic; + public Message message; + public Rect contentRect; + public Vector2 scrollPosition; + } + + /// + /// Displays a MessageViewState + /// + /// The message view to draw + /// The Y position to draw at + /// Whether to add elapsed time to the title + /// The new Y position to draw at + float ShowMessage(MessageViewState msgView, float y, bool showElapsedTime = false) + { + if (msgView == null) + return y; + + // Start scrollviews + float height = msgView.contentRect.height > 0 ? Mathf.Min(msgView.contentRect.height, 200) : 200; + Rect panelRect = new Rect(0, y + 5, 325, height); + msgView.scrollPosition = GUI.BeginScrollView(panelRect, msgView.scrollPosition, msgView.contentRect); + + GUILayout.BeginVertical("box"); + + // Paste contents of message + if (showElapsedTime) + GUILayout.Label($"{msgView.label} ({Time.time - msgView.timestamp})", labelStyle); + else + GUILayout.Label(msgView.label, labelStyle); + GUILayout.Label(msgView.message.ToString(), messageStyle); + + GUILayout.EndVertical(); + GUI.EndScrollView(); + + // Update size of internal rect view + if (GUILayoutUtility.GetLastRect().height > 1 && GUILayoutUtility.GetLastRect().width > 1) + msgView.contentRect = GUILayoutUtility.GetLastRect(); + + return panelRect.yMax; + } + } +} \ No newline at end of file diff --git a/Runtime/TcpConnector/HUDPanel.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/TcpConnector/HUDPanel.cs.meta similarity index 100% rename from Runtime/TcpConnector/HUDPanel.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/TcpConnector/HUDPanel.cs.meta diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/TcpConnector/ROSConnection.cs b/com.unity.robotics.ros-tcp-connector/Runtime/TcpConnector/ROSConnection.cs new file mode 100644 index 00000000..d0230306 --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Runtime/TcpConnector/ROSConnection.cs @@ -0,0 +1,559 @@ +using RosMessageTypes.RosTcpEndpoint; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Net; +using System.Net.Sockets; +using System.Reflection; +using System.Text; +using System.Threading.Tasks; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; +using UnityEngine; +using UnityEngine.Serialization; + +namespace Unity.Robotics.ROSTCPConnector +{ + public class ROSConnection : MonoBehaviour + { + // Variables required for ROS communication + [FormerlySerializedAs("hostName")] public string rosIPAddress = "127.0.0.1"; + [FormerlySerializedAs("hostPort")] public int rosPort = 10000; + + [Tooltip("If blank, determine IP automatically.")] + public string overrideUnityIP = ""; + + public int unityPort = 5005; + bool alreadyStartedServer = false; + + private int networkTimeout = 2000; + + [Tooltip("While waiting for a service to respond, check this many times before giving up.")] + public int awaitDataMaxRetries = 10; + + [Tooltip("While waiting for a service to respond, wait this many seconds between checks.")] + public float awaitDataSleepSeconds = 1.0f; + + static object _lock = new object(); // sync lock + static List activeConnectionTasks = new List(); // pending connections + + const string ERROR_TOPIC_NAME = "__error"; + const string SYSCOMMAND_TOPIC_NAME = "__syscommand"; + const string HANDSHAKE_TOPIC_NAME = "__handshake"; + + const string SYSCOMMAND_SUBSCRIBE = "subscribe"; + const string SYSCOMMAND_PUBLISH = "publish"; + + // GUI window variables + internal HUDPanel hudPanel = null; + + public bool showHUD = true; + + struct SubscriberCallback + { + public ConstructorInfo messageConstructor; + public List> callbacks; + } + + Dictionary subscribers = new Dictionary(); + + public void Subscribe(string topic, Action callback) where T : Message, new() + { + SubscriberCallback subCallbacks; + if (!subscribers.TryGetValue(topic, out subCallbacks)) + { + subCallbacks = new SubscriberCallback + { + messageConstructor = typeof(T).GetConstructor(new Type[0]), + callbacks = new List> { } + }; + subscribers.Add(topic, subCallbacks); + } + + subCallbacks.callbacks.Add((Message msg) => + { + callback((T) msg); + return null; + }); + } + + public void ImplementService(string topic, Func callback) + where T : Message, new() + { + SubscriberCallback subCallbacks; + if (!subscribers.TryGetValue(topic, out subCallbacks)) + { + subCallbacks = new SubscriberCallback + { + messageConstructor = typeof(T).GetConstructor(new Type[0]), + callbacks = new List> { } + }; + subscribers.Add(topic, subCallbacks); + } + + subCallbacks.callbacks.Add((Message msg) => { return callback((T) msg); }); + } + + public async void SendServiceMessage(string rosServiceName, Message serviceRequest, + Action callback) where RESPONSE : Message, new() + { + // Serialize the message in service name, message size, and message bytes format + byte[] messageBytes = GetMessageBytes(rosServiceName, serviceRequest); + + TcpClient client = new TcpClient(); + await client.ConnectAsync(rosIPAddress, rosPort); + + NetworkStream networkStream = client.GetStream(); + networkStream.ReadTimeout = networkTimeout; + + RESPONSE serviceResponse = new RESPONSE(); + + int serviceID = 0; + + // Send the message + try + { + if (hudPanel != null) serviceID = hudPanel.AddServiceRequest(rosServiceName, serviceRequest); + networkStream.Write(messageBytes, 0, messageBytes.Length); + } + catch (Exception e) + { + Debug.LogError("SocketException: " + e); + goto finish; + } + + if (!networkStream.CanRead) + { + Debug.LogError("Sorry, you cannot read from this NetworkStream."); + goto finish; + } + + // Poll every 1 second(s) for available data on the stream + int attempts = 0; + while (!networkStream.DataAvailable && attempts <= this.awaitDataMaxRetries) + { + if (attempts == this.awaitDataMaxRetries) + { + Debug.LogError("No data available on network stream after " + awaitDataMaxRetries + " attempts."); + goto finish; + } + + attempts++; + await Task.Delay((int) (awaitDataSleepSeconds * 1000)); + } + + try + { + string serviceName; + byte[] content = ReadMessageContents(networkStream, out serviceName); + serviceResponse.Deserialize(content, 0); + } + catch (Exception e) + { + Debug.LogError("Exception raised!! " + e); + } + + finish: + callback(serviceResponse); + if (hudPanel != null) hudPanel.AddServiceResponse(serviceID, serviceResponse); + if (client.Connected) + client.Close(); + } + + public void RegisterSubscriber(string topic, string rosMessageName) + { + SendSysCommand(SYSCOMMAND_SUBSCRIBE, + new SysCommand_Subscribe {topic = topic, message_name = rosMessageName}); + } + + public void RegisterPublisher(string topic, string rosMessageName) + { + SendSysCommand(SYSCOMMAND_PUBLISH, new SysCommand_Publish {topic = topic, message_name = rosMessageName}); + } + + private static ROSConnection _instance; + + public static ROSConnection instance + { + get + { + if (_instance == null) + { + GameObject prefab = Resources.Load("ROSConnectionPrefab"); + if (prefab == null) + { + Debug.LogWarning( + "No settings for ROSConnection.instance! Open \"ROS Settings\" from the Robotics menu to configure it."); + GameObject instance = new GameObject("ROSConnection"); + _instance = instance.AddComponent(); + } + else + { + Instantiate(prefab); + } + } + + return _instance; + } + } + + void OnEnable() + { + if (_instance == null) + _instance = this; + } + + private void Start() + { + InitializeHUD(); + Subscribe(ERROR_TOPIC_NAME, RosUnityErrorCallback); + + if (overrideUnityIP != "") + { + StartMessageServer(overrideUnityIP, unityPort); // no reason to wait, if we already know the IP + } + + SendServiceMessage(HANDSHAKE_TOPIC_NAME, + new UnityHandshakeRequest(overrideUnityIP, (ushort) unityPort), RosUnityHandshakeCallback); + } + + void OnValidate() + { + InitializeHUD(); + } + + private void InitializeHUD() + { + if (!Application.isPlaying || (!showHUD && hudPanel == null)) + return; + + if (hudPanel == null) + { + hudPanel = gameObject.AddComponent(); + hudPanel.host = $"{rosIPAddress}:{rosPort}"; + } + + hudPanel.isEnabled = showHUD; + } + + void RosUnityHandshakeCallback(UnityHandshakeResponse response) + { + StartMessageServer(response.ip, unityPort); + } + + void RosUnityErrorCallback(RosUnityError error) + { + Debug.LogError("ROS-Unity error: " + error.message); + } + + /// TcpClient to read byte stream from. + protected async Task HandleConnectionAsync(TcpClient tcpClient) + { + await Task.Yield(); + + // continue asynchronously on another thread + ReadMessage(tcpClient.GetStream()); + } + + void ReadMessage(NetworkStream networkStream) + { + if (!networkStream.CanRead) + return; + + SubscriberCallback subs; + + string topicName; + byte[] content = ReadMessageContents(networkStream, out topicName); + + if (!subscribers.TryGetValue(topicName, out subs)) + return; // not interested in this topic + + Message msg = (Message) subs.messageConstructor.Invoke(new object[0]); + msg.Deserialize(content, 0); + + if (hudPanel != null) + hudPanel.SetLastMessageReceived(topicName, msg); + + foreach (Func callback in subs.callbacks) + { + try + { + Message response = callback(msg); + if (response != null) + { + // if the callback has a response, it's implementing a service + WriteDataStaggered(networkStream, topicName, response); + } + } + catch (Exception e) + { + Debug.LogError("Subscriber callback problem: " + e); + } + } + } + + byte[] ReadMessageContents(NetworkStream networkStream, out string topicName) + { + // Get first bytes to determine length of topic name + byte[] rawTopicBytes = new byte[4]; + networkStream.Read(rawTopicBytes, 0, rawTopicBytes.Length); + int topicLength = BitConverter.ToInt32(rawTopicBytes, 0); + + // Read and convert topic name + byte[] topicNameBytes = new byte[topicLength]; + networkStream.Read(topicNameBytes, 0, topicNameBytes.Length); + topicName = Encoding.ASCII.GetString(topicNameBytes, 0, topicLength); + + byte[] full_message_size_bytes = new byte[4]; + networkStream.Read(full_message_size_bytes, 0, full_message_size_bytes.Length); + int full_message_size = BitConverter.ToInt32(full_message_size_bytes, 0); + + byte[] readBuffer = new byte[full_message_size]; + int bytesRemaining = full_message_size; + int totalBytesRead = 0; + + while (networkStream.DataAvailable && bytesRemaining > 0) + { + int bytesRead = networkStream.Read(readBuffer, totalBytesRead, bytesRemaining); + totalBytesRead += bytesRead; + bytesRemaining -= bytesRead; + } + + return readBuffer; + } + + /// + /// Handles multiple connections and locks. + /// + /// TcpClient to read byte stream from. + private async Task StartHandleConnectionAsync(TcpClient tcpClient) + { + var connectionTask = HandleConnectionAsync(tcpClient); + + lock (_lock) + activeConnectionTasks.Add(connectionTask); + + try + { + await connectionTask; + // we may be on another thread after "await" + } + catch (Exception ex) + { + Debug.LogError(ex.ToString()); + } + finally + { + lock (_lock) + activeConnectionTasks.Remove(connectionTask); + } + } + + TcpListener tcpListener; + + protected async void StartMessageServer(string ip, int port) + { + if (alreadyStartedServer) + return; + + alreadyStartedServer = true; + while (true) + { + try + { + if (!Application.isPlaying) + break; + tcpListener = new TcpListener(IPAddress.Parse(ip), port); + tcpListener.Start(); + + Debug.Log("ROS-Unity server listening on " + ip + ":" + port); + + while (true) //we wait for a connection + { + var tcpClient = await tcpListener.AcceptTcpClientAsync(); + + var task = StartHandleConnectionAsync(tcpClient); + // if already faulted, re-throw any error on the calling context + if (task.IsFaulted) + await task; + + // try to get through the message queue before doing another await + // but if messages are arriving faster than we can process them, don't freeze up + float abortAtRealtime = Time.realtimeSinceStartup + 0.1f; + while (tcpListener.Pending() && Time.realtimeSinceStartup < abortAtRealtime) + { + tcpClient = tcpListener.AcceptTcpClient(); + task = StartHandleConnectionAsync(tcpClient); + if (task.IsFaulted) + await task; + } + } + } + catch (ObjectDisposedException e) + { + if (!Application.isPlaying) + { + // This only happened because we're shutting down. Not a problem. + } + else + { + Debug.LogError("Exception raised!! " + e); + } + } + catch (Exception e) + { + Debug.LogError("Exception raised!! " + e); + } + + // to avoid infinite loops, wait a frame before trying to restart the server + await Task.Yield(); + } + } + + private void OnApplicationQuit() + { + if (tcpListener != null) + tcpListener.Stop(); + tcpListener = null; + } + + + /// + /// Given some input values, fill a byte array in the desired format to use with + /// https://github.com/Unity-Technologies/Robotics-Tutorials/tree/master/catkin_ws/src/tcp_endpoint + /// + /// All messages are expected to come in the format of: + /// first four bytes: int32 of the length of following string value + /// next N bytes determined from previous four bytes: ROS topic name as a string + /// next four bytes: int32 of the length of the remaining bytes for the ROS Message + /// last N bytes determined from previous four bytes: ROS Message variables + /// + /// Index of where to start writing output data + /// The name of the ROS service or topic that the message data is meant for + /// The full size of the already serialized message in bytes + /// The serialized ROS message to send to ROS network + /// + public int GetPrefixBytes(int offset, byte[] serviceName, byte[] fullMessageSizeBytes, byte[] messagBuffer) + { + // Service Name bytes + System.Buffer.BlockCopy(serviceName, 0, messagBuffer, 0, serviceName.Length); + offset += serviceName.Length; + + // Full Message size bytes + System.Buffer.BlockCopy(fullMessageSizeBytes, 0, messagBuffer, offset, fullMessageSizeBytes.Length); + offset += fullMessageSizeBytes.Length; + + return offset; + } + + /// + /// Serialize a ROS message in the expected format of + /// https://github.com/Unity-Technologies/Robotics-Tutorials/tree/master/catkin_ws/src/tcp_endpoint + /// + /// All messages are expected to come in the format of: + /// first four bytes: int32 of the length of following string value + /// next N bytes determined from previous four bytes: ROS topic name as a string + /// next four bytes: int32 of the length of the remaining bytes for the ROS Message + /// last N bytes determined from previous four bytes: ROS Message variables + /// + /// The ROS topic or service name that is receiving the messsage + /// The ROS message to send to a ROS publisher or service + /// byte array with serialized ROS message in appropriate format + public byte[] GetMessageBytes(string topicServiceName, Message message) + { + byte[] topicName = message.SerializeString(topicServiceName); + byte[] bytesMsg = message.Serialize(); + byte[] fullMessageSizeBytes = BitConverter.GetBytes(bytesMsg.Length); + + byte[] messageBuffer = new byte[topicName.Length + fullMessageSizeBytes.Length + bytesMsg.Length]; + // Copy topic name and message size in bytes to message buffer + int offset = GetPrefixBytes(0, topicName, fullMessageSizeBytes, messageBuffer); + // ROS message bytes + System.Buffer.BlockCopy(bytesMsg, 0, messageBuffer, offset, bytesMsg.Length); + + return messageBuffer; + } + + struct SysCommand_Subscribe + { + public string topic; + public string message_name; + } + + struct SysCommand_Publish + { + public string topic; + public string message_name; + } + + void SendSysCommand(string command, object param) + { + Send(SYSCOMMAND_TOPIC_NAME, new RosUnitySysCommand(command, JsonUtility.ToJson(param))); + } + + public async void Send(string rosTopicName, Message message) + { + TcpClient client = null; + try + { + client = new TcpClient(); + await client.ConnectAsync(rosIPAddress, rosPort); + + NetworkStream networkStream = client.GetStream(); + networkStream.ReadTimeout = networkTimeout; + + WriteDataStaggered(networkStream, rosTopicName, message); + } + catch (NullReferenceException e) + { + Debug.LogError("TCPConnector.SendMessage Null Reference Exception: " + e); + } + catch (Exception e) + { + Debug.LogError("TCPConnector Exception: " + e); + } + finally + { + if (client != null && client.Connected) + { + try + { + if (hudPanel != null) hudPanel.SetLastMessageSent(rosTopicName, message); + client.Close(); + } + catch (Exception) + { + //Ignored. + } + } + } + } + + /// + /// Serialize a ROS message in the expected format of + /// https://github.com/Unity-Technologies/Robotics-Tutorials/tree/master/catkin_ws/src/tcp_endpoint + /// + /// All messages are expected to come in the format of: + /// first four bytes: int32 of the length of following string value + /// next N bytes determined from previous four bytes: ROS topic name as a string + /// next four bytes: int32 of the length of the remaining bytes for the ROS Message + /// last N bytes determined from previous four bytes: ROS Message variables + /// + /// The network stream that is transmitting the messsage + /// The ROS topic or service name that is receiving the messsage + /// The ROS message to send to a ROS publisher or service + private void WriteDataStaggered(NetworkStream networkStream, string rosTopicName, Message message) + { + byte[] topicName = message.SerializeString(rosTopicName); + List segments = message.SerializationStatements(); + int messageLength = segments.Select(s => s.Length).Sum(); + byte[] fullMessageSizeBytes = BitConverter.GetBytes(messageLength); + + networkStream.Write(topicName, 0, topicName.Length); + networkStream.Write(fullMessageSizeBytes, 0, fullMessageSizeBytes.Length); + foreach (byte[] segmentData in segments) + { + networkStream.Write(segmentData, 0, segmentData.Length); + } + } + } +} \ No newline at end of file diff --git a/Runtime/TcpConnector/ROSConnection.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/TcpConnector/ROSConnection.cs.meta similarity index 100% rename from Runtime/TcpConnector/ROSConnection.cs.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/TcpConnector/ROSConnection.cs.meta diff --git a/Runtime/Unity.Robotics.ROSTCPConnector.asmdef b/com.unity.robotics.ros-tcp-connector/Runtime/Unity.Robotics.ROSTCPConnector.asmdef similarity index 89% rename from Runtime/Unity.Robotics.ROSTCPConnector.asmdef rename to com.unity.robotics.ros-tcp-connector/Runtime/Unity.Robotics.ROSTCPConnector.asmdef index 0db9203a..11fa5bc8 100644 --- a/Runtime/Unity.Robotics.ROSTCPConnector.asmdef +++ b/com.unity.robotics.ros-tcp-connector/Runtime/Unity.Robotics.ROSTCPConnector.asmdef @@ -1,5 +1,6 @@ { "name": "Unity.Robotics.ROSTCPConnector", + "rootNamespace": "Unity.Robotics.ROSTCPConnector", "references": [], "includePlatforms": [ "Editor", diff --git a/Runtime/Unity.Robotics.ROSTCPConnector.asmdef.meta b/com.unity.robotics.ros-tcp-connector/Runtime/Unity.Robotics.ROSTCPConnector.asmdef.meta similarity index 100% rename from Runtime/Unity.Robotics.ROSTCPConnector.asmdef.meta rename to com.unity.robotics.ros-tcp-connector/Runtime/Unity.Robotics.ROSTCPConnector.asmdef.meta diff --git a/com.unity.robotics.ros-tcp-connector/Tests.meta b/com.unity.robotics.ros-tcp-connector/Tests.meta new file mode 100644 index 00000000..6ef50812 --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Tests.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 0820ce25846584706ba50fcbd9d64eb2 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/com.unity.robotics.ros-tcp-connector/Tests/Editor.meta b/com.unity.robotics.ros-tcp-connector/Tests/Editor.meta new file mode 100644 index 00000000..9e9c5e77 --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Tests/Editor.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 4616dc0a9ed5c49d5be98fe7520565ed +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/com.unity.robotics.ros-tcp-connector/Tests/Editor/PlayerBuildTests.cs b/com.unity.robotics.ros-tcp-connector/Tests/Editor/PlayerBuildTests.cs new file mode 100644 index 00000000..db915844 --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Tests/Editor/PlayerBuildTests.cs @@ -0,0 +1,62 @@ +using System; +using System.Collections.Generic; +using NUnit.Framework; +using UnityEditor; +using UnityEditor.Build.Reporting; +using UnityEditor.TestTools; +using UnityEngine; +using UnityEngine.TestTools; + +namespace BuildTests +{ + public class PlayerBuilder + { + List m_EditorBuildSettingsScenes = new List(); + BuildSummary m_Summary; + string m_BuildPath = "Build"; + + [SetUp] + public void SetUp() + { + } + + [UnityPlatform(RuntimePlatform.WindowsEditor)] + [RequirePlatformSupport(BuildTarget.StandaloneWindows64)] + [Test] + public void BuildPlayerStandaloneWindows64() + { + BuildPlayer(BuildTargetGroup.Standalone, BuildTarget.StandaloneWindows64, m_BuildPath, BuildOptions.None, out _, out m_Summary); + Assert.AreEqual(BuildResult.Succeeded, m_Summary.result, " BuildTarget.StandaloneWindows64 failed to build"); + } + + [RequirePlatformSupport(BuildTarget.StandaloneLinux64)] + [Test] + public void BuildPlayerLinux() + { + BuildPlayer(BuildTargetGroup.Standalone, BuildTarget.StandaloneLinux64, m_BuildPath, BuildOptions.None, out _, out m_Summary); + Assert.AreEqual(BuildResult.Succeeded, m_Summary.result, "BuildTarget.StandaloneLinux64 failed to build"); + } + + [UnityPlatform(RuntimePlatform.OSXEditor)] + [RequirePlatformSupport(BuildTarget.StandaloneOSX)] + [Test] + public void BuildPlayerOSX() + { + BuildPlayer(BuildTargetGroup.Standalone, BuildTarget.StandaloneOSX, m_BuildPath, BuildOptions.None, out _, out m_Summary); + Assert.AreEqual(BuildResult.Succeeded, m_Summary.result, "BuildTarget.StandaloneLinux64 failed to build"); + } + + void BuildPlayer(BuildTargetGroup buildTargetGroup, BuildTarget buildTarget, string buildOutputPath, BuildOptions buildOptions, + out BuildReport buildReport, out BuildSummary buildSummary) + { + BuildPlayerOptions buildPlayerOptions = new BuildPlayerOptions(); + buildPlayerOptions.locationPathName = buildOutputPath; + buildPlayerOptions.target = buildTarget; + buildPlayerOptions.options = buildOptions; + buildPlayerOptions.targetGroup = buildTargetGroup; + + buildReport = BuildPipeline.BuildPlayer(buildPlayerOptions); + buildSummary = buildReport.summary; + } + } +} diff --git a/com.unity.robotics.ros-tcp-connector/Tests/Editor/PlayerBuildTests.cs.meta b/com.unity.robotics.ros-tcp-connector/Tests/Editor/PlayerBuildTests.cs.meta new file mode 100644 index 00000000..6cdc9ad2 --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Tests/Editor/PlayerBuildTests.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: fca8d5df0250f451287d1242776df62a +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/com.unity.robotics.ros-tcp-connector/Tests/Editor/Unity.Robotics.ROSTCPConnector.Editor.Tests.asmdef b/com.unity.robotics.ros-tcp-connector/Tests/Editor/Unity.Robotics.ROSTCPConnector.Editor.Tests.asmdef new file mode 100644 index 00000000..813bba22 --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Tests/Editor/Unity.Robotics.ROSTCPConnector.Editor.Tests.asmdef @@ -0,0 +1,24 @@ +{ + "name": "Unity.Robotics.ROSTCPConnector.Editor.Tests", + "rootNamespace": "Unity.Robotics.EditorTests.ROSTCPConnector", + "references": [ + "Unity.Robotics.ROSTCPConnector.Editor", + "UnityEngine.TestRunner", + "UnityEditor.TestRunner" + ], + "includePlatforms": [ + "Editor" + ], + "excludePlatforms": [], + "allowUnsafeCode": false, + "overrideReferences": true, + "precompiledReferences": [ + "nunit.framework.dll" + ], + "autoReferenced": false, + "defineConstraints": [ + "UNITY_INCLUDE_TESTS" + ], + "versionDefines": [], + "noEngineReferences": false +} \ No newline at end of file diff --git a/InfoAcknowledgements.md.meta b/com.unity.robotics.ros-tcp-connector/Tests/Editor/Unity.Robotics.ROSTCPConnector.Editor.Tests.asmdef.meta similarity index 59% rename from InfoAcknowledgements.md.meta rename to com.unity.robotics.ros-tcp-connector/Tests/Editor/Unity.Robotics.ROSTCPConnector.Editor.Tests.asmdef.meta index b7fa621c..d9be8c3f 100644 --- a/InfoAcknowledgements.md.meta +++ b/com.unity.robotics.ros-tcp-connector/Tests/Editor/Unity.Robotics.ROSTCPConnector.Editor.Tests.asmdef.meta @@ -1,6 +1,6 @@ fileFormatVersion: 2 -guid: 1703a937262db4386ab7c514896011b5 -TextScriptImporter: +guid: 0e66fbb4ae0104cf59f4638cd2a165c1 +AssemblyDefinitionImporter: externalObjects: {} userData: assetBundleName: diff --git a/com.unity.robotics.ros-tcp-connector/Tests/Runtime.meta b/com.unity.robotics.ros-tcp-connector/Tests/Runtime.meta new file mode 100644 index 00000000..2698ce08 --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Tests/Runtime.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: f1dbe23e7c01048089d868e1fd960f8e +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/com.unity.robotics.ros-tcp-connector/Tests/Runtime/SmokeTests.cs b/com.unity.robotics.ros-tcp-connector/Tests/Runtime/SmokeTests.cs new file mode 100644 index 00000000..def377c4 --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Tests/Runtime/SmokeTests.cs @@ -0,0 +1,25 @@ +using System.Collections; +using System.Collections.Generic; +using NUnit.Framework; +using UnityEngine; +using UnityEngine.TestTools; + +public class SmokeTests +{ + // A Test behaves as an ordinary method + [Test] + public void SmokeTestsSimplePasses() + { + // Use the Assert class to test conditions + } + + // A UnityTest behaves like a coroutine in Play Mode. In Edit Mode you can use + // `yield return null;` to skip a frame. + [UnityTest] + public IEnumerator SmokeTestsWithEnumeratorPasses() + { + // Use the Assert class to test conditions. + // Use yield to skip a frame. + yield return null; + } +} diff --git a/com.unity.robotics.ros-tcp-connector/Tests/Runtime/SmokeTests.cs.meta b/com.unity.robotics.ros-tcp-connector/Tests/Runtime/SmokeTests.cs.meta new file mode 100644 index 00000000..aa7bf822 --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Tests/Runtime/SmokeTests.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 84a9b914510964f82bed486e7d53a3fc +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/com.unity.robotics.ros-tcp-connector/Tests/Runtime/Unity.Perception.Runtime.Tests.asmdef b/com.unity.robotics.ros-tcp-connector/Tests/Runtime/Unity.Perception.Runtime.Tests.asmdef new file mode 100644 index 00000000..edf72986 --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Tests/Runtime/Unity.Perception.Runtime.Tests.asmdef @@ -0,0 +1,32 @@ +{ + "name": "Unity.Robotics.RosTcpConnector.Runtime.Tests", + "rootNamespace": "", + "references": [ + "UnityEngine.TestRunner", + "Unity.Robotics.ROSTCPConnector" + ], + "includePlatforms": [], + "excludePlatforms": [], + "allowUnsafeCode": false, + "overrideReferences": true, + "precompiledReferences": [ + "nunit.framework.dll" + ], + "autoReferenced": false, + "defineConstraints": [ + "UNITY_INCLUDE_TESTS" + ], + "versionDefines": [ + { + "name": "com.unity.render-pipelines.universal", + "expression": "", + "define": "URP_PRESENT" + }, + { + "name": "com.unity.render-pipelines.high-definition", + "expression": "", + "define": "HDRP_PRESENT" + } + ], + "noEngineReferences": false +} \ No newline at end of file diff --git a/MessageGeneration.md.meta b/com.unity.robotics.ros-tcp-connector/Tests/Runtime/Unity.Perception.Runtime.Tests.asmdef.meta similarity index 59% rename from MessageGeneration.md.meta rename to com.unity.robotics.ros-tcp-connector/Tests/Runtime/Unity.Perception.Runtime.Tests.asmdef.meta index b983c588..62abb951 100644 --- a/MessageGeneration.md.meta +++ b/com.unity.robotics.ros-tcp-connector/Tests/Runtime/Unity.Perception.Runtime.Tests.asmdef.meta @@ -1,6 +1,6 @@ fileFormatVersion: 2 -guid: db802a9b0eaf7494e8da08b4ebf23b82 -TextScriptImporter: +guid: 81a8d927962924fcda7897440da59f5f +AssemblyDefinitionImporter: externalObjects: {} userData: assetBundleName: diff --git a/package.json b/com.unity.robotics.ros-tcp-connector/package.json similarity index 100% rename from package.json rename to com.unity.robotics.ros-tcp-connector/package.json diff --git a/package.json.meta b/com.unity.robotics.ros-tcp-connector/package.json.meta similarity index 100% rename from package.json.meta rename to com.unity.robotics.ros-tcp-connector/package.json.meta From f16ceb348d6ec3e1b8630c1c3afdbef8e4cc3bb8 Mon Sep 17 00:00:00 2001 From: LaurieCheers-unity <73140792+LaurieCheers-unity@users.noreply.github.com> Date: Thu, 4 Feb 2021 13:39:18 -0800 Subject: [PATCH 4/6] RosMessageGeneration namespace change (#61) --- .../MessageGeneration/ScriptedMsgImporter.cs | 3 +- .../MessageGeneration/ScriptedSrvImporter.cs | 3 +- .../MessageGeneration/ActionAutoGen.cs | 4 +- .../MessageGeneration/MessageParser.cs | 2 +- .../ROSConnection_msgs/msg/RosUnityError.cs | 1 - .../msg/RosUnitySysCommand.cs | 1 - .../srv/UnityHandshakeRequest.cs | 1 - .../srv/UnityHandshakeResponse.cs | 1 - .../common_msgs/Actionlib/msg/GoalID.cs | 3 +- .../common_msgs/Actionlib/msg/GoalStatus.cs | 1 - .../Actionlib/msg/GoalStatusArray.cs | 3 +- .../Diagnostic/msg/DiagnosticArray.cs | 3 +- .../Diagnostic/msg/DiagnosticStatus.cs | 1 - .../common_msgs/Diagnostic/msg/KeyValue.cs | 1 - .../common_msgs/Diagnostic/srv.meta | 8 ++ .../Diagnostic/srv/AddDiagnosticsRequest.cs | 64 ++++++++++++++++ .../srv/AddDiagnosticsRequest.cs.meta | 11 +++ .../Diagnostic/srv/AddDiagnosticsResponse.cs | 61 ++++++++++++++++ .../srv/AddDiagnosticsResponse.cs.meta | 11 +++ .../Diagnostic/srv/SelfTestRequest.cs | 36 +++++++++ .../Diagnostic/srv/SelfTestRequest.cs.meta | 11 +++ .../Diagnostic/srv/SelfTestResponse.cs | 73 +++++++++++++++++++ .../Diagnostic/srv/SelfTestResponse.cs.meta | 11 +++ .../common_msgs/Geometry/msg/Accel.cs | 1 - .../common_msgs/Geometry/msg/AccelStamped.cs | 3 +- .../Geometry/msg/AccelWithCovariance.cs | 1 - .../msg/AccelWithCovarianceStamped.cs | 3 +- .../common_msgs/Geometry/msg/Inertia.cs | 1 - .../Geometry/msg/InertiaStamped.cs | 3 +- .../common_msgs/Geometry/msg/Point.cs | 1 - .../common_msgs/Geometry/msg/Point32.cs | 1 - .../common_msgs/Geometry/msg/PointStamped.cs | 3 +- .../common_msgs/Geometry/msg/Polygon.cs | 1 - .../Geometry/msg/PolygonStamped.cs | 3 +- .../common_msgs/Geometry/msg/Pose.cs | 1 - .../common_msgs/Geometry/msg/Pose2D.cs | 1 - .../common_msgs/Geometry/msg/PoseArray.cs | 3 +- .../common_msgs/Geometry/msg/PoseStamped.cs | 3 +- .../Geometry/msg/PoseWithCovariance.cs | 1 - .../Geometry/msg/PoseWithCovarianceStamped.cs | 3 +- .../common_msgs/Geometry/msg/Quaternion.cs | 1 - .../Geometry/msg/QuaternionStamped.cs | 3 +- .../common_msgs/Geometry/msg/Transform.cs | 1 - .../Geometry/msg/TransformStamped.cs | 3 +- .../common_msgs/Geometry/msg/Twist.cs | 1 - .../common_msgs/Geometry/msg/TwistStamped.cs | 3 +- .../Geometry/msg/TwistWithCovariance.cs | 1 - .../msg/TwistWithCovarianceStamped.cs | 3 +- .../common_msgs/Geometry/msg/Vector3.cs | 1 - .../Geometry/msg/Vector3Stamped.cs | 3 +- .../common_msgs/Geometry/msg/Wrench.cs | 1 - .../common_msgs/Geometry/msg/WrenchStamped.cs | 3 +- .../common_msgs/Nav/action.meta | 8 ++ .../common_msgs/Nav/action/GetMapAction.cs | 38 ++++++++++ .../Nav/action/GetMapAction.cs.meta | 11 +++ .../Nav/action/GetMapActionFeedback.cs | 41 +++++++++++ .../Nav/action/GetMapActionFeedback.cs.meta | 11 +++ .../Nav/action/GetMapActionGoal.cs | 41 +++++++++++ .../Nav/action/GetMapActionGoal.cs.meta | 11 +++ .../Nav/action/GetMapActionResult.cs | 41 +++++++++++ .../Nav/action/GetMapActionResult.cs.meta | 11 +++ .../common_msgs/Nav/action/GetMapFeedback.cs | 37 ++++++++++ .../Nav/action/GetMapFeedback.cs.meta | 11 +++ .../common_msgs/Nav/action/GetMapGoal.cs | 37 ++++++++++ .../common_msgs/Nav/action/GetMapGoal.cs.meta | 11 +++ .../common_msgs/Nav/action/GetMapResult.cs | 46 ++++++++++++ .../Nav/action/GetMapResult.cs.meta | 11 +++ .../common_msgs/Nav/msg/GridCells.cs | 3 +- .../common_msgs/Nav/msg/MapMetaData.cs | 3 +- .../common_msgs/Nav/msg/OccupancyGrid.cs | 3 +- .../common_msgs/Nav/msg/Odometry.cs | 3 +- .../common_msgs/Nav/msg/Path.cs | 3 +- .../common_msgs/Nav/srv.meta | 8 ++ .../common_msgs/Nav/srv/GetMapRequest.cs | 37 ++++++++++ .../common_msgs/Nav/srv/GetMapRequest.cs.meta | 11 +++ .../common_msgs/Nav/srv/GetMapResponse.cs | 46 ++++++++++++ .../Nav/srv/GetMapResponse.cs.meta | 11 +++ .../common_msgs/Nav/srv/GetPlanRequest.cs | 64 ++++++++++++++++ .../Nav/srv/GetPlanRequest.cs.meta | 11 +++ .../common_msgs/Nav/srv/GetPlanResponse.cs | 46 ++++++++++++ .../Nav/srv/GetPlanResponse.cs.meta | 11 +++ .../common_msgs/Nav/srv/LoadMapRequest.cs | 52 +++++++++++++ .../Nav/srv/LoadMapRequest.cs.meta | 11 +++ .../common_msgs/Nav/srv/LoadMapResponse.cs | 60 +++++++++++++++ .../Nav/srv/LoadMapResponse.cs.meta | 11 +++ .../common_msgs/Nav/srv/SetMapRequest.cs | 53 ++++++++++++++ .../common_msgs/Nav/srv/SetMapRequest.cs.meta | 11 +++ .../common_msgs/Nav/srv/SetMapResponse.cs | 47 ++++++++++++ .../Nav/srv/SetMapResponse.cs.meta | 11 +++ .../common_msgs/Sensor/msg/BatteryState.cs | 3 +- .../common_msgs/Sensor/msg/CameraInfo.cs | 3 +- .../common_msgs/Sensor/msg/ChannelFloat32.cs | 1 - .../common_msgs/Sensor/msg/CompressedImage.cs | 3 +- .../common_msgs/Sensor/msg/FluidPressure.cs | 3 +- .../common_msgs/Sensor/msg/Illuminance.cs | 3 +- .../common_msgs/Sensor/msg/Image.cs | 3 +- .../common_msgs/Sensor/msg/Imu.cs | 3 +- .../common_msgs/Sensor/msg/JointState.cs | 3 +- .../common_msgs/Sensor/msg/Joy.cs | 3 +- .../common_msgs/Sensor/msg/JoyFeedback.cs | 1 - .../Sensor/msg/JoyFeedbackArray.cs | 1 - .../common_msgs/Sensor/msg/LaserEcho.cs | 1 - .../common_msgs/Sensor/msg/LaserScan.cs | 3 +- .../common_msgs/Sensor/msg/MagneticField.cs | 3 +- .../Sensor/msg/MultiDOFJointState.cs | 3 +- .../Sensor/msg/MultiEchoLaserScan.cs | 3 +- .../common_msgs/Sensor/msg/NavSatFix.cs | 3 +- .../common_msgs/Sensor/msg/NavSatStatus.cs | 1 - .../common_msgs/Sensor/msg/PointCloud.cs | 3 +- .../common_msgs/Sensor/msg/PointCloud2.cs | 3 +- .../common_msgs/Sensor/msg/PointField.cs | 1 - .../common_msgs/Sensor/msg/Range.cs | 3 +- .../Sensor/msg/RegionOfInterest.cs | 1 - .../Sensor/msg/RelativeHumidity.cs | 3 +- .../common_msgs/Sensor/msg/Temperature.cs | 3 +- .../common_msgs/Sensor/msg/TimeReference.cs | 3 +- .../common_msgs/Sensor/srv.meta | 8 ++ .../Sensor/srv/SetCameraInfoRequest.cs | 54 ++++++++++++++ .../Sensor/srv/SetCameraInfoRequest.cs.meta | 11 +++ .../Sensor/srv/SetCameraInfoResponse.cs | 58 +++++++++++++++ .../Sensor/srv/SetCameraInfoResponse.cs.meta | 11 +++ .../common_msgs/Shape/msg/Mesh.cs | 1 - .../common_msgs/Shape/msg/MeshTriangle.cs | 1 - .../common_msgs/Shape/msg/Plane.cs | 1 - .../common_msgs/Shape/msg/SolidPrimitive.cs | 1 - .../common_msgs/Stereo/msg/DisparityImage.cs | 3 +- .../Trajectory/msg/JointTrajectory.cs | 3 +- .../Trajectory/msg/JointTrajectoryPoint.cs | 3 +- .../Trajectory/msg/MultiDOFJointTrajectory.cs | 3 +- .../msg/MultiDOFJointTrajectoryPoint.cs | 3 +- .../Visualization/msg/ImageMarker.cs | 3 +- .../Visualization/msg/InteractiveMarker.cs | 3 +- .../msg/InteractiveMarkerControl.cs | 1 - .../msg/InteractiveMarkerFeedback.cs | 3 +- .../msg/InteractiveMarkerInit.cs | 1 - .../msg/InteractiveMarkerPose.cs | 3 +- .../msg/InteractiveMarkerUpdate.cs | 1 - .../common_msgs/Visualization/msg/Marker.cs | 3 +- .../Visualization/msg/MarkerArray.cs | 1 - .../Visualization/msg/MenuEntry.cs | 1 - .../MessageGeneration/std_msgs/Bool.cs | 1 - .../MessageGeneration/std_msgs/Byte.cs | 1 - .../std_msgs/ByteMultiArray.cs | 1 - .../MessageGeneration/std_msgs/Char.cs | 1 - .../MessageGeneration/std_msgs/ColorRGBA.cs | 1 - .../MessageGeneration/std_msgs/Duration.cs | 3 +- .../MessageGeneration/std_msgs/Empty.cs | 1 - .../MessageGeneration/std_msgs/Float32.cs | 1 - .../std_msgs/Float32MultiArray.cs | 1 - .../MessageGeneration/std_msgs/Float64.cs | 1 - .../std_msgs/Float64MultiArray.cs | 1 - .../MessageGeneration/std_msgs/Header.cs | 3 +- .../MessageGeneration/std_msgs/Int16.cs | 1 - .../std_msgs/Int16MultiArray.cs | 1 - .../MessageGeneration/std_msgs/Int32.cs | 1 - .../std_msgs/Int32MultiArray.cs | 1 - .../MessageGeneration/std_msgs/Int64.cs | 1 - .../std_msgs/Int64MultiArray.cs | 1 - .../MessageGeneration/std_msgs/Int8.cs | 1 - .../std_msgs/Int8MultiArray.cs | 1 - .../std_msgs/MultiArrayDimension.cs | 1 - .../std_msgs/MultiArrayLayout.cs | 1 - .../MessageGeneration/std_msgs/String.cs | 1 - .../MessageGeneration/std_msgs/Time.cs | 1 - .../MessageGeneration/std_msgs/UInt16.cs | 1 - .../std_msgs/UInt16MultiArray.cs | 1 - .../MessageGeneration/std_msgs/UInt32.cs | 1 - .../std_msgs/UInt32MultiArray.cs | 1 - .../MessageGeneration/std_msgs/UInt64.cs | 1 - .../std_msgs/UInt64MultiArray.cs | 1 - .../MessageGeneration/std_msgs/UInt8.cs | 1 - .../std_msgs/UInt8MultiArray.cs | 1 - 172 files changed, 1354 insertions(+), 183 deletions(-) create mode 100644 com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Diagnostic/srv.meta create mode 100644 com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Diagnostic/srv/AddDiagnosticsRequest.cs create mode 100644 com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Diagnostic/srv/AddDiagnosticsRequest.cs.meta create mode 100644 com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Diagnostic/srv/AddDiagnosticsResponse.cs create mode 100644 com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Diagnostic/srv/AddDiagnosticsResponse.cs.meta create mode 100644 com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Diagnostic/srv/SelfTestRequest.cs create mode 100644 com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Diagnostic/srv/SelfTestRequest.cs.meta create mode 100644 com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Diagnostic/srv/SelfTestResponse.cs create mode 100644 com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Diagnostic/srv/SelfTestResponse.cs.meta create mode 100644 com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/action.meta create mode 100644 com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/action/GetMapAction.cs create mode 100644 com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/action/GetMapAction.cs.meta create mode 100644 com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/action/GetMapActionFeedback.cs create mode 100644 com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/action/GetMapActionFeedback.cs.meta create mode 100644 com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/action/GetMapActionGoal.cs create mode 100644 com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/action/GetMapActionGoal.cs.meta create mode 100644 com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/action/GetMapActionResult.cs create mode 100644 com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/action/GetMapActionResult.cs.meta create mode 100644 com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/action/GetMapFeedback.cs create mode 100644 com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/action/GetMapFeedback.cs.meta create mode 100644 com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/action/GetMapGoal.cs create mode 100644 com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/action/GetMapGoal.cs.meta create mode 100644 com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/action/GetMapResult.cs create mode 100644 com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/action/GetMapResult.cs.meta create mode 100644 com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/srv.meta create mode 100644 com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/srv/GetMapRequest.cs create mode 100644 com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/srv/GetMapRequest.cs.meta create mode 100644 com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/srv/GetMapResponse.cs create mode 100644 com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/srv/GetMapResponse.cs.meta create mode 100644 com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/srv/GetPlanRequest.cs create mode 100644 com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/srv/GetPlanRequest.cs.meta create mode 100644 com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/srv/GetPlanResponse.cs create mode 100644 com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/srv/GetPlanResponse.cs.meta create mode 100644 com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/srv/LoadMapRequest.cs create mode 100644 com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/srv/LoadMapRequest.cs.meta create mode 100644 com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/srv/LoadMapResponse.cs create mode 100644 com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/srv/LoadMapResponse.cs.meta create mode 100644 com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/srv/SetMapRequest.cs create mode 100644 com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/srv/SetMapRequest.cs.meta create mode 100644 com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/srv/SetMapResponse.cs create mode 100644 com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/srv/SetMapResponse.cs.meta create mode 100644 com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/srv.meta create mode 100644 com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/srv/SetCameraInfoRequest.cs create mode 100644 com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/srv/SetCameraInfoRequest.cs.meta create mode 100644 com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/srv/SetCameraInfoResponse.cs create mode 100644 com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/srv/SetCameraInfoResponse.cs.meta diff --git a/com.unity.robotics.ros-tcp-connector/Editor/MessageGeneration/ScriptedMsgImporter.cs b/com.unity.robotics.ros-tcp-connector/Editor/MessageGeneration/ScriptedMsgImporter.cs index ae7a86cf..56d5191a 100644 --- a/com.unity.robotics.ros-tcp-connector/Editor/MessageGeneration/ScriptedMsgImporter.cs +++ b/com.unity.robotics.ros-tcp-connector/Editor/MessageGeneration/ScriptedMsgImporter.cs @@ -1,10 +1,9 @@ using System.IO; using Unity.Robotics.ROSTCPConnector.MessageGeneration; using UnityEditor; -using UnityEditor.AssetImporters; using UnityEngine; #if UNITY_2020_2_OR_NEWER - +using UnityEditor.AssetImporters; #else using UnityEditor.Experimental.AssetImporters; #endif diff --git a/com.unity.robotics.ros-tcp-connector/Editor/MessageGeneration/ScriptedSrvImporter.cs b/com.unity.robotics.ros-tcp-connector/Editor/MessageGeneration/ScriptedSrvImporter.cs index eb41f91f..c86b8181 100644 --- a/com.unity.robotics.ros-tcp-connector/Editor/MessageGeneration/ScriptedSrvImporter.cs +++ b/com.unity.robotics.ros-tcp-connector/Editor/MessageGeneration/ScriptedSrvImporter.cs @@ -1,10 +1,9 @@ using System.IO; using Unity.Robotics.ROSTCPConnector.MessageGeneration; using UnityEditor; -using UnityEditor.AssetImporters; using UnityEngine; #if UNITY_2020_2_OR_NEWER - +using UnityEditor.AssetImporters; #else using UnityEditor.Experimental.AssetImporters; #endif diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ActionAutoGen.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ActionAutoGen.cs index b4edef5b..a0c2dd24 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ActionAutoGen.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ActionAutoGen.cs @@ -308,7 +308,7 @@ public void WrapActionSections(string type) string imports = "using System.Collections.Generic;\n"+ - "using RosMessageGeneration;\n" + + "using Unity.Robotics.ROSTCPConnector.MessageGeneration;\n" + "using RosMessageTypes.Std;\n" + "using RosMessageTypes.Actionlib;\n\n"; @@ -366,7 +366,7 @@ public void WrapAction() string imports = "using System.Collections.Generic;\n"+ - "using RosMessageGeneration;\n" + + "using Unity.Robotics.ROSTCPConnector.MessageGeneration;\n" + "\n\n"; symbolTable = new Dictionary(); diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/MessageParser.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/MessageParser.cs index 501ece02..aa653206 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/MessageParser.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/MessageParser.cs @@ -558,7 +558,7 @@ private string GenerateImports() importsStr += "using System.Linq;\n"; importsStr += "using System.Collections.Generic;\n"; importsStr += "using System.Text;\n"; - importsStr += "using RosMessageGeneration;\n"; + importsStr += "using Unity.Robotics.ROSTCPConnector.MessageGeneration;\n"; if (imports.Count > 0) { diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ROSConnection_msgs/msg/RosUnityError.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ROSConnection_msgs/msg/RosUnityError.cs index fffcd009..e017f42c 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ROSConnection_msgs/msg/RosUnityError.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ROSConnection_msgs/msg/RosUnityError.cs @@ -3,7 +3,6 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.RosTcpEndpoint diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ROSConnection_msgs/msg/RosUnitySysCommand.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ROSConnection_msgs/msg/RosUnitySysCommand.cs index f26137d2..5d9ff6e8 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ROSConnection_msgs/msg/RosUnitySysCommand.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ROSConnection_msgs/msg/RosUnitySysCommand.cs @@ -3,7 +3,6 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.RosTcpEndpoint diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ROSConnection_msgs/srv/UnityHandshakeRequest.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ROSConnection_msgs/srv/UnityHandshakeRequest.cs index 591d172b..0b39e5b5 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ROSConnection_msgs/srv/UnityHandshakeRequest.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ROSConnection_msgs/srv/UnityHandshakeRequest.cs @@ -3,7 +3,6 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.RosTcpEndpoint diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ROSConnection_msgs/srv/UnityHandshakeResponse.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ROSConnection_msgs/srv/UnityHandshakeResponse.cs index 5bce5aa8..88d6dfe7 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ROSConnection_msgs/srv/UnityHandshakeResponse.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ROSConnection_msgs/srv/UnityHandshakeResponse.cs @@ -3,7 +3,6 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.RosTcpEndpoint diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Actionlib/msg/GoalID.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Actionlib/msg/GoalID.cs index 085cbcb4..815f096c 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Actionlib/msg/GoalID.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Actionlib/msg/GoalID.cs @@ -3,9 +3,8 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; -using RosMessageTypes.Std; using Unity.Robotics.ROSTCPConnector.MessageGeneration; +using RosMessageTypes.Std; namespace RosMessageTypes.Actionlib { diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Actionlib/msg/GoalStatus.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Actionlib/msg/GoalStatus.cs index bb0a52fb..6b1d33c9 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Actionlib/msg/GoalStatus.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Actionlib/msg/GoalStatus.cs @@ -3,7 +3,6 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Actionlib diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Actionlib/msg/GoalStatusArray.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Actionlib/msg/GoalStatusArray.cs index d222df70..75f00723 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Actionlib/msg/GoalStatusArray.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Actionlib/msg/GoalStatusArray.cs @@ -3,9 +3,8 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; -using RosMessageTypes.Std; using Unity.Robotics.ROSTCPConnector.MessageGeneration; +using RosMessageTypes.Std; namespace RosMessageTypes.Actionlib { diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Diagnostic/msg/DiagnosticArray.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Diagnostic/msg/DiagnosticArray.cs index ef3f3906..6d46a496 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Diagnostic/msg/DiagnosticArray.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Diagnostic/msg/DiagnosticArray.cs @@ -3,9 +3,8 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; -using RosMessageTypes.Std; using Unity.Robotics.ROSTCPConnector.MessageGeneration; +using RosMessageTypes.Std; namespace RosMessageTypes.Diagnostic { diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Diagnostic/msg/DiagnosticStatus.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Diagnostic/msg/DiagnosticStatus.cs index 9139a148..d271e4a8 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Diagnostic/msg/DiagnosticStatus.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Diagnostic/msg/DiagnosticStatus.cs @@ -3,7 +3,6 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Diagnostic diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Diagnostic/msg/KeyValue.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Diagnostic/msg/KeyValue.cs index 622d7e25..947dbad2 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Diagnostic/msg/KeyValue.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Diagnostic/msg/KeyValue.cs @@ -3,7 +3,6 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Diagnostic diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Diagnostic/srv.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Diagnostic/srv.meta new file mode 100644 index 00000000..50f2d34f --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Diagnostic/srv.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 86ff0a9e016415848a2920a47cd6ddbc +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Diagnostic/srv/AddDiagnosticsRequest.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Diagnostic/srv/AddDiagnosticsRequest.cs new file mode 100644 index 00000000..ea7198d6 --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Diagnostic/srv/AddDiagnosticsRequest.cs @@ -0,0 +1,64 @@ +//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.Diagnostic +{ + public class AddDiagnosticsRequest : Message + { + public const string RosMessageName = "diagnostic_msgs/AddDiagnostics"; + + // This service is used as part of the process for loading analyzers at runtime, + // and should be used by a loader script or program, not as a standalone service. + // Information about dynamic addition of analyzers can be found at + // http://wiki.ros.org/diagnostics/Tutorials/Adding%20Analyzers%20at%20Runtime + // The load_namespace parameter defines the namespace where parameters for the + // initialization of analyzers in the diagnostic aggregator have been loaded. The + // value should be a global name (i.e. /my/name/space), not a relative + // (my/name/space) or private (~my/name/space) name. Analyzers will not be added + // if a non-global name is used. The call will also fail if the namespace + // contains parameters that follow a namespace structure that does not conform to + // that expected by the analyzer definitions. See + // http://wiki.ros.org/diagnostics/Tutorials/Configuring%20Diagnostic%20Aggregators + // and http://wiki.ros.org/diagnostics/Tutorials/Using%20the%20GenericAnalyzer + // for examples of the structure of yaml files which are expected to have been + // loaded into the namespace. + public string load_namespace; + + public AddDiagnosticsRequest() + { + this.load_namespace = ""; + } + + public AddDiagnosticsRequest(string load_namespace) + { + this.load_namespace = load_namespace; + } + public override List SerializationStatements() + { + var listOfSerializations = new List(); + listOfSerializations.Add(SerializeString(this.load_namespace)); + + return listOfSerializations; + } + + public override int Deserialize(byte[] data, int offset) + { + var load_namespaceStringBytesLength = DeserializeLength(data, offset); + offset += 4; + this.load_namespace = DeserializeString(data, offset, load_namespaceStringBytesLength); + offset += load_namespaceStringBytesLength; + + return offset; + } + + public override string ToString() + { + return "AddDiagnosticsRequest: " + + "\nload_namespace: " + load_namespace.ToString(); + } + } +} diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Diagnostic/srv/AddDiagnosticsRequest.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Diagnostic/srv/AddDiagnosticsRequest.cs.meta new file mode 100644 index 00000000..171d933d --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Diagnostic/srv/AddDiagnosticsRequest.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 6f2fa061ea1c6eb47b77f71b02179594 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Diagnostic/srv/AddDiagnosticsResponse.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Diagnostic/srv/AddDiagnosticsResponse.cs new file mode 100644 index 00000000..3e5b4300 --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Diagnostic/srv/AddDiagnosticsResponse.cs @@ -0,0 +1,61 @@ +//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.Diagnostic +{ + public class AddDiagnosticsResponse : Message + { + public const string RosMessageName = "diagnostic_msgs/AddDiagnostics"; + + // True if diagnostic aggregator was updated with new diagnostics, False + // otherwise. A false return value means that either there is a bond in the + // aggregator which already used the requested namespace, or the initialization + // of analyzers failed. + public bool success; + // Message with additional information about the success or failure + public string message; + + public AddDiagnosticsResponse() + { + this.success = false; + this.message = ""; + } + + public AddDiagnosticsResponse(bool success, string message) + { + this.success = success; + this.message = message; + } + public override List SerializationStatements() + { + var listOfSerializations = new List(); + listOfSerializations.Add(BitConverter.GetBytes(this.success)); + listOfSerializations.Add(SerializeString(this.message)); + + return listOfSerializations; + } + + public override int Deserialize(byte[] data, int offset) + { + this.success = BitConverter.ToBoolean(data, offset); + offset += 1; + var messageStringBytesLength = DeserializeLength(data, offset); + offset += 4; + this.message = DeserializeString(data, offset, messageStringBytesLength); + offset += messageStringBytesLength; + + return offset; + } + + public override string ToString() + { + return "AddDiagnosticsResponse: " + + "\nsuccess: " + success.ToString() + + "\nmessage: " + message.ToString(); + } + } +} diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Diagnostic/srv/AddDiagnosticsResponse.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Diagnostic/srv/AddDiagnosticsResponse.cs.meta new file mode 100644 index 00000000..d735a381 --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Diagnostic/srv/AddDiagnosticsResponse.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 3159cf8547e617941ab523c02f8bd621 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Diagnostic/srv/SelfTestRequest.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Diagnostic/srv/SelfTestRequest.cs new file mode 100644 index 00000000..64b0c76c --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Diagnostic/srv/SelfTestRequest.cs @@ -0,0 +1,36 @@ +//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.Diagnostic +{ + public class SelfTestRequest : Message + { + public const string RosMessageName = "diagnostic_msgs/SelfTest"; + + + public SelfTestRequest() + { + } + public override List SerializationStatements() + { + var listOfSerializations = new List(); + + return listOfSerializations; + } + + public override int Deserialize(byte[] data, int offset) + { + + return offset; + } + + public override string ToString() + { + return "SelfTestRequest: "; + } + } +} diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Diagnostic/srv/SelfTestRequest.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Diagnostic/srv/SelfTestRequest.cs.meta new file mode 100644 index 00000000..779d666d --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Diagnostic/srv/SelfTestRequest.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 8b487f7a5217df643a96fe4d5e6ceda0 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Diagnostic/srv/SelfTestResponse.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Diagnostic/srv/SelfTestResponse.cs new file mode 100644 index 00000000..5fa5184c --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Diagnostic/srv/SelfTestResponse.cs @@ -0,0 +1,73 @@ +//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.Diagnostic +{ + public class SelfTestResponse : Message + { + public const string RosMessageName = "diagnostic_msgs/SelfTest"; + + public string id; + public sbyte passed; + public DiagnosticStatus[] status; + + public SelfTestResponse() + { + this.id = ""; + this.passed = 0; + this.status = new DiagnosticStatus[0]; + } + + public SelfTestResponse(string id, sbyte passed, DiagnosticStatus[] status) + { + this.id = id; + this.passed = passed; + this.status = status; + } + public override List SerializationStatements() + { + var listOfSerializations = new List(); + listOfSerializations.Add(SerializeString(this.id)); + listOfSerializations.Add(new[]{(byte)this.passed}); + + listOfSerializations.Add(BitConverter.GetBytes(status.Length)); + foreach(var entry in status) + listOfSerializations.Add(entry.Serialize()); + + return listOfSerializations; + } + + public override int Deserialize(byte[] data, int offset) + { + var idStringBytesLength = DeserializeLength(data, offset); + offset += 4; + this.id = DeserializeString(data, offset, idStringBytesLength); + offset += idStringBytesLength; + this.passed = (sbyte)data[offset];; + offset += 1; + + var statusArrayLength = DeserializeLength(data, offset); + offset += 4; + this.status= new DiagnosticStatus[statusArrayLength]; + for(var i = 0; i < statusArrayLength; i++) + { + this.status[i] = new DiagnosticStatus(); + offset = this.status[i].Deserialize(data, offset); + } + + return offset; + } + + public override string ToString() + { + return "SelfTestResponse: " + + "\nid: " + id.ToString() + + "\npassed: " + passed.ToString() + + "\nstatus: " + System.String.Join(", ", status.ToList()); + } + } +} diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Diagnostic/srv/SelfTestResponse.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Diagnostic/srv/SelfTestResponse.cs.meta new file mode 100644 index 00000000..76676bff --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Diagnostic/srv/SelfTestResponse.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 03f87741ae8846644aa2db56730dc257 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Accel.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Accel.cs index e054b21a..12e8c276 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Accel.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Accel.cs @@ -3,7 +3,6 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Geometry diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/AccelStamped.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/AccelStamped.cs index d90df010..910c0cb3 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/AccelStamped.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/AccelStamped.cs @@ -3,9 +3,8 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; -using RosMessageTypes.Std; using Unity.Robotics.ROSTCPConnector.MessageGeneration; +using RosMessageTypes.Std; namespace RosMessageTypes.Geometry { diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/AccelWithCovariance.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/AccelWithCovariance.cs index 84989c89..d13401cb 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/AccelWithCovariance.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/AccelWithCovariance.cs @@ -3,7 +3,6 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Geometry diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/AccelWithCovarianceStamped.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/AccelWithCovarianceStamped.cs index ae76d9d4..ad6746c9 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/AccelWithCovarianceStamped.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/AccelWithCovarianceStamped.cs @@ -3,9 +3,8 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; -using RosMessageTypes.Std; using Unity.Robotics.ROSTCPConnector.MessageGeneration; +using RosMessageTypes.Std; namespace RosMessageTypes.Geometry { diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Inertia.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Inertia.cs index 6c3c0a8b..c6bab172 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Inertia.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Inertia.cs @@ -3,7 +3,6 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Geometry diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/InertiaStamped.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/InertiaStamped.cs index 63741126..17de65a8 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/InertiaStamped.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/InertiaStamped.cs @@ -3,9 +3,8 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; -using RosMessageTypes.Std; using Unity.Robotics.ROSTCPConnector.MessageGeneration; +using RosMessageTypes.Std; namespace RosMessageTypes.Geometry { diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Point.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Point.cs index dd79e2b4..8ab79486 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Point.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Point.cs @@ -3,7 +3,6 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Geometry diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Point32.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Point32.cs index 7a8a1908..99485a33 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Point32.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Point32.cs @@ -3,7 +3,6 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Geometry diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/PointStamped.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/PointStamped.cs index c75bc614..4dbc545f 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/PointStamped.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/PointStamped.cs @@ -3,9 +3,8 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; -using RosMessageTypes.Std; using Unity.Robotics.ROSTCPConnector.MessageGeneration; +using RosMessageTypes.Std; namespace RosMessageTypes.Geometry { diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Polygon.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Polygon.cs index f3ab5f57..ccb9d288 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Polygon.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Polygon.cs @@ -3,7 +3,6 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Geometry diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/PolygonStamped.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/PolygonStamped.cs index 77685a9e..de9c88d0 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/PolygonStamped.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/PolygonStamped.cs @@ -3,9 +3,8 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; -using RosMessageTypes.Std; using Unity.Robotics.ROSTCPConnector.MessageGeneration; +using RosMessageTypes.Std; namespace RosMessageTypes.Geometry { diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Pose.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Pose.cs index f3d7e0ac..2d5dc418 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Pose.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Pose.cs @@ -3,7 +3,6 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Geometry diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Pose2D.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Pose2D.cs index 3917aaeb..b47c3db5 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Pose2D.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Pose2D.cs @@ -3,7 +3,6 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Geometry diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/PoseArray.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/PoseArray.cs index 91b90ebd..431fa3f8 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/PoseArray.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/PoseArray.cs @@ -3,9 +3,8 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; -using RosMessageTypes.Std; using Unity.Robotics.ROSTCPConnector.MessageGeneration; +using RosMessageTypes.Std; namespace RosMessageTypes.Geometry { diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/PoseStamped.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/PoseStamped.cs index 7c275e4e..e3f5e413 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/PoseStamped.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/PoseStamped.cs @@ -3,9 +3,8 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; -using RosMessageTypes.Std; using Unity.Robotics.ROSTCPConnector.MessageGeneration; +using RosMessageTypes.Std; namespace RosMessageTypes.Geometry { diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/PoseWithCovariance.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/PoseWithCovariance.cs index 027c0ac4..e83cee75 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/PoseWithCovariance.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/PoseWithCovariance.cs @@ -3,7 +3,6 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Geometry diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/PoseWithCovarianceStamped.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/PoseWithCovarianceStamped.cs index 3a42fe0d..40675070 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/PoseWithCovarianceStamped.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/PoseWithCovarianceStamped.cs @@ -3,9 +3,8 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; -using RosMessageTypes.Std; using Unity.Robotics.ROSTCPConnector.MessageGeneration; +using RosMessageTypes.Std; namespace RosMessageTypes.Geometry { diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Quaternion.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Quaternion.cs index 63e8416b..51a2ecd3 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Quaternion.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Quaternion.cs @@ -3,7 +3,6 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Geometry diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/QuaternionStamped.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/QuaternionStamped.cs index 00ed9ffb..eafb8ab5 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/QuaternionStamped.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/QuaternionStamped.cs @@ -3,9 +3,8 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; -using RosMessageTypes.Std; using Unity.Robotics.ROSTCPConnector.MessageGeneration; +using RosMessageTypes.Std; namespace RosMessageTypes.Geometry { diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Transform.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Transform.cs index ec8ade6f..99568fbe 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Transform.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Transform.cs @@ -3,7 +3,6 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Geometry diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/TransformStamped.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/TransformStamped.cs index 70a41eed..e239eaf5 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/TransformStamped.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/TransformStamped.cs @@ -3,9 +3,8 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; -using RosMessageTypes.Std; using Unity.Robotics.ROSTCPConnector.MessageGeneration; +using RosMessageTypes.Std; namespace RosMessageTypes.Geometry { diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Twist.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Twist.cs index 25251b87..14989a95 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Twist.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Twist.cs @@ -3,7 +3,6 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Geometry diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/TwistStamped.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/TwistStamped.cs index 56c6306a..e314a967 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/TwistStamped.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/TwistStamped.cs @@ -3,9 +3,8 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; -using RosMessageTypes.Std; using Unity.Robotics.ROSTCPConnector.MessageGeneration; +using RosMessageTypes.Std; namespace RosMessageTypes.Geometry { diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/TwistWithCovariance.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/TwistWithCovariance.cs index 3b64db08..64049777 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/TwistWithCovariance.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/TwistWithCovariance.cs @@ -3,7 +3,6 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Geometry diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/TwistWithCovarianceStamped.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/TwistWithCovarianceStamped.cs index 6eff0a03..5152016a 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/TwistWithCovarianceStamped.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/TwistWithCovarianceStamped.cs @@ -3,9 +3,8 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; -using RosMessageTypes.Std; using Unity.Robotics.ROSTCPConnector.MessageGeneration; +using RosMessageTypes.Std; namespace RosMessageTypes.Geometry { diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Vector3.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Vector3.cs index 31a13f0f..3c2b780f 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Vector3.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Vector3.cs @@ -3,7 +3,6 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Geometry diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Vector3Stamped.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Vector3Stamped.cs index 0848eed0..6a3d6601 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Vector3Stamped.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Vector3Stamped.cs @@ -3,9 +3,8 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; -using RosMessageTypes.Std; using Unity.Robotics.ROSTCPConnector.MessageGeneration; +using RosMessageTypes.Std; namespace RosMessageTypes.Geometry { diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Wrench.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Wrench.cs index 6b77b4b8..64495242 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Wrench.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/Wrench.cs @@ -3,7 +3,6 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Geometry diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/WrenchStamped.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/WrenchStamped.cs index bee01e4b..811bae08 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/WrenchStamped.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Geometry/msg/WrenchStamped.cs @@ -3,9 +3,8 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; -using RosMessageTypes.Std; using Unity.Robotics.ROSTCPConnector.MessageGeneration; +using RosMessageTypes.Std; namespace RosMessageTypes.Geometry { diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/action.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/action.meta new file mode 100644 index 00000000..7cef3cb2 --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/action.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 26ddd06951a994f4eaed90c37be0a6a5 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/action/GetMapAction.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/action/GetMapAction.cs new file mode 100644 index 00000000..d760365a --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/action/GetMapAction.cs @@ -0,0 +1,38 @@ +using System.Collections.Generic; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; + + +namespace RosMessageTypes.Nav +{ + public class GetMapAction : Action + { + public const string RosMessageName = "nav_msgs/GetMapAction"; + + public GetMapAction() : base() + { + this.action_goal = new GetMapActionGoal(); + this.action_result = new GetMapActionResult(); + this.action_feedback = new GetMapActionFeedback(); + } + + public override List SerializationStatements() + { + var listOfSerializations = new List(); + listOfSerializations.AddRange(this.action_goal.SerializationStatements()); + listOfSerializations.AddRange(this.action_result.SerializationStatements()); + listOfSerializations.AddRange(this.action_feedback.SerializationStatements()); + + return listOfSerializations; + } + + public override int Deserialize(byte[] data, int offset) + { + offset = this.action_goal.Deserialize(data, offset); + offset = this.action_result.Deserialize(data, offset); + offset = this.action_feedback.Deserialize(data, offset); + + return offset; + } + + } +} diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/action/GetMapAction.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/action/GetMapAction.cs.meta new file mode 100644 index 00000000..9db0a0b6 --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/action/GetMapAction.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 6acbbcaf4f2a4d8408e0d5e40aaa99b2 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/action/GetMapActionFeedback.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/action/GetMapActionFeedback.cs new file mode 100644 index 00000000..166237dd --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/action/GetMapActionFeedback.cs @@ -0,0 +1,41 @@ +using System.Collections.Generic; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; +using RosMessageTypes.Std; +using RosMessageTypes.Actionlib; + +namespace RosMessageTypes.Nav +{ + public class GetMapActionFeedback : ActionFeedback + { + public const string RosMessageName = "nav_msgs/GetMapActionFeedback"; + + public GetMapActionFeedback() : base() + { + this.feedback = new GetMapFeedback(); + } + + public GetMapActionFeedback(Header header, GoalStatus status, GetMapFeedback feedback) : base(header, status) + { + this.feedback = feedback; + } + public override List SerializationStatements() + { + var listOfSerializations = new List(); + listOfSerializations.AddRange(this.header.SerializationStatements()); + listOfSerializations.AddRange(this.status.SerializationStatements()); + listOfSerializations.AddRange(this.feedback.SerializationStatements()); + + return listOfSerializations; + } + + public override int Deserialize(byte[] data, int offset) + { + offset = this.header.Deserialize(data, offset); + offset = this.status.Deserialize(data, offset); + offset = this.feedback.Deserialize(data, offset); + + return offset; + } + + } +} diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/action/GetMapActionFeedback.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/action/GetMapActionFeedback.cs.meta new file mode 100644 index 00000000..1ddf1e85 --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/action/GetMapActionFeedback.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 82228e0122253c34d85da62f73a38e3c +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/action/GetMapActionGoal.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/action/GetMapActionGoal.cs new file mode 100644 index 00000000..7b616fec --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/action/GetMapActionGoal.cs @@ -0,0 +1,41 @@ +using System.Collections.Generic; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; +using RosMessageTypes.Std; +using RosMessageTypes.Actionlib; + +namespace RosMessageTypes.Nav +{ + public class GetMapActionGoal : ActionGoal + { + public const string RosMessageName = "nav_msgs/GetMapActionGoal"; + + public GetMapActionGoal() : base() + { + this.goal = new GetMapGoal(); + } + + public GetMapActionGoal(Header header, GoalID goal_id, GetMapGoal goal) : base(header, goal_id) + { + this.goal = goal; + } + public override List SerializationStatements() + { + var listOfSerializations = new List(); + listOfSerializations.AddRange(this.header.SerializationStatements()); + listOfSerializations.AddRange(this.goal_id.SerializationStatements()); + listOfSerializations.AddRange(this.goal.SerializationStatements()); + + return listOfSerializations; + } + + public override int Deserialize(byte[] data, int offset) + { + offset = this.header.Deserialize(data, offset); + offset = this.goal_id.Deserialize(data, offset); + offset = this.goal.Deserialize(data, offset); + + return offset; + } + + } +} diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/action/GetMapActionGoal.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/action/GetMapActionGoal.cs.meta new file mode 100644 index 00000000..72a1ed18 --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/action/GetMapActionGoal.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 8c2820bc0f3c7634c986567df1c3bf09 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/action/GetMapActionResult.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/action/GetMapActionResult.cs new file mode 100644 index 00000000..3e72dafb --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/action/GetMapActionResult.cs @@ -0,0 +1,41 @@ +using System.Collections.Generic; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; +using RosMessageTypes.Std; +using RosMessageTypes.Actionlib; + +namespace RosMessageTypes.Nav +{ + public class GetMapActionResult : ActionResult + { + public const string RosMessageName = "nav_msgs/GetMapActionResult"; + + public GetMapActionResult() : base() + { + this.result = new GetMapResult(); + } + + public GetMapActionResult(Header header, GoalStatus status, GetMapResult result) : base(header, status) + { + this.result = result; + } + public override List SerializationStatements() + { + var listOfSerializations = new List(); + listOfSerializations.AddRange(this.header.SerializationStatements()); + listOfSerializations.AddRange(this.status.SerializationStatements()); + listOfSerializations.AddRange(this.result.SerializationStatements()); + + return listOfSerializations; + } + + public override int Deserialize(byte[] data, int offset) + { + offset = this.header.Deserialize(data, offset); + offset = this.status.Deserialize(data, offset); + offset = this.result.Deserialize(data, offset); + + return offset; + } + + } +} diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/action/GetMapActionResult.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/action/GetMapActionResult.cs.meta new file mode 100644 index 00000000..5e165005 --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/action/GetMapActionResult.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 58693d9e8d0d1f846a0db61fe1d14af7 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/action/GetMapFeedback.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/action/GetMapFeedback.cs new file mode 100644 index 00000000..0a126e18 --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/action/GetMapFeedback.cs @@ -0,0 +1,37 @@ +//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.Nav +{ + public class GetMapFeedback : Message + { + public const string RosMessageName = "nav_msgs/GetMap"; + + // no feedback + + public GetMapFeedback() + { + } + public override List SerializationStatements() + { + var listOfSerializations = new List(); + + return listOfSerializations; + } + + public override int Deserialize(byte[] data, int offset) + { + + return offset; + } + + public override string ToString() + { + return "GetMapFeedback: "; + } + } +} diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/action/GetMapFeedback.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/action/GetMapFeedback.cs.meta new file mode 100644 index 00000000..22628717 --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/action/GetMapFeedback.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 00f05341bc8c72147a49a1a83ed5b34c +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/action/GetMapGoal.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/action/GetMapGoal.cs new file mode 100644 index 00000000..b6885a96 --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/action/GetMapGoal.cs @@ -0,0 +1,37 @@ +//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.Nav +{ + public class GetMapGoal : Message + { + public const string RosMessageName = "nav_msgs/GetMap"; + + // Get the map as a nav_msgs/OccupancyGrid + + public GetMapGoal() + { + } + public override List SerializationStatements() + { + var listOfSerializations = new List(); + + return listOfSerializations; + } + + public override int Deserialize(byte[] data, int offset) + { + + return offset; + } + + public override string ToString() + { + return "GetMapGoal: "; + } + } +} diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/action/GetMapGoal.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/action/GetMapGoal.cs.meta new file mode 100644 index 00000000..39d1953b --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/action/GetMapGoal.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 281e430ab85b822438f67bca8d9fe15a +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/action/GetMapResult.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/action/GetMapResult.cs new file mode 100644 index 00000000..23492a08 --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/action/GetMapResult.cs @@ -0,0 +1,46 @@ +//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.Nav +{ + public class GetMapResult : Message + { + public const string RosMessageName = "nav_msgs/GetMap"; + + public OccupancyGrid map; + + public GetMapResult() + { + this.map = new OccupancyGrid(); + } + + public GetMapResult(OccupancyGrid map) + { + this.map = map; + } + public override List SerializationStatements() + { + var listOfSerializations = new List(); + listOfSerializations.AddRange(map.SerializationStatements()); + + return listOfSerializations; + } + + public override int Deserialize(byte[] data, int offset) + { + offset = this.map.Deserialize(data, offset); + + return offset; + } + + public override string ToString() + { + return "GetMapResult: " + + "\nmap: " + map.ToString(); + } + } +} diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/action/GetMapResult.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/action/GetMapResult.cs.meta new file mode 100644 index 00000000..bfd6e812 --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/action/GetMapResult.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 69053ff8392854f49b30d13c5f0894e9 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/msg/GridCells.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/msg/GridCells.cs index 5f8e5df4..86a4cd97 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/msg/GridCells.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/msg/GridCells.cs @@ -3,9 +3,8 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; -using RosMessageTypes.Std; using Unity.Robotics.ROSTCPConnector.MessageGeneration; +using RosMessageTypes.Std; namespace RosMessageTypes.Nav { diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/msg/MapMetaData.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/msg/MapMetaData.cs index 3ed8a0d9..d6351477 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/msg/MapMetaData.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/msg/MapMetaData.cs @@ -3,9 +3,8 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; -using RosMessageTypes.Std; using Unity.Robotics.ROSTCPConnector.MessageGeneration; +using RosMessageTypes.Std; namespace RosMessageTypes.Nav { diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/msg/OccupancyGrid.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/msg/OccupancyGrid.cs index bb0cfac6..680e4dd4 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/msg/OccupancyGrid.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/msg/OccupancyGrid.cs @@ -3,9 +3,8 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; -using RosMessageTypes.Std; using Unity.Robotics.ROSTCPConnector.MessageGeneration; +using RosMessageTypes.Std; namespace RosMessageTypes.Nav { diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/msg/Odometry.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/msg/Odometry.cs index 671e0b8b..fca78e56 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/msg/Odometry.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/msg/Odometry.cs @@ -3,9 +3,8 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; -using RosMessageTypes.Std; using Unity.Robotics.ROSTCPConnector.MessageGeneration; +using RosMessageTypes.Std; namespace RosMessageTypes.Nav { diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/msg/Path.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/msg/Path.cs index ce2af535..83f451f4 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/msg/Path.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/msg/Path.cs @@ -3,9 +3,8 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; -using RosMessageTypes.Std; using Unity.Robotics.ROSTCPConnector.MessageGeneration; +using RosMessageTypes.Std; namespace RosMessageTypes.Nav { diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/srv.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/srv.meta new file mode 100644 index 00000000..385c38ae --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/srv.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: f46e63a4662645e4fb25e120bc8e0b5b +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/srv/GetMapRequest.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/srv/GetMapRequest.cs new file mode 100644 index 00000000..57cfbdab --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/srv/GetMapRequest.cs @@ -0,0 +1,37 @@ +//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.Nav +{ + public class GetMapRequest : Message + { + public const string RosMessageName = "nav_msgs/GetMap"; + + // Get the map as a nav_msgs/OccupancyGrid + + public GetMapRequest() + { + } + public override List SerializationStatements() + { + var listOfSerializations = new List(); + + return listOfSerializations; + } + + public override int Deserialize(byte[] data, int offset) + { + + return offset; + } + + public override string ToString() + { + return "GetMapRequest: "; + } + } +} diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/srv/GetMapRequest.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/srv/GetMapRequest.cs.meta new file mode 100644 index 00000000..83113732 --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/srv/GetMapRequest.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 25183af41898a2c48acf43d61a9d26be +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/srv/GetMapResponse.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/srv/GetMapResponse.cs new file mode 100644 index 00000000..e77f94cd --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/srv/GetMapResponse.cs @@ -0,0 +1,46 @@ +//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.Nav +{ + public class GetMapResponse : Message + { + public const string RosMessageName = "nav_msgs/GetMap"; + + public OccupancyGrid map; + + public GetMapResponse() + { + this.map = new OccupancyGrid(); + } + + public GetMapResponse(OccupancyGrid map) + { + this.map = map; + } + public override List SerializationStatements() + { + var listOfSerializations = new List(); + listOfSerializations.AddRange(map.SerializationStatements()); + + return listOfSerializations; + } + + public override int Deserialize(byte[] data, int offset) + { + offset = this.map.Deserialize(data, offset); + + return offset; + } + + public override string ToString() + { + return "GetMapResponse: " + + "\nmap: " + map.ToString(); + } + } +} diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/srv/GetMapResponse.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/srv/GetMapResponse.cs.meta new file mode 100644 index 00000000..f2c83105 --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/srv/GetMapResponse.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 7a15015472aa8bc4ea6df8ff0dca50ed +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/srv/GetPlanRequest.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/srv/GetPlanRequest.cs new file mode 100644 index 00000000..8b0aab5a --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/srv/GetPlanRequest.cs @@ -0,0 +1,64 @@ +//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.Nav +{ + public class GetPlanRequest : Message + { + public const string RosMessageName = "nav_msgs/GetPlan"; + + // Get a plan from the current position to the goal Pose + // The start pose for the plan + public Geometry.PoseStamped start; + // The final pose of the goal position + public Geometry.PoseStamped goal; + // If the goal is obstructed, how many meters the planner can + // relax the constraint in x and y before failing. + public float tolerance; + + public GetPlanRequest() + { + this.start = new Geometry.PoseStamped(); + this.goal = new Geometry.PoseStamped(); + this.tolerance = 0.0f; + } + + public GetPlanRequest(Geometry.PoseStamped start, Geometry.PoseStamped goal, float tolerance) + { + this.start = start; + this.goal = goal; + this.tolerance = tolerance; + } + public override List SerializationStatements() + { + var listOfSerializations = new List(); + listOfSerializations.AddRange(start.SerializationStatements()); + listOfSerializations.AddRange(goal.SerializationStatements()); + listOfSerializations.Add(BitConverter.GetBytes(this.tolerance)); + + return listOfSerializations; + } + + public override int Deserialize(byte[] data, int offset) + { + offset = this.start.Deserialize(data, offset); + offset = this.goal.Deserialize(data, offset); + this.tolerance = BitConverter.ToSingle(data, offset); + offset += 4; + + return offset; + } + + public override string ToString() + { + return "GetPlanRequest: " + + "\nstart: " + start.ToString() + + "\ngoal: " + goal.ToString() + + "\ntolerance: " + tolerance.ToString(); + } + } +} diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/srv/GetPlanRequest.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/srv/GetPlanRequest.cs.meta new file mode 100644 index 00000000..cb792cc9 --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/srv/GetPlanRequest.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 0560245fa80466347b43fa2229588288 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/srv/GetPlanResponse.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/srv/GetPlanResponse.cs new file mode 100644 index 00000000..5550597b --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/srv/GetPlanResponse.cs @@ -0,0 +1,46 @@ +//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.Nav +{ + public class GetPlanResponse : Message + { + public const string RosMessageName = "nav_msgs/GetPlan"; + + public Path plan; + + public GetPlanResponse() + { + this.plan = new Path(); + } + + public GetPlanResponse(Path plan) + { + this.plan = plan; + } + public override List SerializationStatements() + { + var listOfSerializations = new List(); + listOfSerializations.AddRange(plan.SerializationStatements()); + + return listOfSerializations; + } + + public override int Deserialize(byte[] data, int offset) + { + offset = this.plan.Deserialize(data, offset); + + return offset; + } + + public override string ToString() + { + return "GetPlanResponse: " + + "\nplan: " + plan.ToString(); + } + } +} diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/srv/GetPlanResponse.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/srv/GetPlanResponse.cs.meta new file mode 100644 index 00000000..f625e148 --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/srv/GetPlanResponse.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 690a56d34dfbbc042a21f13fbc2e4d3e +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/srv/LoadMapRequest.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/srv/LoadMapRequest.cs new file mode 100644 index 00000000..b5a8d258 --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/srv/LoadMapRequest.cs @@ -0,0 +1,52 @@ +//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.Nav +{ + public class LoadMapRequest : Message + { + public const string RosMessageName = "nav_msgs/LoadMap"; + + // URL of map resource + // Can be an absolute path to a file: file:///path/to/maps/floor1.yaml + // Or, relative to a ROS package: package://my_ros_package/maps/floor2.yaml + public string map_url; + + public LoadMapRequest() + { + this.map_url = ""; + } + + public LoadMapRequest(string map_url) + { + this.map_url = map_url; + } + public override List SerializationStatements() + { + var listOfSerializations = new List(); + listOfSerializations.Add(SerializeString(this.map_url)); + + return listOfSerializations; + } + + public override int Deserialize(byte[] data, int offset) + { + var map_urlStringBytesLength = DeserializeLength(data, offset); + offset += 4; + this.map_url = DeserializeString(data, offset, map_urlStringBytesLength); + offset += map_urlStringBytesLength; + + return offset; + } + + public override string ToString() + { + return "LoadMapRequest: " + + "\nmap_url: " + map_url.ToString(); + } + } +} diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/srv/LoadMapRequest.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/srv/LoadMapRequest.cs.meta new file mode 100644 index 00000000..5978e69e --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/srv/LoadMapRequest.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 30f37c6a24e690e4592e06d8954b6ff5 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/srv/LoadMapResponse.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/srv/LoadMapResponse.cs new file mode 100644 index 00000000..a038f5a4 --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/srv/LoadMapResponse.cs @@ -0,0 +1,60 @@ +//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.Nav +{ + public class LoadMapResponse : Message + { + public const string RosMessageName = "nav_msgs/LoadMap"; + + // Result code defintions + public const byte RESULT_SUCCESS = 0; + public const byte RESULT_MAP_DOES_NOT_EXIST = 1; + public const byte RESULT_INVALID_MAP_DATA = 2; + public const byte RESULT_INVALID_MAP_METADATA = 3; + public const byte RESULT_UNDEFINED_FAILURE = 255; + // Returned map is only valid if result equals RESULT_SUCCESS + public OccupancyGrid map; + public byte result; + + public LoadMapResponse() + { + this.map = new OccupancyGrid(); + this.result = 0; + } + + public LoadMapResponse(OccupancyGrid map, byte result) + { + this.map = map; + this.result = result; + } + public override List SerializationStatements() + { + var listOfSerializations = new List(); + listOfSerializations.AddRange(map.SerializationStatements()); + listOfSerializations.Add(new[]{this.result}); + + return listOfSerializations; + } + + public override int Deserialize(byte[] data, int offset) + { + offset = this.map.Deserialize(data, offset); + this.result = data[offset];; + offset += 1; + + return offset; + } + + public override string ToString() + { + return "LoadMapResponse: " + + "\nmap: " + map.ToString() + + "\nresult: " + result.ToString(); + } + } +} diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/srv/LoadMapResponse.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/srv/LoadMapResponse.cs.meta new file mode 100644 index 00000000..f42c4a1b --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/srv/LoadMapResponse.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: fcaa6e0774e24ee448a56183cacba65b +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/srv/SetMapRequest.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/srv/SetMapRequest.cs new file mode 100644 index 00000000..f24e2d1c --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/srv/SetMapRequest.cs @@ -0,0 +1,53 @@ +//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.Nav +{ + public class SetMapRequest : Message + { + public const string RosMessageName = "nav_msgs/SetMap"; + + // Set a new map together with an initial pose + public OccupancyGrid map; + public Geometry.PoseWithCovarianceStamped initial_pose; + + public SetMapRequest() + { + this.map = new OccupancyGrid(); + this.initial_pose = new Geometry.PoseWithCovarianceStamped(); + } + + public SetMapRequest(OccupancyGrid map, Geometry.PoseWithCovarianceStamped initial_pose) + { + this.map = map; + this.initial_pose = initial_pose; + } + public override List SerializationStatements() + { + var listOfSerializations = new List(); + listOfSerializations.AddRange(map.SerializationStatements()); + listOfSerializations.AddRange(initial_pose.SerializationStatements()); + + return listOfSerializations; + } + + public override int Deserialize(byte[] data, int offset) + { + offset = this.map.Deserialize(data, offset); + offset = this.initial_pose.Deserialize(data, offset); + + return offset; + } + + public override string ToString() + { + return "SetMapRequest: " + + "\nmap: " + map.ToString() + + "\ninitial_pose: " + initial_pose.ToString(); + } + } +} diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/srv/SetMapRequest.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/srv/SetMapRequest.cs.meta new file mode 100644 index 00000000..b4193338 --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/srv/SetMapRequest.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: d6294f2876f0c9742aaf52e7761d4606 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/srv/SetMapResponse.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/srv/SetMapResponse.cs new file mode 100644 index 00000000..47df0347 --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/srv/SetMapResponse.cs @@ -0,0 +1,47 @@ +//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.Nav +{ + public class SetMapResponse : Message + { + public const string RosMessageName = "nav_msgs/SetMap"; + + public bool success; + + public SetMapResponse() + { + this.success = false; + } + + public SetMapResponse(bool success) + { + this.success = success; + } + public override List SerializationStatements() + { + var listOfSerializations = new List(); + listOfSerializations.Add(BitConverter.GetBytes(this.success)); + + return listOfSerializations; + } + + public override int Deserialize(byte[] data, int offset) + { + this.success = BitConverter.ToBoolean(data, offset); + offset += 1; + + return offset; + } + + public override string ToString() + { + return "SetMapResponse: " + + "\nsuccess: " + success.ToString(); + } + } +} diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/srv/SetMapResponse.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/srv/SetMapResponse.cs.meta new file mode 100644 index 00000000..19b5c841 --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Nav/srv/SetMapResponse.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 2dc5bfbb9ef9fae4884a4cac0a1c76e5 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/BatteryState.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/BatteryState.cs index 92ff54fb..a669f685 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/BatteryState.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/BatteryState.cs @@ -3,9 +3,8 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; -using RosMessageTypes.Std; using Unity.Robotics.ROSTCPConnector.MessageGeneration; +using RosMessageTypes.Std; namespace RosMessageTypes.Sensor { diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/CameraInfo.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/CameraInfo.cs index e7d3dcd1..aaaa7de7 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/CameraInfo.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/CameraInfo.cs @@ -3,9 +3,8 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; -using RosMessageTypes.Std; using Unity.Robotics.ROSTCPConnector.MessageGeneration; +using RosMessageTypes.Std; namespace RosMessageTypes.Sensor { diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/ChannelFloat32.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/ChannelFloat32.cs index dba0b408..50f20a23 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/ChannelFloat32.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/ChannelFloat32.cs @@ -3,7 +3,6 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Sensor diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/CompressedImage.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/CompressedImage.cs index 5c4d4da2..1a921323 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/CompressedImage.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/CompressedImage.cs @@ -3,9 +3,8 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; -using RosMessageTypes.Std; using Unity.Robotics.ROSTCPConnector.MessageGeneration; +using RosMessageTypes.Std; namespace RosMessageTypes.Sensor { diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/FluidPressure.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/FluidPressure.cs index 1e7c0114..98ec3ea4 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/FluidPressure.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/FluidPressure.cs @@ -3,9 +3,8 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; -using RosMessageTypes.Std; using Unity.Robotics.ROSTCPConnector.MessageGeneration; +using RosMessageTypes.Std; namespace RosMessageTypes.Sensor { diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/Illuminance.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/Illuminance.cs index bf3fe833..21502c67 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/Illuminance.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/Illuminance.cs @@ -3,9 +3,8 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; -using RosMessageTypes.Std; using Unity.Robotics.ROSTCPConnector.MessageGeneration; +using RosMessageTypes.Std; namespace RosMessageTypes.Sensor { diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/Image.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/Image.cs index d233896f..ddae7026 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/Image.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/Image.cs @@ -3,9 +3,8 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; -using RosMessageTypes.Std; using Unity.Robotics.ROSTCPConnector.MessageGeneration; +using RosMessageTypes.Std; namespace RosMessageTypes.Sensor { diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/Imu.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/Imu.cs index 7e63964b..b63e5a73 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/Imu.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/Imu.cs @@ -3,9 +3,8 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; -using RosMessageTypes.Std; using Unity.Robotics.ROSTCPConnector.MessageGeneration; +using RosMessageTypes.Std; namespace RosMessageTypes.Sensor { diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/JointState.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/JointState.cs index 30e21068..012d399e 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/JointState.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/JointState.cs @@ -3,9 +3,8 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; -using RosMessageTypes.Std; using Unity.Robotics.ROSTCPConnector.MessageGeneration; +using RosMessageTypes.Std; namespace RosMessageTypes.Sensor { diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/Joy.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/Joy.cs index c296a7d9..1509bb6f 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/Joy.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/Joy.cs @@ -3,9 +3,8 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; -using RosMessageTypes.Std; using Unity.Robotics.ROSTCPConnector.MessageGeneration; +using RosMessageTypes.Std; namespace RosMessageTypes.Sensor { diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/JoyFeedback.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/JoyFeedback.cs index 7987eba2..2fe3599f 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/JoyFeedback.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/JoyFeedback.cs @@ -3,7 +3,6 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Sensor diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/JoyFeedbackArray.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/JoyFeedbackArray.cs index f454994e..86b41040 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/JoyFeedbackArray.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/JoyFeedbackArray.cs @@ -3,7 +3,6 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Sensor diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/LaserEcho.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/LaserEcho.cs index 94789312..e5257629 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/LaserEcho.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/LaserEcho.cs @@ -3,7 +3,6 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Sensor diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/LaserScan.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/LaserScan.cs index c70f4752..ef0400ac 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/LaserScan.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/LaserScan.cs @@ -3,9 +3,8 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; -using RosMessageTypes.Std; using Unity.Robotics.ROSTCPConnector.MessageGeneration; +using RosMessageTypes.Std; namespace RosMessageTypes.Sensor { diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/MagneticField.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/MagneticField.cs index b2a0495d..53d8169b 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/MagneticField.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/MagneticField.cs @@ -3,9 +3,8 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; -using RosMessageTypes.Std; using Unity.Robotics.ROSTCPConnector.MessageGeneration; +using RosMessageTypes.Std; namespace RosMessageTypes.Sensor { diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/MultiDOFJointState.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/MultiDOFJointState.cs index 669f8843..81973911 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/MultiDOFJointState.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/MultiDOFJointState.cs @@ -3,9 +3,8 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; -using RosMessageTypes.Std; using Unity.Robotics.ROSTCPConnector.MessageGeneration; +using RosMessageTypes.Std; namespace RosMessageTypes.Sensor { diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/MultiEchoLaserScan.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/MultiEchoLaserScan.cs index 18335bce..69899a62 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/MultiEchoLaserScan.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/MultiEchoLaserScan.cs @@ -3,9 +3,8 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; -using RosMessageTypes.Std; using Unity.Robotics.ROSTCPConnector.MessageGeneration; +using RosMessageTypes.Std; namespace RosMessageTypes.Sensor { diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/NavSatFix.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/NavSatFix.cs index 47fdb1a8..56663174 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/NavSatFix.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/NavSatFix.cs @@ -3,9 +3,8 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; -using RosMessageTypes.Std; using Unity.Robotics.ROSTCPConnector.MessageGeneration; +using RosMessageTypes.Std; namespace RosMessageTypes.Sensor { diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/NavSatStatus.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/NavSatStatus.cs index 4bb9b998..488fe54b 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/NavSatStatus.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/NavSatStatus.cs @@ -3,7 +3,6 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Sensor diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/PointCloud.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/PointCloud.cs index 4afee26d..45aa30bd 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/PointCloud.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/PointCloud.cs @@ -3,9 +3,8 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; -using RosMessageTypes.Std; using Unity.Robotics.ROSTCPConnector.MessageGeneration; +using RosMessageTypes.Std; namespace RosMessageTypes.Sensor { diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/PointCloud2.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/PointCloud2.cs index aa1d739d..500d041c 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/PointCloud2.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/PointCloud2.cs @@ -3,9 +3,8 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; -using RosMessageTypes.Std; using Unity.Robotics.ROSTCPConnector.MessageGeneration; +using RosMessageTypes.Std; namespace RosMessageTypes.Sensor { diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/PointField.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/PointField.cs index 666dde00..d6b038bb 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/PointField.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/PointField.cs @@ -3,7 +3,6 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Sensor diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/Range.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/Range.cs index 1713fbe1..48c241d1 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/Range.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/Range.cs @@ -3,9 +3,8 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; -using RosMessageTypes.Std; using Unity.Robotics.ROSTCPConnector.MessageGeneration; +using RosMessageTypes.Std; namespace RosMessageTypes.Sensor { diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/RegionOfInterest.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/RegionOfInterest.cs index e196b46b..dbbab0c9 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/RegionOfInterest.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/RegionOfInterest.cs @@ -3,7 +3,6 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Sensor diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/RelativeHumidity.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/RelativeHumidity.cs index 21bf95e2..1f1e52ab 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/RelativeHumidity.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/RelativeHumidity.cs @@ -3,9 +3,8 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; -using RosMessageTypes.Std; using Unity.Robotics.ROSTCPConnector.MessageGeneration; +using RosMessageTypes.Std; namespace RosMessageTypes.Sensor { diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/Temperature.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/Temperature.cs index e22aef78..04576223 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/Temperature.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/Temperature.cs @@ -3,9 +3,8 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; -using RosMessageTypes.Std; using Unity.Robotics.ROSTCPConnector.MessageGeneration; +using RosMessageTypes.Std; namespace RosMessageTypes.Sensor { diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/TimeReference.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/TimeReference.cs index d6b35869..4982e759 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/TimeReference.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/msg/TimeReference.cs @@ -3,9 +3,8 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; -using RosMessageTypes.Std; using Unity.Robotics.ROSTCPConnector.MessageGeneration; +using RosMessageTypes.Std; namespace RosMessageTypes.Sensor { diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/srv.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/srv.meta new file mode 100644 index 00000000..508e6e5d --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/srv.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: def98ce6da5ffa3478d862d6c2f24ada +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/srv/SetCameraInfoRequest.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/srv/SetCameraInfoRequest.cs new file mode 100644 index 00000000..ae44e159 --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/srv/SetCameraInfoRequest.cs @@ -0,0 +1,54 @@ +//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.Sensor +{ + public class SetCameraInfoRequest : Message + { + public const string RosMessageName = "sensor_msgs/SetCameraInfo"; + + // This service requests that a camera stores the given CameraInfo + // as that camera's calibration information. + // + // The width and height in the camera_info field should match what the + // camera is currently outputting on its camera_info topic, and the camera + // will assume that the region of the imager that is being referred to is + // the region that the camera is currently capturing. + public CameraInfo camera_info; + // The camera_info to store + + public SetCameraInfoRequest() + { + this.camera_info = new CameraInfo(); + } + + public SetCameraInfoRequest(CameraInfo camera_info) + { + this.camera_info = camera_info; + } + public override List SerializationStatements() + { + var listOfSerializations = new List(); + listOfSerializations.AddRange(camera_info.SerializationStatements()); + + return listOfSerializations; + } + + public override int Deserialize(byte[] data, int offset) + { + offset = this.camera_info.Deserialize(data, offset); + + return offset; + } + + public override string ToString() + { + return "SetCameraInfoRequest: " + + "\ncamera_info: " + camera_info.ToString(); + } + } +} diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/srv/SetCameraInfoRequest.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/srv/SetCameraInfoRequest.cs.meta new file mode 100644 index 00000000..4d155bc8 --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/srv/SetCameraInfoRequest.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: fcec69c918c050744b59869695aa2c9b +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/srv/SetCameraInfoResponse.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/srv/SetCameraInfoResponse.cs new file mode 100644 index 00000000..67db9046 --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/srv/SetCameraInfoResponse.cs @@ -0,0 +1,58 @@ +//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.Sensor +{ + public class SetCameraInfoResponse : Message + { + public const string RosMessageName = "sensor_msgs/SetCameraInfo"; + + public bool success; + // True if the call succeeded + public string status_message; + // Used to give details about success + + public SetCameraInfoResponse() + { + this.success = false; + this.status_message = ""; + } + + public SetCameraInfoResponse(bool success, string status_message) + { + this.success = success; + this.status_message = status_message; + } + public override List SerializationStatements() + { + var listOfSerializations = new List(); + listOfSerializations.Add(BitConverter.GetBytes(this.success)); + listOfSerializations.Add(SerializeString(this.status_message)); + + return listOfSerializations; + } + + public override int Deserialize(byte[] data, int offset) + { + this.success = BitConverter.ToBoolean(data, offset); + offset += 1; + var status_messageStringBytesLength = DeserializeLength(data, offset); + offset += 4; + this.status_message = DeserializeString(data, offset, status_messageStringBytesLength); + offset += status_messageStringBytesLength; + + return offset; + } + + public override string ToString() + { + return "SetCameraInfoResponse: " + + "\nsuccess: " + success.ToString() + + "\nstatus_message: " + status_message.ToString(); + } + } +} diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/srv/SetCameraInfoResponse.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/srv/SetCameraInfoResponse.cs.meta new file mode 100644 index 00000000..20947ee7 --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Sensor/srv/SetCameraInfoResponse.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 91de8a8fcec78924996d9b738c1fa645 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Shape/msg/Mesh.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Shape/msg/Mesh.cs index 9fc8b7f5..75a23be5 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Shape/msg/Mesh.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Shape/msg/Mesh.cs @@ -3,7 +3,6 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Shape diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Shape/msg/MeshTriangle.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Shape/msg/MeshTriangle.cs index f16cebbc..1eda31fb 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Shape/msg/MeshTriangle.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Shape/msg/MeshTriangle.cs @@ -3,7 +3,6 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Shape diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Shape/msg/Plane.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Shape/msg/Plane.cs index e546081c..be98fe4b 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Shape/msg/Plane.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Shape/msg/Plane.cs @@ -3,7 +3,6 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Shape diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Shape/msg/SolidPrimitive.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Shape/msg/SolidPrimitive.cs index 1bd1807b..7031690f 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Shape/msg/SolidPrimitive.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Shape/msg/SolidPrimitive.cs @@ -3,7 +3,6 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Shape diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Stereo/msg/DisparityImage.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Stereo/msg/DisparityImage.cs index 2e2fbaa6..d429a502 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Stereo/msg/DisparityImage.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Stereo/msg/DisparityImage.cs @@ -3,9 +3,8 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; -using RosMessageTypes.Std; using Unity.Robotics.ROSTCPConnector.MessageGeneration; +using RosMessageTypes.Std; namespace RosMessageTypes.Stereo { diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Trajectory/msg/JointTrajectory.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Trajectory/msg/JointTrajectory.cs index 9e61f381..50d991f2 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Trajectory/msg/JointTrajectory.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Trajectory/msg/JointTrajectory.cs @@ -3,9 +3,8 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; -using RosMessageTypes.Std; using Unity.Robotics.ROSTCPConnector.MessageGeneration; +using RosMessageTypes.Std; namespace RosMessageTypes.Trajectory { diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Trajectory/msg/JointTrajectoryPoint.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Trajectory/msg/JointTrajectoryPoint.cs index 61adf7cf..82b9cdf3 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Trajectory/msg/JointTrajectoryPoint.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Trajectory/msg/JointTrajectoryPoint.cs @@ -3,9 +3,8 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; -using RosMessageTypes.Std; using Unity.Robotics.ROSTCPConnector.MessageGeneration; +using RosMessageTypes.Std; namespace RosMessageTypes.Trajectory { diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Trajectory/msg/MultiDOFJointTrajectory.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Trajectory/msg/MultiDOFJointTrajectory.cs index ac4d7811..492ad3d3 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Trajectory/msg/MultiDOFJointTrajectory.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Trajectory/msg/MultiDOFJointTrajectory.cs @@ -3,9 +3,8 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; -using RosMessageTypes.Std; using Unity.Robotics.ROSTCPConnector.MessageGeneration; +using RosMessageTypes.Std; namespace RosMessageTypes.Trajectory { diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Trajectory/msg/MultiDOFJointTrajectoryPoint.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Trajectory/msg/MultiDOFJointTrajectoryPoint.cs index 7a7aef46..939f1b86 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Trajectory/msg/MultiDOFJointTrajectoryPoint.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Trajectory/msg/MultiDOFJointTrajectoryPoint.cs @@ -3,9 +3,8 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; -using RosMessageTypes.Std; using Unity.Robotics.ROSTCPConnector.MessageGeneration; +using RosMessageTypes.Std; namespace RosMessageTypes.Trajectory { diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Visualization/msg/ImageMarker.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Visualization/msg/ImageMarker.cs index 31618733..f2ef4da6 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Visualization/msg/ImageMarker.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Visualization/msg/ImageMarker.cs @@ -3,9 +3,8 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; -using RosMessageTypes.Std; using Unity.Robotics.ROSTCPConnector.MessageGeneration; +using RosMessageTypes.Std; namespace RosMessageTypes.Visualization { diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Visualization/msg/InteractiveMarker.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Visualization/msg/InteractiveMarker.cs index 77d97355..ad51dee4 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Visualization/msg/InteractiveMarker.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Visualization/msg/InteractiveMarker.cs @@ -3,9 +3,8 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; -using RosMessageTypes.Std; using Unity.Robotics.ROSTCPConnector.MessageGeneration; +using RosMessageTypes.Std; namespace RosMessageTypes.Visualization { diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Visualization/msg/InteractiveMarkerControl.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Visualization/msg/InteractiveMarkerControl.cs index f6ad3702..1f3a87d8 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Visualization/msg/InteractiveMarkerControl.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Visualization/msg/InteractiveMarkerControl.cs @@ -3,7 +3,6 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Visualization diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Visualization/msg/InteractiveMarkerFeedback.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Visualization/msg/InteractiveMarkerFeedback.cs index a8510926..63dcc46a 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Visualization/msg/InteractiveMarkerFeedback.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Visualization/msg/InteractiveMarkerFeedback.cs @@ -3,9 +3,8 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; -using RosMessageTypes.Std; using Unity.Robotics.ROSTCPConnector.MessageGeneration; +using RosMessageTypes.Std; namespace RosMessageTypes.Visualization { diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Visualization/msg/InteractiveMarkerInit.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Visualization/msg/InteractiveMarkerInit.cs index 8d14ef62..61104047 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Visualization/msg/InteractiveMarkerInit.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Visualization/msg/InteractiveMarkerInit.cs @@ -3,7 +3,6 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Visualization diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Visualization/msg/InteractiveMarkerPose.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Visualization/msg/InteractiveMarkerPose.cs index f8c511a2..9f878208 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Visualization/msg/InteractiveMarkerPose.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Visualization/msg/InteractiveMarkerPose.cs @@ -3,9 +3,8 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; -using RosMessageTypes.Std; using Unity.Robotics.ROSTCPConnector.MessageGeneration; +using RosMessageTypes.Std; namespace RosMessageTypes.Visualization { diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Visualization/msg/InteractiveMarkerUpdate.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Visualization/msg/InteractiveMarkerUpdate.cs index f37fedbc..690be9be 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Visualization/msg/InteractiveMarkerUpdate.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Visualization/msg/InteractiveMarkerUpdate.cs @@ -3,7 +3,6 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Visualization diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Visualization/msg/Marker.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Visualization/msg/Marker.cs index f797763f..0f9a4245 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Visualization/msg/Marker.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Visualization/msg/Marker.cs @@ -3,9 +3,8 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; -using RosMessageTypes.Std; using Unity.Robotics.ROSTCPConnector.MessageGeneration; +using RosMessageTypes.Std; namespace RosMessageTypes.Visualization { diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Visualization/msg/MarkerArray.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Visualization/msg/MarkerArray.cs index 3633e453..7e27540e 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Visualization/msg/MarkerArray.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Visualization/msg/MarkerArray.cs @@ -3,7 +3,6 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Visualization diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Visualization/msg/MenuEntry.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Visualization/msg/MenuEntry.cs index 6e2986e1..1aaa0e2e 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Visualization/msg/MenuEntry.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/common_msgs/Visualization/msg/MenuEntry.cs @@ -3,7 +3,6 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Visualization diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Bool.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Bool.cs index a87337f6..8dfe8f8c 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Bool.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Bool.cs @@ -3,7 +3,6 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Std diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Byte.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Byte.cs index 14e731da..96d29dc9 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Byte.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Byte.cs @@ -3,7 +3,6 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Std diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/ByteMultiArray.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/ByteMultiArray.cs index e41c4eaa..99522c18 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/ByteMultiArray.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/ByteMultiArray.cs @@ -3,7 +3,6 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Std diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Char.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Char.cs index 1fcee4d1..f725f7cd 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Char.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Char.cs @@ -3,7 +3,6 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Std diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/ColorRGBA.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/ColorRGBA.cs index c04b8de5..f2436182 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/ColorRGBA.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/ColorRGBA.cs @@ -3,7 +3,6 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Std diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Duration.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Duration.cs index ef844251..b6633b24 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Duration.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Duration.cs @@ -1,9 +1,8 @@ //Do not edit! This file was generated by Unity-ROS MessageGeneration. using System; using System.Collections.Generic; -using Unity.Robotics.ROSTCPConnector.MessageGeneration; -namespace RosMessageGeneration +namespace Unity.Robotics.ROSTCPConnector.MessageGeneration { public class Duration : Message { diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Empty.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Empty.cs index dcbcf0c6..af49e064 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Empty.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Empty.cs @@ -3,7 +3,6 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Std diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Float32.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Float32.cs index 5c8762f7..aa6163f3 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Float32.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Float32.cs @@ -3,7 +3,6 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Std diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Float32MultiArray.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Float32MultiArray.cs index c0b30e57..571aa02b 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Float32MultiArray.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Float32MultiArray.cs @@ -3,7 +3,6 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Std diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Float64.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Float64.cs index 0249fb88..b6774946 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Float64.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Float64.cs @@ -3,7 +3,6 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Std diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Float64MultiArray.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Float64MultiArray.cs index 8c784a74..06590ede 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Float64MultiArray.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Float64MultiArray.cs @@ -3,7 +3,6 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Std diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Header.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Header.cs index db8717f2..a66030f8 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Header.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Header.cs @@ -3,9 +3,8 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; -using RosMessageTypes.Std; using Unity.Robotics.ROSTCPConnector.MessageGeneration; +using RosMessageTypes.Std; namespace RosMessageTypes.Std { diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Int16.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Int16.cs index 546f9192..4c4ed808 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Int16.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Int16.cs @@ -3,7 +3,6 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Std diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Int16MultiArray.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Int16MultiArray.cs index d0ffbc3a..2413061f 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Int16MultiArray.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Int16MultiArray.cs @@ -3,7 +3,6 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Std diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Int32.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Int32.cs index 38e0474a..ec803827 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Int32.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Int32.cs @@ -3,7 +3,6 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Std diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Int32MultiArray.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Int32MultiArray.cs index 34a586da..4638dc70 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Int32MultiArray.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Int32MultiArray.cs @@ -3,7 +3,6 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Std diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Int64.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Int64.cs index fce6d117..1b5dd759 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Int64.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Int64.cs @@ -3,7 +3,6 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Std diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Int64MultiArray.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Int64MultiArray.cs index 015e6ec9..84ff1c6e 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Int64MultiArray.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Int64MultiArray.cs @@ -3,7 +3,6 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Std diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Int8.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Int8.cs index 73b6c6cc..b23aabb5 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Int8.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Int8.cs @@ -3,7 +3,6 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Std diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Int8MultiArray.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Int8MultiArray.cs index f4bb2b85..1cad2c89 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Int8MultiArray.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Int8MultiArray.cs @@ -3,7 +3,6 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Std diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/MultiArrayDimension.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/MultiArrayDimension.cs index 8ee882f7..e3c762a3 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/MultiArrayDimension.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/MultiArrayDimension.cs @@ -3,7 +3,6 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Std diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/MultiArrayLayout.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/MultiArrayLayout.cs index b4145b2f..89b06937 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/MultiArrayLayout.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/MultiArrayLayout.cs @@ -3,7 +3,6 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Std diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/String.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/String.cs index 80b00368..f4eb00e0 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/String.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/String.cs @@ -3,7 +3,6 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Std diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Time.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Time.cs index 9532fc39..d2175779 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Time.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/Time.cs @@ -1,7 +1,6 @@ //Do not edit! This file was generated by Unity-ROS MessageGeneration. using System; using System.Collections.Generic; -using RosMessageGeneration; using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Std diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/UInt16.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/UInt16.cs index 3363ded2..71e2b3a4 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/UInt16.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/UInt16.cs @@ -3,7 +3,6 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Std diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/UInt16MultiArray.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/UInt16MultiArray.cs index b613723f..ae0a1eb1 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/UInt16MultiArray.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/UInt16MultiArray.cs @@ -3,7 +3,6 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Std diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/UInt32.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/UInt32.cs index 3dd5f37d..6e54cf59 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/UInt32.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/UInt32.cs @@ -3,7 +3,6 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Std diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/UInt32MultiArray.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/UInt32MultiArray.cs index 8c06eb97..7dc52ff8 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/UInt32MultiArray.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/UInt32MultiArray.cs @@ -3,7 +3,6 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Std diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/UInt64.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/UInt64.cs index 11b6beed..3f42123a 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/UInt64.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/UInt64.cs @@ -3,7 +3,6 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Std diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/UInt64MultiArray.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/UInt64MultiArray.cs index 4e2503fc..54cc65ab 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/UInt64MultiArray.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/UInt64MultiArray.cs @@ -3,7 +3,6 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Std diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/UInt8.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/UInt8.cs index bae58517..44ece0d2 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/UInt8.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/UInt8.cs @@ -3,7 +3,6 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Std diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/UInt8MultiArray.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/UInt8MultiArray.cs index 4e68b4fd..f3e4b4bb 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/UInt8MultiArray.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/std_msgs/UInt8MultiArray.cs @@ -3,7 +3,6 @@ using System.Linq; using System.Collections.Generic; using System.Text; -using RosMessageGeneration; using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Std From 8ecb5dfd1c5e3e351caad1555da37b8c69ee84f2 Mon Sep 17 00:00:00 2001 From: Amanda <31416491+at669@users.noreply.github.com> Date: Wed, 10 Feb 2021 09:31:04 -0700 Subject: [PATCH 5/6] Amanda/read chunks (#62) * Read message in chunks min * Removing unpredictable DataAvailable check * Configurable byte chun k size * Prevent infinite hang on reading message contents * Wait for frame on data read retry * PR Feedback --- .../Editor/ROSSettingsEditor.cs | 12 +++++- .../Runtime/TcpConnector/ROSConnection.cs | 41 ++++++++++++++----- 2 files changed, 40 insertions(+), 13 deletions(-) diff --git a/com.unity.robotics.ros-tcp-connector/Editor/ROSSettingsEditor.cs b/com.unity.robotics.ros-tcp-connector/Editor/ROSSettingsEditor.cs index 021c7e5d..8d9ae9a5 100644 --- a/com.unity.robotics.ros-tcp-connector/Editor/ROSSettingsEditor.cs +++ b/com.unity.robotics.ros-tcp-connector/Editor/ROSSettingsEditor.cs @@ -11,7 +11,7 @@ public static void OpenWindow() { ROSSettingsEditor window = GetWindow(false, "ROS Settings", true); window.minSize = new Vector2(300, 65); - window.maxSize = new Vector2(600, 200); + window.maxSize = new Vector2(600, 250); window.Show(); } @@ -51,13 +51,21 @@ protected virtual void OnGUI() EditorGUILayout.Space(); EditorGUILayout.LabelField("If awaiting a service response:", EditorStyles.boldLabel); prefab.awaitDataMaxRetries = EditorGUILayout.IntField( - new GUIContent("Max Retries", + new GUIContent("Max Service Retries", "While waiting for a service to respond, check this many times before giving up."), prefab.awaitDataMaxRetries); prefab.awaitDataSleepSeconds = EditorGUILayout.FloatField( new GUIContent("Sleep (seconds)", "While waiting for a service to respond, wait this many seconds between checks."), prefab.awaitDataSleepSeconds); + prefab.readChunkSize = EditorGUILayout.IntField( + new GUIContent("Read chunk size", + "While reading received messages, read this many bytes at a time."), + prefab.readChunkSize); + prefab.awaitDataReadRetry = EditorGUILayout.IntField( + new GUIContent("Max Read retries", + "While waiting to read a full message, check this many times before giving up."), + prefab.awaitDataReadRetry); if (GUI.changed) { diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/TcpConnector/ROSConnection.cs b/com.unity.robotics.ros-tcp-connector/Runtime/TcpConnector/ROSConnection.cs index d0230306..e1d08144 100644 --- a/com.unity.robotics.ros-tcp-connector/Runtime/TcpConnector/ROSConnection.cs +++ b/com.unity.robotics.ros-tcp-connector/Runtime/TcpConnector/ROSConnection.cs @@ -33,6 +33,12 @@ public class ROSConnection : MonoBehaviour [Tooltip("While waiting for a service to respond, wait this many seconds between checks.")] public float awaitDataSleepSeconds = 1.0f; + [Tooltip("While reading received messages, read this many bytes at a time.")] + public int readChunkSize = 2048; + + [Tooltip("While waiting to read a full message, check this many times before giving up.")] + public int awaitDataReadRetry = 10; + static object _lock = new object(); // sync lock static List activeConnectionTasks = new List(); // pending connections @@ -144,7 +150,7 @@ public async void SendServiceMessage(string rosServiceName, Message se try { string serviceName; - byte[] content = ReadMessageContents(networkStream, out serviceName); + (string topicName, byte[] content) = await ReadMessageContents(networkStream); serviceResponse.Deserialize(content, 0); } catch (Exception e) @@ -251,18 +257,17 @@ protected async Task HandleConnectionAsync(TcpClient tcpClient) await Task.Yield(); // continue asynchronously on another thread - ReadMessage(tcpClient.GetStream()); + await ReadMessage(tcpClient.GetStream()); } - void ReadMessage(NetworkStream networkStream) + async Task ReadMessage(NetworkStream networkStream) { if (!networkStream.CanRead) return; SubscriberCallback subs; - string topicName; - byte[] content = ReadMessageContents(networkStream, out topicName); + (string topicName, byte[] content) = await ReadMessageContents(networkStream); if (!subscribers.TryGetValue(topicName, out subs)) return; // not interested in this topic @@ -291,7 +296,7 @@ void ReadMessage(NetworkStream networkStream) } } - byte[] ReadMessageContents(NetworkStream networkStream, out string topicName) + async Task> ReadMessageContents(NetworkStream networkStream) { // Get first bytes to determine length of topic name byte[] rawTopicBytes = new byte[4]; @@ -301,7 +306,7 @@ byte[] ReadMessageContents(NetworkStream networkStream, out string topicName) // Read and convert topic name byte[] topicNameBytes = new byte[topicLength]; networkStream.Read(topicNameBytes, 0, topicNameBytes.Length); - topicName = Encoding.ASCII.GetString(topicNameBytes, 0, topicLength); + string topicName = Encoding.ASCII.GetString(topicNameBytes, 0, topicLength); byte[] full_message_size_bytes = new byte[4]; networkStream.Read(full_message_size_bytes, 0, full_message_size_bytes.Length); @@ -311,14 +316,28 @@ byte[] ReadMessageContents(NetworkStream networkStream, out string topicName) int bytesRemaining = full_message_size; int totalBytesRead = 0; - while (networkStream.DataAvailable && bytesRemaining > 0) + int attempts = 0; + // Read in message contents until completion, or until attempts are maxed out + while (bytesRemaining > 0 && attempts <= this.awaitDataReadRetry) { - int bytesRead = networkStream.Read(readBuffer, totalBytesRead, bytesRemaining); + if (attempts == this.awaitDataReadRetry) + { + Debug.LogError("No more data to read network stream after " + awaitDataReadRetry + " attempts."); + return Tuple.Create(topicName, readBuffer); + } + + // Read the minimum of the bytes remaining, or the designated readChunkSize in segments until none remain + int bytesRead = networkStream.Read(readBuffer, totalBytesRead, Math.Min(readChunkSize, bytesRemaining)); totalBytesRead += bytesRead; bytesRemaining -= bytesRead; - } - return readBuffer; + if (!networkStream.DataAvailable) + { + attempts++; + await Task.Yield(); + } + } + return Tuple.Create(topicName, readBuffer); } /// From 2f3e4a04ef422376633144ce46a38c5466c68866 Mon Sep 17 00:00:00 2001 From: LaurieCheers-unity <73140792+LaurieCheers-unity@users.noreply.github.com> Date: Fri, 12 Feb 2021 13:50:32 -0800 Subject: [PATCH 6/6] Adding prebuilt ObjectRecognition and Octomap messages (#64) --- .../MessageGeneration/ObjectRecognition.meta | 8 ++ .../ObjectRecognition/action.meta | 8 ++ .../action/ObjectRecognitionAction.cs | 38 ++++++ .../action/ObjectRecognitionAction.cs.meta | 11 ++ .../action/ObjectRecognitionActionFeedback.cs | 41 ++++++ .../ObjectRecognitionActionFeedback.cs.meta | 11 ++ .../action/ObjectRecognitionActionGoal.cs | 41 ++++++ .../ObjectRecognitionActionGoal.cs.meta | 11 ++ .../action/ObjectRecognitionActionResult.cs | 41 ++++++ .../ObjectRecognitionActionResult.cs.meta | 11 ++ .../action/ObjectRecognitionFeedback.cs | 37 ++++++ .../action/ObjectRecognitionFeedback.cs.meta | 11 ++ .../action/ObjectRecognitionGoal.cs | 65 +++++++++ .../action/ObjectRecognitionGoal.cs.meta | 11 ++ .../action/ObjectRecognitionResult.cs | 47 +++++++ .../action/ObjectRecognitionResult.cs.meta | 11 ++ .../ObjectRecognition/msg.meta | 8 ++ .../msg/ObjectInformation.cs | 68 ++++++++++ .../msg/ObjectInformation.cs.meta | 11 ++ .../ObjectRecognition/msg/ObjectType.cs | 79 +++++++++++ .../ObjectRecognition/msg/ObjectType.cs.meta | 11 ++ .../ObjectRecognition/msg/RecognizedObject.cs | 125 ++++++++++++++++++ .../msg/RecognizedObject.cs.meta | 11 ++ .../msg/RecognizedObjectArray.cs | 85 ++++++++++++ .../msg/RecognizedObjectArray.cs.meta | 11 ++ .../ObjectRecognition/msg/Table.cs | 78 +++++++++++ .../ObjectRecognition/msg/Table.cs.meta | 11 ++ .../ObjectRecognition/msg/TableArray.cs | 65 +++++++++ .../ObjectRecognition/msg/TableArray.cs.meta | 11 ++ .../ObjectRecognition/srv.meta | 8 ++ .../srv/GetObjectInformationRequest.cs | 48 +++++++ .../srv/GetObjectInformationRequest.cs.meta | 11 ++ .../srv/GetObjectInformationResponse.cs | 47 +++++++ .../srv/GetObjectInformationResponse.cs.meta | 11 ++ .../Runtime/MessageGeneration/Octomap.meta | 8 ++ .../MessageGeneration/Octomap/msg.meta | 8 ++ .../MessageGeneration/Octomap/msg/Octomap.cs | 91 +++++++++++++ .../Octomap/msg/Octomap.cs.meta | 11 ++ .../Octomap/msg/OctomapWithPose.cs | 62 +++++++++ .../Octomap/msg/OctomapWithPose.cs.meta | 11 ++ .../MessageGeneration/Octomap/srv.meta | 8 ++ .../Octomap/srv/BoundingBoxQueryRequest.cs | 55 ++++++++ .../srv/BoundingBoxQueryRequest.cs.meta | 11 ++ .../Octomap/srv/BoundingBoxQueryResponse.cs | 36 +++++ .../srv/BoundingBoxQueryResponse.cs.meta | 11 ++ .../Octomap/srv/GetOctomapRequest.cs | 37 ++++++ .../Octomap/srv/GetOctomapRequest.cs.meta | 11 ++ .../Octomap/srv/GetOctomapResponse.cs | 46 +++++++ .../Octomap/srv/GetOctomapResponse.cs.meta | 11 ++ .../package.json | 2 +- 50 files changed, 1520 insertions(+), 1 deletion(-) create mode 100644 com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition.meta create mode 100644 com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/action.meta create mode 100644 com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/action/ObjectRecognitionAction.cs create mode 100644 com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/action/ObjectRecognitionAction.cs.meta create mode 100644 com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/action/ObjectRecognitionActionFeedback.cs create mode 100644 com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/action/ObjectRecognitionActionFeedback.cs.meta create mode 100644 com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/action/ObjectRecognitionActionGoal.cs create mode 100644 com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/action/ObjectRecognitionActionGoal.cs.meta create mode 100644 com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/action/ObjectRecognitionActionResult.cs create mode 100644 com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/action/ObjectRecognitionActionResult.cs.meta create mode 100644 com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/action/ObjectRecognitionFeedback.cs create mode 100644 com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/action/ObjectRecognitionFeedback.cs.meta create mode 100644 com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/action/ObjectRecognitionGoal.cs create mode 100644 com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/action/ObjectRecognitionGoal.cs.meta create mode 100644 com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/action/ObjectRecognitionResult.cs create mode 100644 com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/action/ObjectRecognitionResult.cs.meta create mode 100644 com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/msg.meta create mode 100644 com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/msg/ObjectInformation.cs create mode 100644 com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/msg/ObjectInformation.cs.meta create mode 100644 com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/msg/ObjectType.cs create mode 100644 com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/msg/ObjectType.cs.meta create mode 100644 com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/msg/RecognizedObject.cs create mode 100644 com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/msg/RecognizedObject.cs.meta create mode 100644 com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/msg/RecognizedObjectArray.cs create mode 100644 com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/msg/RecognizedObjectArray.cs.meta create mode 100644 com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/msg/Table.cs create mode 100644 com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/msg/Table.cs.meta create mode 100644 com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/msg/TableArray.cs create mode 100644 com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/msg/TableArray.cs.meta create mode 100644 com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/srv.meta create mode 100644 com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/srv/GetObjectInformationRequest.cs create mode 100644 com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/srv/GetObjectInformationRequest.cs.meta create mode 100644 com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/srv/GetObjectInformationResponse.cs create mode 100644 com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/srv/GetObjectInformationResponse.cs.meta create mode 100644 com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/Octomap.meta create mode 100644 com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/Octomap/msg.meta create mode 100644 com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/Octomap/msg/Octomap.cs create mode 100644 com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/Octomap/msg/Octomap.cs.meta create mode 100644 com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/Octomap/msg/OctomapWithPose.cs create mode 100644 com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/Octomap/msg/OctomapWithPose.cs.meta create mode 100644 com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/Octomap/srv.meta create mode 100644 com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/Octomap/srv/BoundingBoxQueryRequest.cs create mode 100644 com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/Octomap/srv/BoundingBoxQueryRequest.cs.meta create mode 100644 com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/Octomap/srv/BoundingBoxQueryResponse.cs create mode 100644 com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/Octomap/srv/BoundingBoxQueryResponse.cs.meta create mode 100644 com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/Octomap/srv/GetOctomapRequest.cs create mode 100644 com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/Octomap/srv/GetOctomapRequest.cs.meta create mode 100644 com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/Octomap/srv/GetOctomapResponse.cs create mode 100644 com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/Octomap/srv/GetOctomapResponse.cs.meta diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition.meta new file mode 100644 index 00000000..60291176 --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 01cb9d60973b4394cae9e64ff3d61b02 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/action.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/action.meta new file mode 100644 index 00000000..b76308f7 --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/action.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: bc19552f59eb33542b264a6b62bb2f0c +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/action/ObjectRecognitionAction.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/action/ObjectRecognitionAction.cs new file mode 100644 index 00000000..5a1cbbcb --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/action/ObjectRecognitionAction.cs @@ -0,0 +1,38 @@ +using System.Collections.Generic; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; + + +namespace RosMessageTypes.ObjectRecognition +{ + public class ObjectRecognitionAction : Action + { + public const string RosMessageName = "object_recognition_msgs-master/ObjectRecognitionAction"; + + public ObjectRecognitionAction() : base() + { + this.action_goal = new ObjectRecognitionActionGoal(); + this.action_result = new ObjectRecognitionActionResult(); + this.action_feedback = new ObjectRecognitionActionFeedback(); + } + + public override List SerializationStatements() + { + var listOfSerializations = new List(); + listOfSerializations.AddRange(this.action_goal.SerializationStatements()); + listOfSerializations.AddRange(this.action_result.SerializationStatements()); + listOfSerializations.AddRange(this.action_feedback.SerializationStatements()); + + return listOfSerializations; + } + + public override int Deserialize(byte[] data, int offset) + { + offset = this.action_goal.Deserialize(data, offset); + offset = this.action_result.Deserialize(data, offset); + offset = this.action_feedback.Deserialize(data, offset); + + return offset; + } + + } +} diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/action/ObjectRecognitionAction.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/action/ObjectRecognitionAction.cs.meta new file mode 100644 index 00000000..91aad84d --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/action/ObjectRecognitionAction.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: e61de1921b1c059449b62c9fff347e84 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/action/ObjectRecognitionActionFeedback.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/action/ObjectRecognitionActionFeedback.cs new file mode 100644 index 00000000..6e9c6179 --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/action/ObjectRecognitionActionFeedback.cs @@ -0,0 +1,41 @@ +using System.Collections.Generic; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; +using RosMessageTypes.Std; +using RosMessageTypes.Actionlib; + +namespace RosMessageTypes.ObjectRecognition +{ + public class ObjectRecognitionActionFeedback : ActionFeedback + { + public const string RosMessageName = "object_recognition_msgs-master/ObjectRecognitionActionFeedback"; + + public ObjectRecognitionActionFeedback() : base() + { + this.feedback = new ObjectRecognitionFeedback(); + } + + public ObjectRecognitionActionFeedback(Header header, GoalStatus status, ObjectRecognitionFeedback feedback) : base(header, status) + { + this.feedback = feedback; + } + public override List SerializationStatements() + { + var listOfSerializations = new List(); + listOfSerializations.AddRange(this.header.SerializationStatements()); + listOfSerializations.AddRange(this.status.SerializationStatements()); + listOfSerializations.AddRange(this.feedback.SerializationStatements()); + + return listOfSerializations; + } + + public override int Deserialize(byte[] data, int offset) + { + offset = this.header.Deserialize(data, offset); + offset = this.status.Deserialize(data, offset); + offset = this.feedback.Deserialize(data, offset); + + return offset; + } + + } +} diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/action/ObjectRecognitionActionFeedback.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/action/ObjectRecognitionActionFeedback.cs.meta new file mode 100644 index 00000000..46dbeb85 --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/action/ObjectRecognitionActionFeedback.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 0883c7bfda3951947a1d2538a8aa18fd +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/action/ObjectRecognitionActionGoal.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/action/ObjectRecognitionActionGoal.cs new file mode 100644 index 00000000..1fa833fa --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/action/ObjectRecognitionActionGoal.cs @@ -0,0 +1,41 @@ +using System.Collections.Generic; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; +using RosMessageTypes.Std; +using RosMessageTypes.Actionlib; + +namespace RosMessageTypes.ObjectRecognition +{ + public class ObjectRecognitionActionGoal : ActionGoal + { + public const string RosMessageName = "object_recognition_msgs-master/ObjectRecognitionActionGoal"; + + public ObjectRecognitionActionGoal() : base() + { + this.goal = new ObjectRecognitionGoal(); + } + + public ObjectRecognitionActionGoal(Header header, GoalID goal_id, ObjectRecognitionGoal goal) : base(header, goal_id) + { + this.goal = goal; + } + public override List SerializationStatements() + { + var listOfSerializations = new List(); + listOfSerializations.AddRange(this.header.SerializationStatements()); + listOfSerializations.AddRange(this.goal_id.SerializationStatements()); + listOfSerializations.AddRange(this.goal.SerializationStatements()); + + return listOfSerializations; + } + + public override int Deserialize(byte[] data, int offset) + { + offset = this.header.Deserialize(data, offset); + offset = this.goal_id.Deserialize(data, offset); + offset = this.goal.Deserialize(data, offset); + + return offset; + } + + } +} diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/action/ObjectRecognitionActionGoal.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/action/ObjectRecognitionActionGoal.cs.meta new file mode 100644 index 00000000..9a4f09b7 --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/action/ObjectRecognitionActionGoal.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: a87856dada76c664b8dc48d3fad5f501 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/action/ObjectRecognitionActionResult.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/action/ObjectRecognitionActionResult.cs new file mode 100644 index 00000000..4bf334df --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/action/ObjectRecognitionActionResult.cs @@ -0,0 +1,41 @@ +using System.Collections.Generic; +using Unity.Robotics.ROSTCPConnector.MessageGeneration; +using RosMessageTypes.Std; +using RosMessageTypes.Actionlib; + +namespace RosMessageTypes.ObjectRecognition +{ + public class ObjectRecognitionActionResult : ActionResult + { + public const string RosMessageName = "object_recognition_msgs-master/ObjectRecognitionActionResult"; + + public ObjectRecognitionActionResult() : base() + { + this.result = new ObjectRecognitionResult(); + } + + public ObjectRecognitionActionResult(Header header, GoalStatus status, ObjectRecognitionResult result) : base(header, status) + { + this.result = result; + } + public override List SerializationStatements() + { + var listOfSerializations = new List(); + listOfSerializations.AddRange(this.header.SerializationStatements()); + listOfSerializations.AddRange(this.status.SerializationStatements()); + listOfSerializations.AddRange(this.result.SerializationStatements()); + + return listOfSerializations; + } + + public override int Deserialize(byte[] data, int offset) + { + offset = this.header.Deserialize(data, offset); + offset = this.status.Deserialize(data, offset); + offset = this.result.Deserialize(data, offset); + + return offset; + } + + } +} diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/action/ObjectRecognitionActionResult.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/action/ObjectRecognitionActionResult.cs.meta new file mode 100644 index 00000000..2403b422 --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/action/ObjectRecognitionActionResult.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 278187536c0163c478b630468753894c +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/action/ObjectRecognitionFeedback.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/action/ObjectRecognitionFeedback.cs new file mode 100644 index 00000000..ae24b36a --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/action/ObjectRecognitionFeedback.cs @@ -0,0 +1,37 @@ +//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.ObjectRecognition +{ + public class ObjectRecognitionFeedback : Message + { + public const string RosMessageName = "object_recognition_msgs-master/ObjectRecognition"; + + // no feedback + + public ObjectRecognitionFeedback() + { + } + public override List SerializationStatements() + { + var listOfSerializations = new List(); + + return listOfSerializations; + } + + public override int Deserialize(byte[] data, int offset) + { + + return offset; + } + + public override string ToString() + { + return "ObjectRecognitionFeedback: "; + } + } +} diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/action/ObjectRecognitionFeedback.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/action/ObjectRecognitionFeedback.cs.meta new file mode 100644 index 00000000..6aaa5dca --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/action/ObjectRecognitionFeedback.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: b5a82160fbed0a24ab784ed5e614498c +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/action/ObjectRecognitionGoal.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/action/ObjectRecognitionGoal.cs new file mode 100644 index 00000000..2e2d4174 --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/action/ObjectRecognitionGoal.cs @@ -0,0 +1,65 @@ +//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.ObjectRecognition +{ + public class ObjectRecognitionGoal : Message + { + public const string RosMessageName = "object_recognition_msgs-master/ObjectRecognition"; + + // Optional ROI to use for the object detection + public bool use_roi; + public float[] filter_limits; + + public ObjectRecognitionGoal() + { + this.use_roi = false; + this.filter_limits = new float[0]; + } + + public ObjectRecognitionGoal(bool use_roi, float[] filter_limits) + { + this.use_roi = use_roi; + this.filter_limits = filter_limits; + } + public override List SerializationStatements() + { + var listOfSerializations = new List(); + listOfSerializations.Add(BitConverter.GetBytes(this.use_roi)); + + listOfSerializations.Add(BitConverter.GetBytes(filter_limits.Length)); + foreach(var entry in filter_limits) + listOfSerializations.Add(BitConverter.GetBytes(entry)); + + return listOfSerializations; + } + + public override int Deserialize(byte[] data, int offset) + { + this.use_roi = BitConverter.ToBoolean(data, offset); + offset += 1; + + var filter_limitsArrayLength = DeserializeLength(data, offset); + offset += 4; + this.filter_limits= new float[filter_limitsArrayLength]; + for(var i = 0; i < filter_limitsArrayLength; i++) + { + this.filter_limits[i] = BitConverter.ToSingle(data, offset); + offset += 4; + } + + return offset; + } + + public override string ToString() + { + return "ObjectRecognitionGoal: " + + "\nuse_roi: " + use_roi.ToString() + + "\nfilter_limits: " + System.String.Join(", ", filter_limits.ToList()); + } + } +} diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/action/ObjectRecognitionGoal.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/action/ObjectRecognitionGoal.cs.meta new file mode 100644 index 00000000..2ba927ef --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/action/ObjectRecognitionGoal.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 9726adc74031c6644ab51ff57f1da2c5 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/action/ObjectRecognitionResult.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/action/ObjectRecognitionResult.cs new file mode 100644 index 00000000..f75b67ac --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/action/ObjectRecognitionResult.cs @@ -0,0 +1,47 @@ +//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.ObjectRecognition +{ + public class ObjectRecognitionResult : Message + { + public const string RosMessageName = "object_recognition_msgs-master/ObjectRecognition"; + + // Send the found objects, see the msg files for docs + public RecognizedObjectArray recognized_objects; + + public ObjectRecognitionResult() + { + this.recognized_objects = new RecognizedObjectArray(); + } + + public ObjectRecognitionResult(RecognizedObjectArray recognized_objects) + { + this.recognized_objects = recognized_objects; + } + public override List SerializationStatements() + { + var listOfSerializations = new List(); + listOfSerializations.AddRange(recognized_objects.SerializationStatements()); + + return listOfSerializations; + } + + public override int Deserialize(byte[] data, int offset) + { + offset = this.recognized_objects.Deserialize(data, offset); + + return offset; + } + + public override string ToString() + { + return "ObjectRecognitionResult: " + + "\nrecognized_objects: " + recognized_objects.ToString(); + } + } +} diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/action/ObjectRecognitionResult.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/action/ObjectRecognitionResult.cs.meta new file mode 100644 index 00000000..c8ec30cb --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/action/ObjectRecognitionResult.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 9ca95f436d8a5b046b3b5502b69814ce +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/msg.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/msg.meta new file mode 100644 index 00000000..f977df94 --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/msg.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: caeb777ca0e45a94cae6398e5c738541 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/msg/ObjectInformation.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/msg/ObjectInformation.cs new file mode 100644 index 00000000..7e84e674 --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/msg/ObjectInformation.cs @@ -0,0 +1,68 @@ +//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.ObjectRecognition +{ + public class ObjectInformation : Message + { + public const string RosMessageName = "object_recognition_msgs/ObjectInformation"; + + // ############################################# VISUALIZATION INFO ###################################################### + // ################## THIS INFO SHOULD BE OBTAINED INDEPENDENTLY FROM THE CORE, LIKE IN AN RVIZ PLUGIN ################### + // The human readable name of the object + public string name; + // The full mesh of the object: this can be useful for display purposes, augmented reality ... but it can be big + // Make sure the type is MESH + public Shape.Mesh ground_truth_mesh; + // Sometimes, you only have a cloud in the DB + // Make sure the type is POINTS + public Sensor.PointCloud2 ground_truth_point_cloud; + + public ObjectInformation() + { + this.name = ""; + this.ground_truth_mesh = new Shape.Mesh(); + this.ground_truth_point_cloud = new Sensor.PointCloud2(); + } + + public ObjectInformation(string name, Shape.Mesh ground_truth_mesh, Sensor.PointCloud2 ground_truth_point_cloud) + { + this.name = name; + this.ground_truth_mesh = ground_truth_mesh; + this.ground_truth_point_cloud = ground_truth_point_cloud; + } + public override List SerializationStatements() + { + var listOfSerializations = new List(); + listOfSerializations.Add(SerializeString(this.name)); + listOfSerializations.AddRange(ground_truth_mesh.SerializationStatements()); + listOfSerializations.AddRange(ground_truth_point_cloud.SerializationStatements()); + + return listOfSerializations; + } + + public override int Deserialize(byte[] data, int offset) + { + var nameStringBytesLength = DeserializeLength(data, offset); + offset += 4; + this.name = DeserializeString(data, offset, nameStringBytesLength); + offset += nameStringBytesLength; + offset = this.ground_truth_mesh.Deserialize(data, offset); + offset = this.ground_truth_point_cloud.Deserialize(data, offset); + + return offset; + } + + public override string ToString() + { + return "ObjectInformation: " + + "\nname: " + name.ToString() + + "\nground_truth_mesh: " + ground_truth_mesh.ToString() + + "\nground_truth_point_cloud: " + ground_truth_point_cloud.ToString(); + } + } +} diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/msg/ObjectInformation.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/msg/ObjectInformation.cs.meta new file mode 100644 index 00000000..dec7532f --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/msg/ObjectInformation.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: f6e6b4e6f3567824ea359c48d401bff1 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/msg/ObjectType.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/msg/ObjectType.cs new file mode 100644 index 00000000..2d6bcce2 --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/msg/ObjectType.cs @@ -0,0 +1,79 @@ +//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.ObjectRecognition +{ + public class ObjectType : Message + { + public const string RosMessageName = "object_recognition_msgs/ObjectType"; + + // ################################################# OBJECT ID ######################################################### + // Contains information about the type of a found object. Those two sets of parameters together uniquely define an + // object + // The key of the found object: the unique identifier in the given db + public string key; + // The db parameters stored as a JSON/compressed YAML string. An object id does not make sense without the corresponding + // database. E.g., in object_recognition, it can look like: "{'type':'CouchDB', 'root':'http://localhost'}" + // There is no conventional format for those parameters and it's nice to keep that flexibility. + // The object_recognition_core as a generic DB type that can read those fields + // Current examples: + // For CouchDB: + // type: 'CouchDB' + // root: 'http://localhost:5984' + // collection: 'object_recognition' + // For SQL household database: + // type: 'SqlHousehold' + // host: 'wgs36' + // port: 5432 + // user: 'willow' + // password: 'willow' + // name: 'household_objects' + // module: 'tabletop' + public string db; + + public ObjectType() + { + this.key = ""; + this.db = ""; + } + + public ObjectType(string key, string db) + { + this.key = key; + this.db = db; + } + public override List SerializationStatements() + { + var listOfSerializations = new List(); + listOfSerializations.Add(SerializeString(this.key)); + listOfSerializations.Add(SerializeString(this.db)); + + return listOfSerializations; + } + + public override int Deserialize(byte[] data, int offset) + { + var keyStringBytesLength = DeserializeLength(data, offset); + offset += 4; + this.key = DeserializeString(data, offset, keyStringBytesLength); + offset += keyStringBytesLength; + var dbStringBytesLength = DeserializeLength(data, offset); + offset += 4; + this.db = DeserializeString(data, offset, dbStringBytesLength); + offset += dbStringBytesLength; + + return offset; + } + + public override string ToString() + { + return "ObjectType: " + + "\nkey: " + key.ToString() + + "\ndb: " + db.ToString(); + } + } +} diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/msg/ObjectType.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/msg/ObjectType.cs.meta new file mode 100644 index 00000000..3c6da051 --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/msg/ObjectType.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 5ebcdcd4b6109704f930996b4aafc7b9 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/msg/RecognizedObject.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/msg/RecognizedObject.cs new file mode 100644 index 00000000..7ac16896 --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/msg/RecognizedObject.cs @@ -0,0 +1,125 @@ +//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; +using RosMessageTypes.Std; + +namespace RosMessageTypes.ObjectRecognition +{ + public class RecognizedObject : Message + { + public const string RosMessageName = "object_recognition_msgs/RecognizedObject"; + + // #################################################### HEADER ########################################################### + // The header frame corresponds to the pose frame, NOT the point_cloud frame. + public Header header; + // ################################################# OBJECT INFO ######################################################### + // Contains information about the type and the position of a found object + // Some of those fields might not be filled because the used techniques do not fill them or because the user does not + // request them + // The type of the found object + public ObjectType type; + // confidence: how sure you are it is that object and not another one. + // It is between 0 and 1 and the closer to one it is the better + public float confidence; + // ############################################### OBJECT CLUSTERS ####################################################### + // Sometimes you can extract the 3d points that belong to the object, in the frames of the original sensors + // (it is an array as you might have several sensors) + public Sensor.PointCloud2[] point_clouds; + // Sometimes, you can only provide a bounding box/shape, even in 3d + // This is in the pose frame + public Shape.Mesh bounding_mesh; + // Sometimes, you only have 2d input so you can't really give a pose, you just get a contour, or a box + // The last point will be linked to the first one automatically + public Geometry.Point[] bounding_contours; + // ################################################### POSE INFO ######################################################### + // This is the result that everybody expects : the pose in some frame given with the input. The units are radian/meters + // as usual + public Geometry.PoseWithCovarianceStamped pose; + + public RecognizedObject() + { + this.header = new Header(); + this.type = new ObjectType(); + this.confidence = 0.0f; + this.point_clouds = new Sensor.PointCloud2[0]; + this.bounding_mesh = new Shape.Mesh(); + this.bounding_contours = new Geometry.Point[0]; + this.pose = new Geometry.PoseWithCovarianceStamped(); + } + + public RecognizedObject(Header header, ObjectType type, float confidence, Sensor.PointCloud2[] point_clouds, Shape.Mesh bounding_mesh, Geometry.Point[] bounding_contours, Geometry.PoseWithCovarianceStamped pose) + { + this.header = header; + this.type = type; + this.confidence = confidence; + this.point_clouds = point_clouds; + this.bounding_mesh = bounding_mesh; + this.bounding_contours = bounding_contours; + this.pose = pose; + } + public override List SerializationStatements() + { + var listOfSerializations = new List(); + listOfSerializations.AddRange(header.SerializationStatements()); + listOfSerializations.AddRange(type.SerializationStatements()); + listOfSerializations.Add(BitConverter.GetBytes(this.confidence)); + + listOfSerializations.Add(BitConverter.GetBytes(point_clouds.Length)); + foreach(var entry in point_clouds) + listOfSerializations.Add(entry.Serialize()); + listOfSerializations.AddRange(bounding_mesh.SerializationStatements()); + + listOfSerializations.Add(BitConverter.GetBytes(bounding_contours.Length)); + foreach(var entry in bounding_contours) + listOfSerializations.Add(entry.Serialize()); + listOfSerializations.AddRange(pose.SerializationStatements()); + + return listOfSerializations; + } + + public override int Deserialize(byte[] data, int offset) + { + offset = this.header.Deserialize(data, offset); + offset = this.type.Deserialize(data, offset); + this.confidence = BitConverter.ToSingle(data, offset); + offset += 4; + + var point_cloudsArrayLength = DeserializeLength(data, offset); + offset += 4; + this.point_clouds= new Sensor.PointCloud2[point_cloudsArrayLength]; + for(var i = 0; i < point_cloudsArrayLength; i++) + { + this.point_clouds[i] = new Sensor.PointCloud2(); + offset = this.point_clouds[i].Deserialize(data, offset); + } + offset = this.bounding_mesh.Deserialize(data, offset); + + var bounding_contoursArrayLength = DeserializeLength(data, offset); + offset += 4; + this.bounding_contours= new Geometry.Point[bounding_contoursArrayLength]; + for(var i = 0; i < bounding_contoursArrayLength; i++) + { + this.bounding_contours[i] = new Geometry.Point(); + offset = this.bounding_contours[i].Deserialize(data, offset); + } + offset = this.pose.Deserialize(data, offset); + + return offset; + } + + public override string ToString() + { + return "RecognizedObject: " + + "\nheader: " + header.ToString() + + "\ntype: " + type.ToString() + + "\nconfidence: " + confidence.ToString() + + "\npoint_clouds: " + System.String.Join(", ", point_clouds.ToList()) + + "\nbounding_mesh: " + bounding_mesh.ToString() + + "\nbounding_contours: " + System.String.Join(", ", bounding_contours.ToList()) + + "\npose: " + pose.ToString(); + } + } +} diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/msg/RecognizedObject.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/msg/RecognizedObject.cs.meta new file mode 100644 index 00000000..09879242 --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/msg/RecognizedObject.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 01f984cc5e0aeb042aa5f7b43b252a46 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/msg/RecognizedObjectArray.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/msg/RecognizedObjectArray.cs new file mode 100644 index 00000000..aab285fc --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/msg/RecognizedObjectArray.cs @@ -0,0 +1,85 @@ +//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; +using RosMessageTypes.Std; + +namespace RosMessageTypes.ObjectRecognition +{ + public class RecognizedObjectArray : Message + { + public const string RosMessageName = "object_recognition_msgs/RecognizedObjectArray"; + + // #################################################### HEADER ########################################################### + public Header header; + // This message type describes a potential scene configuration: a set of objects that can explain the scene + public RecognizedObject[] objects; + // #################################################### SEARCH ########################################################### + // The co-occurrence matrix between the recognized objects + public float[] cooccurrence; + + public RecognizedObjectArray() + { + this.header = new Header(); + this.objects = new RecognizedObject[0]; + this.cooccurrence = new float[0]; + } + + public RecognizedObjectArray(Header header, RecognizedObject[] objects, float[] cooccurrence) + { + this.header = header; + this.objects = objects; + this.cooccurrence = cooccurrence; + } + public override List SerializationStatements() + { + var listOfSerializations = new List(); + listOfSerializations.AddRange(header.SerializationStatements()); + + listOfSerializations.Add(BitConverter.GetBytes(objects.Length)); + foreach(var entry in objects) + listOfSerializations.Add(entry.Serialize()); + + listOfSerializations.Add(BitConverter.GetBytes(cooccurrence.Length)); + foreach(var entry in cooccurrence) + listOfSerializations.Add(BitConverter.GetBytes(entry)); + + return listOfSerializations; + } + + public override int Deserialize(byte[] data, int offset) + { + offset = this.header.Deserialize(data, offset); + + var objectsArrayLength = DeserializeLength(data, offset); + offset += 4; + this.objects= new RecognizedObject[objectsArrayLength]; + for(var i = 0; i < objectsArrayLength; i++) + { + this.objects[i] = new RecognizedObject(); + offset = this.objects[i].Deserialize(data, offset); + } + + var cooccurrenceArrayLength = DeserializeLength(data, offset); + offset += 4; + this.cooccurrence= new float[cooccurrenceArrayLength]; + for(var i = 0; i < cooccurrenceArrayLength; i++) + { + this.cooccurrence[i] = BitConverter.ToSingle(data, offset); + offset += 4; + } + + return offset; + } + + public override string ToString() + { + return "RecognizedObjectArray: " + + "\nheader: " + header.ToString() + + "\nobjects: " + System.String.Join(", ", objects.ToList()) + + "\ncooccurrence: " + System.String.Join(", ", cooccurrence.ToList()); + } + } +} diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/msg/RecognizedObjectArray.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/msg/RecognizedObjectArray.cs.meta new file mode 100644 index 00000000..bfb9a286 --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/msg/RecognizedObjectArray.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: f348dab18e906b54ba68778e4cd9a5f2 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/msg/Table.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/msg/Table.cs new file mode 100644 index 00000000..08fdaed4 --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/msg/Table.cs @@ -0,0 +1,78 @@ +//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; +using RosMessageTypes.Std; + +namespace RosMessageTypes.ObjectRecognition +{ + public class Table : Message + { + public const string RosMessageName = "object_recognition_msgs/Table"; + + // Informs that a planar table has been detected at a given location + public Header header; + // The pose gives you the transform that take you to the coordinate system + // of the table, with the origin somewhere in the table plane and the + // z axis normal to the plane + public Geometry.Pose pose; + // There is no guarantee that the table does NOT extend further than the + // convex hull; this is just as far as we've observed it. + // The origin of the table coordinate system is inside the convex hull + // Set of points forming the convex hull of the table + public Geometry.Point[] convex_hull; + + public Table() + { + this.header = new Header(); + this.pose = new Geometry.Pose(); + this.convex_hull = new Geometry.Point[0]; + } + + public Table(Header header, Geometry.Pose pose, Geometry.Point[] convex_hull) + { + this.header = header; + this.pose = pose; + this.convex_hull = convex_hull; + } + public override List SerializationStatements() + { + var listOfSerializations = new List(); + listOfSerializations.AddRange(header.SerializationStatements()); + listOfSerializations.AddRange(pose.SerializationStatements()); + + listOfSerializations.Add(BitConverter.GetBytes(convex_hull.Length)); + foreach(var entry in convex_hull) + listOfSerializations.Add(entry.Serialize()); + + return listOfSerializations; + } + + public override int Deserialize(byte[] data, int offset) + { + offset = this.header.Deserialize(data, offset); + offset = this.pose.Deserialize(data, offset); + + var convex_hullArrayLength = DeserializeLength(data, offset); + offset += 4; + this.convex_hull= new Geometry.Point[convex_hullArrayLength]; + for(var i = 0; i < convex_hullArrayLength; i++) + { + this.convex_hull[i] = new Geometry.Point(); + offset = this.convex_hull[i].Deserialize(data, offset); + } + + return offset; + } + + public override string ToString() + { + return "Table: " + + "\nheader: " + header.ToString() + + "\npose: " + pose.ToString() + + "\nconvex_hull: " + System.String.Join(", ", convex_hull.ToList()); + } + } +} diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/msg/Table.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/msg/Table.cs.meta new file mode 100644 index 00000000..5b977dbc --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/msg/Table.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 2b4c1e64be313e242a4042f2109f26e6 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/msg/TableArray.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/msg/TableArray.cs new file mode 100644 index 00000000..f966731c --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/msg/TableArray.cs @@ -0,0 +1,65 @@ +//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; +using RosMessageTypes.Std; + +namespace RosMessageTypes.ObjectRecognition +{ + public class TableArray : Message + { + public const string RosMessageName = "object_recognition_msgs/TableArray"; + + public Header header; + // Just an array of tables + public Table[] tables; + + public TableArray() + { + this.header = new Header(); + this.tables = new Table[0]; + } + + public TableArray(Header header, Table[] tables) + { + this.header = header; + this.tables = tables; + } + public override List SerializationStatements() + { + var listOfSerializations = new List(); + listOfSerializations.AddRange(header.SerializationStatements()); + + listOfSerializations.Add(BitConverter.GetBytes(tables.Length)); + foreach(var entry in tables) + listOfSerializations.Add(entry.Serialize()); + + return listOfSerializations; + } + + public override int Deserialize(byte[] data, int offset) + { + offset = this.header.Deserialize(data, offset); + + var tablesArrayLength = DeserializeLength(data, offset); + offset += 4; + this.tables= new Table[tablesArrayLength]; + for(var i = 0; i < tablesArrayLength; i++) + { + this.tables[i] = new Table(); + offset = this.tables[i].Deserialize(data, offset); + } + + return offset; + } + + public override string ToString() + { + return "TableArray: " + + "\nheader: " + header.ToString() + + "\ntables: " + System.String.Join(", ", tables.ToList()); + } + } +} diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/msg/TableArray.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/msg/TableArray.cs.meta new file mode 100644 index 00000000..51a8ecff --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/msg/TableArray.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 2b4e718172f4e2b458d34fa363961729 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/srv.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/srv.meta new file mode 100644 index 00000000..ada50313 --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/srv.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 307686744e5d1b74d9966dcb6d9efee5 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/srv/GetObjectInformationRequest.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/srv/GetObjectInformationRequest.cs new file mode 100644 index 00000000..d2f059a2 --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/srv/GetObjectInformationRequest.cs @@ -0,0 +1,48 @@ +//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.ObjectRecognition +{ + public class GetObjectInformationRequest : Message + { + public const string RosMessageName = "object_recognition_msgs-master/GetObjectInformation"; + + // Retrieve extra data from the DB for a given object + // The type of the object to retrieve info from + public ObjectType type; + + public GetObjectInformationRequest() + { + this.type = new ObjectType(); + } + + public GetObjectInformationRequest(ObjectType type) + { + this.type = type; + } + public override List SerializationStatements() + { + var listOfSerializations = new List(); + listOfSerializations.AddRange(type.SerializationStatements()); + + return listOfSerializations; + } + + public override int Deserialize(byte[] data, int offset) + { + offset = this.type.Deserialize(data, offset); + + return offset; + } + + public override string ToString() + { + return "GetObjectInformationRequest: " + + "\ntype: " + type.ToString(); + } + } +} diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/srv/GetObjectInformationRequest.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/srv/GetObjectInformationRequest.cs.meta new file mode 100644 index 00000000..92956d2a --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/srv/GetObjectInformationRequest.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 462e45ec29977774496e42d04c7e5360 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/srv/GetObjectInformationResponse.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/srv/GetObjectInformationResponse.cs new file mode 100644 index 00000000..6553380a --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/srv/GetObjectInformationResponse.cs @@ -0,0 +1,47 @@ +//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.ObjectRecognition +{ + public class GetObjectInformationResponse : Message + { + public const string RosMessageName = "object_recognition_msgs-master/GetObjectInformation"; + + // Extra object info + public ObjectInformation information; + + public GetObjectInformationResponse() + { + this.information = new ObjectInformation(); + } + + public GetObjectInformationResponse(ObjectInformation information) + { + this.information = information; + } + public override List SerializationStatements() + { + var listOfSerializations = new List(); + listOfSerializations.AddRange(information.SerializationStatements()); + + return listOfSerializations; + } + + public override int Deserialize(byte[] data, int offset) + { + offset = this.information.Deserialize(data, offset); + + return offset; + } + + public override string ToString() + { + return "GetObjectInformationResponse: " + + "\ninformation: " + information.ToString(); + } + } +} diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/srv/GetObjectInformationResponse.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/srv/GetObjectInformationResponse.cs.meta new file mode 100644 index 00000000..5db76116 --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/ObjectRecognition/srv/GetObjectInformationResponse.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 76e19d706765ee848b73d0d6feae1c1e +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/Octomap.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/Octomap.meta new file mode 100644 index 00000000..f32696ed --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/Octomap.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: dae10f42cf3074a4bb9bd5a0afa66528 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/Octomap/msg.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/Octomap/msg.meta new file mode 100644 index 00000000..eb5a8f06 --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/Octomap/msg.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 0eba4428046e55c40aa2fe8282863270 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/Octomap/msg/Octomap.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/Octomap/msg/Octomap.cs new file mode 100644 index 00000000..ddba445b --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/Octomap/msg/Octomap.cs @@ -0,0 +1,91 @@ +//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; +using RosMessageTypes.Std; + +namespace RosMessageTypes.Octomap +{ + public class Octomap : Message + { + public const string RosMessageName = "octomap_msgs/Octomap"; + + // A 3D map in binary format, as Octree + public Header header; + // Flag to denote a binary (only free/occupied) or full occupancy octree (.bt/.ot file) + public bool binary; + // Class id of the contained octree + public string id; + // Resolution (in m) of the smallest octree nodes + public double resolution; + // binary serialization of octree, use conversions.h to read and write octrees + public sbyte[] data; + + public Octomap() + { + this.header = new Header(); + this.binary = false; + this.id = ""; + this.resolution = 0.0; + this.data = new sbyte[0]; + } + + public Octomap(Header header, bool binary, string id, double resolution, sbyte[] data) + { + this.header = header; + this.binary = binary; + this.id = id; + this.resolution = resolution; + this.data = data; + } + public override List SerializationStatements() + { + var listOfSerializations = new List(); + listOfSerializations.AddRange(header.SerializationStatements()); + listOfSerializations.Add(BitConverter.GetBytes(this.binary)); + listOfSerializations.Add(SerializeString(this.id)); + listOfSerializations.Add(BitConverter.GetBytes(this.resolution)); + + listOfSerializations.Add(BitConverter.GetBytes(data.Length)); + listOfSerializations.Add((byte[]) (Array)this.data); + + return listOfSerializations; + } + + public override int Deserialize(byte[] data, int offset) + { + offset = this.header.Deserialize(data, offset); + this.binary = BitConverter.ToBoolean(data, offset); + offset += 1; + var idStringBytesLength = DeserializeLength(data, offset); + offset += 4; + this.id = DeserializeString(data, offset, idStringBytesLength); + offset += idStringBytesLength; + this.resolution = BitConverter.ToDouble(data, offset); + offset += 8; + + var dataArrayLength = DeserializeLength(data, offset); + offset += 4; + this.data= new sbyte[dataArrayLength]; + for(var i = 0; i < dataArrayLength; i++) + { + this.data[i] = (sbyte)data[offset]; + offset += 1; + } + + return offset; + } + + public override string ToString() + { + return "Octomap: " + + "\nheader: " + header.ToString() + + "\nbinary: " + binary.ToString() + + "\nid: " + id.ToString() + + "\nresolution: " + resolution.ToString() + + "\ndata: " + System.String.Join(", ", data.ToList()); + } + } +} diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/Octomap/msg/Octomap.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/Octomap/msg/Octomap.cs.meta new file mode 100644 index 00000000..1ae350f1 --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/Octomap/msg/Octomap.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 958d8b1c565c7c84e99db81e3104a336 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/Octomap/msg/OctomapWithPose.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/Octomap/msg/OctomapWithPose.cs new file mode 100644 index 00000000..f1da58a2 --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/Octomap/msg/OctomapWithPose.cs @@ -0,0 +1,62 @@ +//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; +using RosMessageTypes.Std; + +namespace RosMessageTypes.Octomap +{ + public class OctomapWithPose : Message + { + public const string RosMessageName = "octomap_msgs/OctomapWithPose"; + + // A 3D map in binary format, as Octree + public Header header; + // The pose of the octree with respect to the header frame + public Geometry.Pose origin; + // The actual octree msg + public Octomap octomap; + + public OctomapWithPose() + { + this.header = new Header(); + this.origin = new Geometry.Pose(); + this.octomap = new Octomap(); + } + + public OctomapWithPose(Header header, Geometry.Pose origin, Octomap octomap) + { + this.header = header; + this.origin = origin; + this.octomap = octomap; + } + public override List SerializationStatements() + { + var listOfSerializations = new List(); + listOfSerializations.AddRange(header.SerializationStatements()); + listOfSerializations.AddRange(origin.SerializationStatements()); + listOfSerializations.AddRange(octomap.SerializationStatements()); + + return listOfSerializations; + } + + public override int Deserialize(byte[] data, int offset) + { + offset = this.header.Deserialize(data, offset); + offset = this.origin.Deserialize(data, offset); + offset = this.octomap.Deserialize(data, offset); + + return offset; + } + + public override string ToString() + { + return "OctomapWithPose: " + + "\nheader: " + header.ToString() + + "\norigin: " + origin.ToString() + + "\noctomap: " + octomap.ToString(); + } + } +} diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/Octomap/msg/OctomapWithPose.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/Octomap/msg/OctomapWithPose.cs.meta new file mode 100644 index 00000000..82d4d64d --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/Octomap/msg/OctomapWithPose.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 4f1a808b1c5bdba43bbb5b667cf8729e +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/Octomap/srv.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/Octomap/srv.meta new file mode 100644 index 00000000..1cd7ad5b --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/Octomap/srv.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 983d85a1b0c8af04d925125bf4a46d1b +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/Octomap/srv/BoundingBoxQueryRequest.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/Octomap/srv/BoundingBoxQueryRequest.cs new file mode 100644 index 00000000..bcc94a9d --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/Octomap/srv/BoundingBoxQueryRequest.cs @@ -0,0 +1,55 @@ +//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.Octomap +{ + public class BoundingBoxQueryRequest : Message + { + public const string RosMessageName = "octomap_msgs-melodic-devel/BoundingBoxQuery"; + + // Clear a region specified by a global axis-aligned bounding box in stored OctoMap + // minimum corner point of axis-aligned bounding box in global frame + public Geometry.Point min; + // maximum corner point of axis-aligned bounding box in global frame + public Geometry.Point max; + + public BoundingBoxQueryRequest() + { + this.min = new Geometry.Point(); + this.max = new Geometry.Point(); + } + + public BoundingBoxQueryRequest(Geometry.Point min, Geometry.Point max) + { + this.min = min; + this.max = max; + } + public override List SerializationStatements() + { + var listOfSerializations = new List(); + listOfSerializations.AddRange(min.SerializationStatements()); + listOfSerializations.AddRange(max.SerializationStatements()); + + return listOfSerializations; + } + + public override int Deserialize(byte[] data, int offset) + { + offset = this.min.Deserialize(data, offset); + offset = this.max.Deserialize(data, offset); + + return offset; + } + + public override string ToString() + { + return "BoundingBoxQueryRequest: " + + "\nmin: " + min.ToString() + + "\nmax: " + max.ToString(); + } + } +} diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/Octomap/srv/BoundingBoxQueryRequest.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/Octomap/srv/BoundingBoxQueryRequest.cs.meta new file mode 100644 index 00000000..ca86d975 --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/Octomap/srv/BoundingBoxQueryRequest.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 1cde46af86ce7124e9b8878cdf11980f +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/Octomap/srv/BoundingBoxQueryResponse.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/Octomap/srv/BoundingBoxQueryResponse.cs new file mode 100644 index 00000000..5880acc0 --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/Octomap/srv/BoundingBoxQueryResponse.cs @@ -0,0 +1,36 @@ +//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.Octomap +{ + public class BoundingBoxQueryResponse : Message + { + public const string RosMessageName = "octomap_msgs-melodic-devel/BoundingBoxQuery"; + + + public BoundingBoxQueryResponse() + { + } + public override List SerializationStatements() + { + var listOfSerializations = new List(); + + return listOfSerializations; + } + + public override int Deserialize(byte[] data, int offset) + { + + return offset; + } + + public override string ToString() + { + return "BoundingBoxQueryResponse: "; + } + } +} diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/Octomap/srv/BoundingBoxQueryResponse.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/Octomap/srv/BoundingBoxQueryResponse.cs.meta new file mode 100644 index 00000000..f4b999f8 --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/Octomap/srv/BoundingBoxQueryResponse.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 1d76ee97d5e0f66488f312c09f4a3e0e +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/Octomap/srv/GetOctomapRequest.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/Octomap/srv/GetOctomapRequest.cs new file mode 100644 index 00000000..4386e87a --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/Octomap/srv/GetOctomapRequest.cs @@ -0,0 +1,37 @@ +//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.Octomap +{ + public class GetOctomapRequest : Message + { + public const string RosMessageName = "octomap_msgs-melodic-devel/GetOctomap"; + + // Get the map as a octomap + + public GetOctomapRequest() + { + } + public override List SerializationStatements() + { + var listOfSerializations = new List(); + + return listOfSerializations; + } + + public override int Deserialize(byte[] data, int offset) + { + + return offset; + } + + public override string ToString() + { + return "GetOctomapRequest: "; + } + } +} diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/Octomap/srv/GetOctomapRequest.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/Octomap/srv/GetOctomapRequest.cs.meta new file mode 100644 index 00000000..603c1771 --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/Octomap/srv/GetOctomapRequest.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: df1f0b35ab873484c99405fbe4f84f79 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/Octomap/srv/GetOctomapResponse.cs b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/Octomap/srv/GetOctomapResponse.cs new file mode 100644 index 00000000..046f63b6 --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/Octomap/srv/GetOctomapResponse.cs @@ -0,0 +1,46 @@ +//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.Octomap +{ + public class GetOctomapResponse : Message + { + public const string RosMessageName = "octomap_msgs-melodic-devel/GetOctomap"; + + public Octomap map; + + public GetOctomapResponse() + { + this.map = new Octomap(); + } + + public GetOctomapResponse(Octomap map) + { + this.map = map; + } + public override List SerializationStatements() + { + var listOfSerializations = new List(); + listOfSerializations.AddRange(map.SerializationStatements()); + + return listOfSerializations; + } + + public override int Deserialize(byte[] data, int offset) + { + offset = this.map.Deserialize(data, offset); + + return offset; + } + + public override string ToString() + { + return "GetOctomapResponse: " + + "\nmap: " + map.ToString(); + } + } +} diff --git a/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/Octomap/srv/GetOctomapResponse.cs.meta b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/Octomap/srv/GetOctomapResponse.cs.meta new file mode 100644 index 00000000..b026fe86 --- /dev/null +++ b/com.unity.robotics.ros-tcp-connector/Runtime/MessageGeneration/Octomap/srv/GetOctomapResponse.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: b72c060bef260e246a052b11de58a7d8 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/com.unity.robotics.ros-tcp-connector/package.json b/com.unity.robotics.ros-tcp-connector/package.json index 09e1ab4c..d121f87a 100644 --- a/com.unity.robotics.ros-tcp-connector/package.json +++ b/com.unity.robotics.ros-tcp-connector/package.json @@ -1,6 +1,6 @@ { "name": "com.unity.robotics.ros-tcp-connector", - "version": "0.1.2-preview", + "version": "0.2.0-preview", "displayName": "ROS TCP Connector", "description": "Bridge components and message generation allowing Unity to communicate with ROS services", "unity": "2020.2",