浏览代码

Update for ROS-TCP-Connector namespace changes

/devin-main-fix
GitHub 4 年前
当前提交
9c008abd
共有 7 个文件被更改,包括 10 次插入15 次删除
  1. 3
      tutorials/pick_and_place/PickAndPlaceProject/Assets/DemoScripts/Demo.cs
  2. 2
      tutorials/pick_and_place/PickAndPlaceProject/Packages/manifest.json
  3. 5
      tutorials/pick_and_place/Scripts/SourceDestinationPublisher.cs
  4. 9
      tutorials/pick_and_place/Scripts/TrajectoryPlanner.cs
  5. 2
      tutorials/ros_unity_integration/unity_scripts/RosPublisherExample.cs
  6. 3
      tutorials/ros_unity_integration/unity_scripts/RosServiceExample.cs
  7. 1
      tutorials/ros_unity_integration/unity_scripts/RosSubscriberExample.cs

3
tutorials/pick_and_place/PickAndPlaceProject/Assets/DemoScripts/Demo.cs


#if UNITY_EDITOR
using Microsoft.CSharp;
using RosMessageGeneration;
using RosSharp;
using RosSharp.Control;
using RosSharp.Urdf.Editor;

using System.Text;
using UnityEditor;
using UnityEngine;
using Unity.Robotics.ROSTCPConnector;
using Unity.Robotics.ROSTCPConnector.MessageGeneration;
public class Demo : MonoBehaviour
{

2
tutorials/pick_and_place/PickAndPlaceProject/Packages/manifest.json


"com.unity.ide.rider": "2.0.7",
"com.unity.ide.visualstudio": "2.0.3",
"com.unity.ide.vscode": "1.2.2",
"com.unity.robotics.ros-tcp-connector": "https://github.com/Unity-Technologies/ROS-TCP-Connector.git?path=/com.unity.robotics.ros-tcp-connector#0b7ddbf36a13fbd47a0aeead062f0f57271b7e96",
"com.unity.robotics.ros-tcp-connector": "https://github.com/Unity-Technologies/ROS-TCP-Connector.git#v0.1.2",
"com.unity.test-framework": "1.1.18",
"com.unity.textmeshpro": "3.0.1",
"com.unity.timeline": "1.4.3",

5
tutorials/pick_and_place/Scripts/SourceDestinationPublisher.cs


using RosMessageTypes.Geometry;
using ROSGeometry;
using Quaternion = UnityEngine.Quaternion;
using Unity.Robotics.ROSTCPConnector;
using Unity.Robotics.ROSTCPConnector.ROSGeometry;
public class SourceDestinationPublisher : MonoBehaviour
{

9
tutorials/pick_and_place/Scripts/TrajectoryPlanner.cs


using System.Collections;
using System.Linq;
using RosMessageTypes.Geometry;
using ROSGeometry;
using Quaternion = UnityEngine.Quaternion;
using RosImage = RosMessageTypes.Sensor.Image;
using Transform = UnityEngine.Transform;
using Vector3 = UnityEngine.Vector3;
using Unity.Robotics.ROSTCPConnector;
using Unity.Robotics.ROSTCPConnector.ROSGeometry;
public class TrajectoryPlanner : MonoBehaviour

2
tutorials/ros_unity_integration/unity_scripts/RosPublisherExample.cs


using RosMessageTypes.RoboticsDemo;
using UnityEngine;
using Random = UnityEngine.Random;
using Unity.Robotics.ROSTCPConnector;
/// <summary>
///

3
tutorials/ros_unity_integration/unity_scripts/RosServiceExample.cs


using System;
using Debug = UnityEngine.Debug;
using Unity.Robotics.ROSTCPConnector;
public class RosServiceExample : MonoBehaviour
{

1
tutorials/ros_unity_integration/unity_scripts/RosSubscriberExample.cs


using UnityEngine;
using Unity.Robotics.ROSTCPConnector;
using RosColor = RosMessageTypes.RoboticsDemo.UnityColor;
public class RosSubscriberExample : MonoBehaviour

正在加载...
取消
保存