This is a package containing all of the SMARC Unity assets and scripts including vehicles, dynamics, sensors and more.
If you:
I suggest starting with one of the pre-configured projects:
You can find more detailed instructions on using these projects here.
We rely on a few non unity asset store packages, so follow the instructions below to install the package into your project. It might seem like a lot of things to do, but all of the operations can be done in the Unity editor and should not take more than a few minutes.
We recommend using the the Editor Version 2023.1.13f1.
+
button on the upper-left of a window, and select "Add package from git URL..."Add
buttonhttps://github.com/GlitchEnzo/NuGetForUnity.git?path=/src/NuGetForUnity
https://github.com/Unity-Technologies/ROS-TCP-Connector.git?path=/com.unity.robotics.ros-tcp-connector
https://github.com/Unity-Technologies/URDF-Importer.git?path=/com.unity.robotics.urdf-importer
Once you have installed NuGet, install the following packages.
Our codebase is scripted towards ROS 2. You will need to change some default settings to ensure your messages are compiled for ROS 2. The code will work with ROS 1, but you will need to update the scripts to support ROS 1 messages yourself.
Protocol
to "ROS 2"Once all the dependencies are installed and configured, you can install this package using the same method as before.
+
button on the upper-left of a window, and select "Add package from git URL..."Add
buttonhttps://github.com/smarc-project/SMARCUnityAssets