Page History
...
- 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 'setup_cpm_build_environmentinstall.sh'. You PC will reboot in the end to finish the environment variables setup.
todo full installation simulation setup only run cd software/
sudo bash setup_cpm_build_environmentinstall.shcd software/
sudo bash setup_cpm_build_environmentinstall.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 Info title 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 21main PCMain computer 6061-66 Lab PCcomputers 101-120 Vehicles 201-220 NUCs Info title 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.dat Reboot your PC to avoid running
source /etc/profile.d/rti_connext_dds.sh
in every terminal you open.Run the build script.
Info title Clones also cpm libraryIt will also clone the cpm library so keep your git username and password on hand. full setup only simulation setup ./build_all.bash
./build_all.bash --simulation
Info | ||||||
---|---|---|---|---|---|---|
| ||||||
In case of a permission denied error, check that the scripts in ./bash have the right permissions set (chmod +x) | ||||||
Info | ||||||
| ||||||
sudo git clean -xdf
|