Skip to content

User_Inst_Unity3DOnWindows

Martin Bischoff edited this page Jul 23, 2018 · 9 revisions

1.1 Unity on Windows

Installing Unity

Setting up Unity

  • Start Unity and follow on screen instructions to sign in/create an account
  • Create a new project
  • Import the ROS# asset package by going to Assets > Import Package > Custom Package... and select RosSharp.unitypackage from ros-sharp/Release
  • Select all sources and press Import

Note: Make sure that Unity is using .NET Framework 4.x, since it is required by RosBridgeClient. To do this:

  • In the Unity menu, go to Edit > Project Settings > Player.
  • In the Inspector pane, look under Other Settings > Configuration.
  • Set Scripting Runtime Version* to .Net 4.x Equivalent.

Now RosBridgeClient and UrdfImporter are included in your Unity project. Once the plugins have been loaded, the following new menu items will show up:

  • ROSBridgeClient > Import URDF Assets...
    ROSbridge in Unity
  • GameObject > 3D Object > URDF Model...
    URDF# in Unity
    Furthermore various scripts and GameObjects are now contained in the Assets folder. These accomplish different functionalities explained in these tutorials.
    Assets folder in Unity
Next tutorial: 1.2 Ubuntu on Oracle VM

© Siemens AG, 2017-2018 Author: Verena Röhrl ([email protected])

Clone this wiki locally