Coder Social home page Coder Social logo

Comments (4)

hyounesy avatar hyounesy commented on June 22, 2024 2

Hello @Mingrui-Yu . An example for creating a UnityService has been added to the ros_unity_integration tutorials (currently on the #dev branch).
Inorder to use this you need to use the #dev branch of the ROS-TCP-Endpoint on the ROS side and also install the dev branch of ROS-TCP-Connector Unity package.
Please let us know if you had any further questions.

from unity-robotics-hub.

hyounesy avatar hyounesy commented on June 22, 2024

Hi @Mingrui-Yu,
Could you please provide more information on this?
The ROS-Unity integration assume that a ROS server is running outside unity environment, and provide the means to subscribe or publish to ros topics using ROS-TCP-Connector unity package and ROS-TCP-Endpoint ros node.
So, how do you imagine using the Unity as the server? Do you have a specific use case in mind?

from unity-robotics-hub.

Mingrui-Yu avatar Mingrui-Yu commented on June 22, 2024

Thanks for your reply. Sorry that my question is not so clear. I just mean the communication type "service" in ROS, in which Unity component receives a Request message from another ROS node and then sends a Response back.

As in server_endpoint.md, there are "ROS Publisher", " ROS Subscriber", "ROS Service" and "Unity Service", but only the tutorials/examples of the first three are provided in ros_unity_integration/unity_scripts. I'd like to know what is the code to achieve the above "service" communication where Unity component receives a request and then sends a response back. Thanks!

from unity-robotics-hub.

hyounesy avatar hyounesy commented on June 22, 2024

Thanks for the clarification @Mingrui-Yu . I am looking at this now. Will provide you with a example code soon.
[ticket# AIRO-596]

from unity-robotics-hub.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.