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 | Q&A answers.ros.org |
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...
Please start posting anonymously - your entry will be published after you log in or create a new account.
Asked: 2014-01-28 10:25:19 -0500
Seen: 12,285 times
Last updated: Oct 13 '17
Is it stupid to use unbounded dynamic arrays in ROS2 perforamnce test?
Is it possible to use ROS controllers in Unity
Unity Mavros client disconnects automatically
how to control the joints of my infant 3d model in unity with ROS?
Display RVIZ in HTC Vive Pro on Windows 10
UM7 external IMU integration with robot_localization
How to use Unity with ROS kinetic?
How to add a tool model onto the robot model which can be generated in the moveit
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.