Skip to content

DavidFernandezChaves/ROSUnityCore

Repository files navigation

ROSUnity

This is a library to connect Unity3D and ROS by websocket protocol.

Requirements

Installation

Clone this repository in to the Assets folder of an Unity project:

Method of use

  1. Instantiate a Gameobject with the "ROS" script attached.
  2. Configure this script with the IP and port used by rosbridget.
  3. Call the function "Connect".

Custom setting

  • ROS topic data is received from the "Callback" functions of the classes that implement "ROSBridgeSubscriber" so you can create your own class to access the data you need.
  • In the same way, to publish in a topic it is necessary to create a class that implements "ROSBridgePublisher".
  • In the package you can find some examples to start from in the "topic" folder.

Features

This package adds some utilities to speed up development:

  • TfManaguer: A system that synchronizes the ROS Tfs tree with the Hierarchy used in Unity. In order to use it, some gameobject must have the TfManaguer script that takes care of the synchronization. For a gameobject to be taken into account in ROS, it is enough to attach the TFNode script.
  • MapConstructor: This system stamps the occupation map used in ROS on a Unity terrain.
  • LaserScaner: Simulates in Unity a laser scanner.

This project comes from ROSBridgeLib.

About

No description, website, or topics provided.

Resources

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
LICENSE.meta

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages