Assistance for Linux Setup: Setup on Linux
clang and libc++
In order to build the project with RoveComm_CPP, you will need to install the clang compiler and libc++ standard. If you are on a Debian-based system the following bash commands should install them:
sudo apt update
sudo apt install libc++-dev libc++abi-dev clang
Next you will want to install Diversion
here: Diversion. Create an account with whatever email you want to use, and install Diversion following the instructions for your OS. After you have created an account, message the Simulation Lead on Discord that you would like to help contribute as well as your email, and we will get you added to the repository.
Once you are added to the repo, you will want to clone it onto your machine. It is over 40GB, so it may take some time to be fully downloaded on your machine.
After it is cloned, you will want to install the Diversion Unreal Engine Plugin
found here: Unreal Plugin. If you are on Windows, follow the instructions on the plugin’s website to download and add the plugin to UE. If you are on Linux please proceed to this page: Setup on Linux
After everything is downloaded, you should be able to open RoveSoSimulator
on your install of Unreal Engine.
RoveSoSimulator/Saved/Logs/RoveSoSimulator.log
. If you have any errors related to RoveComm
, it can be often fixed by going to RoveSoSimulator/Source/ThirdParty/
, deleting the RoveComm_CPP
folder, and recloning it in the /ThirdParty
folder using git clone --recurse-submodules https://github.com/MissouriMRDT/RoveComm_CPP.git
. If you encounter further issues, let the Simulation Lead know, and we can take a look into the problem.src/AutonomyConstants.cpp
. Find the line that initializes const std::string SIM_IP_ADDRESS
and set the IP to your own IP. You can find your IP by entering ipconfig
into your terminal if you are on Windows and ifconfig
on Linux. We utilize IPv4. If you are on Windows, the IP you should plug in will typically start with 192.168.x.x and will be listed with a default gateway, and on Linux, the IP the adapter will be named something like eth0 or wlan0.You will also want to go into CMakeLists.txt
and on the line that has option(BUILD_SIM_MODE "Enable Simulation Mode" OFF)
change OFF to ON.
Next, if you are running Windows, you will need to modify your .wslconfig file. In your File Explorer (or whatever you use to browse your files), go to C:/Users/
build
directory.mkdir build && cd build
cmake .. && make -j$(nproc)
(nproc is the number of processing units)To start the simulator, follow these steps:
You should now be able to play it normally! To run autonomy, follow the steps below:
./Autonomy_Software_Sim
.If you encounter any issues, let the Simulation Lead know!
Results and logs can be found in the /logs
directory. To analyze data, refer to the provided scripts in the /analysis
folder.