This page will guide you through the installation process of the Lab:
- Install Ubuntu 18.04.3 LTS.
https://releases.ubuntu.com/18.04/ orhttps://tutorials.ubuntu.com/tutorial/tutorial-create-a-usb-stick-on-ubuntu or
https://tutorials.ubuntu.com/tutorial/tutorial-create-a-usb-stick-on-windows
- Create a folder called dev in your home directory
- Clone our cpm software repository into your dev-folder by typing:
cd ~/dev
you have to enter your git username and password
git clone https://github.com/embedded-software-laboratory/cpm_lab.git - Prepare to run our installation script by getting a license.dat-file for the RTI DDS Connext Service (ask your supervisor if you are a student or get into contact with RTI)
Run our script to install all necessary components. In the software- folder you have just cloned you find 'install.sh'.
todo full installation simulation setup only run cd software/
sudo bash install.shcd software/
sudo bash install.sh --simulationWhat will it install? Unbuntu packages Unbuntu packages Joystick/ Gamepad Joystick/ Gamepad RTI DDS Connext RTI DDS Connext RTI ARM OpenCV 4.0 for the Indoor Positioning System Basler Pylon 5 for the Indoor Positioning System and lab camera Change DDS Domain
If you want to change the DDS Domain later, go to /etc/profile
Currently at the CPM Lab the IDs are the following
ID Purpose 21 Main computer 61-66 Lab computers 101-120 Vehicles 201-220 NUCs Change RTI license file
If you want to update your license file, change the file at: /opt/rti_connext_dds-6.0.0/rti_license.datReboot your PC to avoid running
source /etc/profile.d/rti_connext_dds.sh
in every terminal you open.Run the build script.
full setup only simulation setup ./build_all.bash
./build_all.bash --simulation
Troubleshooting
If you have problems during the building process, try starting over again with
cd ~/dev/software/ git pull sudo git clean -xdf bash build_all.bash
- If you ever run
build_all.bash
asroot
, you might run into a lot ofpermission denied
errors. You need to delete all files and folders that were created and rerun as your usual user.
Overview
Content Tools