Comments (8)
Hi @kkkkkyle,
Thanks for the information. The issue should be caused by Unity's version.
In Unity 2019.4, the UnityEngine.Vector.ToString()
only takes zero or one argument (see API doc here). Starting from Unity 2020.2, the UnityEngine.Vector.ToString()
begins to support two arguments (see API doc here).
In this case, you may need to use 2020.1 or a newer version of Unity. Please let me know if the issue could be resolved in this way.
from unity-robotics-hub.
I too am having this issue on a 20.04 Ubuntu installation running Noetic ROS. My Unity version is 2020.2.5f1
Error message for 1 of 3 is:
[Package Manager Window] Unable to add package [https://github.com/Unity-Technologies/ROS-TCP-Connector.git]:
[https://github.com/Unity-Technologies/ROS-TCP-Connector.git] does not point to a valid package repository. No package manifest was found. Verify the repository URL and make sure the package is located in the root folder of the repository.
UnityEditor.EditorApplication:Internal_CallUpdateFunctions () (at /home/bokken/buildslave/unity/build/Editor/Mono/EditorApplication.cs:327)
from unity-robotics-hub.
I was able to import by cloning the Git library to a local folder and then adding the package via the "Add package from disk..." option. You just have to find the package.json file which is in the com.unity.robotics.ros-tcp-connector folder.
from unity-robotics-hub.
I was able to import by cloning the Git library to a local folder and then adding the package via the "Add package from disk..." option. You just have to find the package.json file which is in the com.unity.robotics.ros-tcp-connector folder.
I believe we encountered a different issue. The error report I had here appeared after I picked the package.json file.
from unity-robotics-hub.
Hi @kkkkkyle, it is great to hear your interest to try the ROS connectors. For your questions, the ROS-TCP-Connector is an independent package from the ROS environment, so you don't have to install ROS before importing the package. We also have tested importing the ROS-TCP-Connector via Package Manager on macOS, and it should work fine.
Would you mind letting us know how you are adding the package through Unity's Package Manager? It would be helpful to identify what went wrong on your mac.
The recommended way to add ROS-TCP-Connector through the Package Manager can be found in this tutorial (ROS-Unity Initial Setup/Unity Scene).
from unity-robotics-hub.
Hi @grahamday266, thank you for your interest to try the ROS connector too. We have updated the path of the Unity package in the ROS-TCP-Connector repository, and the git URL needs to specify the path after the git repository link, e.g. https://github.com/Unity-Technologies/ROS-TCP-Connector.git?path=/com.unity.robotics.ros-tcp-connector. A more detailed instruction can be found on this page.
Please let me know if it still doesn't work for you and we could help to debug and fix the issue.
from unity-robotics-hub.
I previously tried both installing from local and from git url. I just tried again to install it by following the tutorial you shared (1. Create a new scene, 2. use the link to install from git url in Unity's Package Manager), but the same issue appears again.
Here are the two errors:
Library/PackageCache/com.unity.robotics.ros-tcp-connector@2b09bf7e77/Runtime/ROSGeometry/ROSVector3.cs(200,104): error CS1501: No overload for method 'ToString' takes 2 arguments
Library/PackageCache/com.unity.robotics.ros-tcp-connector@2b09bf7e77/Runtime/ROSGeometry/ROSQuaternion.cs(143,95): error CS1501: No overload for method 'ToString' takes 2 arguments
Here are the two warnings:
Library/PackageCache/com.unity.robotics.ros-tcp-connector@2b09bf7e77/Runtime/TcpConnector/ROSConnection.cs(152,24): warning CS0168: The variable 'serviceName' is declared but never used
Library/PackageCache/com.unity.robotics.ros-tcp-connector@2b09bf7e77/Runtime/TcpConnector/HUDPanel.cs(18,14): warning CS0414: The field 'HUDPanel.redrawGUI' is assigned but its value is never used
I'm very new to Unity and C# but I'm guessing it may relate to the compiler for C#? The Unity version I'm using is 2019.4.15f1.
from unity-robotics-hub.
Thank you peifeng. That did solve my issue. Thanks!
from unity-robotics-hub.
Related Issues (20)
- WebGL build HOT 1
- ROS Connection script doesn't work
- Extraction of MessageQueue full via variable Bug in msg getting duplicated.
- Unity doesn't show point cloud
- Project lost when updating Unity Hub
- ERROR: failed to solve: process "/bin/sh -c sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys HOT 2
- I want to use unity to connect to multiple ROS systems, but it doesn't seem to work HOT 3
- Lidar Scan Visualization Inconsistent with Gazebo HOT 1
- unity_robotics_demo_msgs failing for colcon build HOT 3
- "unknown message class 'unity_robotics_demo_msgs/PosRot'"
- failed to deserialize ROS message: Fast CDR exception deserializing message of type std_srvs::srv::dds_::Empty_Response_.
- Continuously connecting and disconnecting while throwing exceptions on server side HOT 1
- RosConnection.Update() spiking to >180ms execution. This thread-blocking causes bad frame spikes when Playing. HOT 2
- error creating docker file:
- ROSConnection.cs:854
- Communicate with the URDF robot model without using ROS
- import robot's urdf without color
- Connected but fast Disconnected and then recurrent both, the terminal info ModuleNotFoundError: No module named 'unity_robotics_demo_msgs.unity_robotics_demo_msgs_s__rosidl_typesupport_c' HOT 3
- ros_unity_integration tf message no module error on docker container setup for both melodic and noetic.
- Ros action implementation
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from unity-robotics-hub.