Has anyone integrated ROS with Unity 3d?
You know: www.unity3d.com, runs Mono. Prefer Windows, but understand that Mac might be closer to supportable.
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
You know: www.unity3d.com, runs Mono. Prefer Windows, but understand that Mac might be closer to supportable.
rosbridge
is a great way to make a websocket which can stream data via restful api. You can use rosbridge
to get topics from ROS to unity. I've done this myself but one caveat is that PointCloud2 topics are bugged in indigo to the point that the streaming doesn't work for those types.
Here's a great example to get you started with streaming topics form a kinect: http://wiki.ros.org/ros3djs/Tutorials...
Also, do ingest the data via Unity3d you merely point it at the web service.
We have recently published our ROS-Unity3D Toolbox ROS# on GitHub: https://github.com/siemens/ros-sharp
We use rosbridge_suite on the ROS side and implemented RosBridgeClient in C# (using websocket-sharp and newtonsoft json.net ).
Our toolbox also has a URDF importer for Unity3d which downloads URDF, meshes and textures from ROS and models the robot with all its kinematics in Unity3D.
Not sure if I can ask you elsewhere, so I ask here: I implemented the ros-sharp toolkit in an existing unity project and even set up a new one but got a error compiling the projects. Something with the newsonsoft.json has problems. It could be because we use the hololens toolkit too. Any suggestions
@Demian23 please provide a clear error description so that we can help you.
Problems with ROS#: Please write detailed issues here: https://github.com/siemens/ros-sharp/...
Unity3D, Hololens, Json.NET Problems: https://answers.unity.com/questions/a...
Asked: 2014-01-28 10:25:19 -0500
Seen: 12,551 times
Last updated: Oct 13 '17
Unity Mavros client disconnects automatically
Is it possible to use ROS controllers in Unity
how to control the joints of my infant 3d model in unity with ROS?
Is it stupid to use unbounded dynamic arrays in ROS2 perforamnce test?
A* path planning with ROS and Unity
ROS TCP Connector C# Lost Publishers & Freezing
What kind of integration are you talking about?
Using C# to talk to native, DLL, or websocket, for example. Want to be able to interact with the 3D model of my building to tell robot where to go, have robot tell me where it is and reflect that in the model.
I integrated untiy via DLL + socket conection to player/stage 3 years ago . Was quite a bit of work. Haven't heard any thing about ROS+Unity, would be awesome, though.
Is there anyone who has got his/her hands dirty on that (viz. ROS+Unity3D) ?
http://ieeexplore.ieee.org/xpl/articl...
These guys have done quite a bit in making unity and ROS speak. But sadly, they say nothing about their code.