Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Added Link to new Matlab Setup Page


  1. Install  Ubuntu 18.04.3 LTS.                                                                     or     or

  2. Clone our cpm software repository with:

    Code Block
    git clone software

  3. 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)
  4.  Run our script to install all necessary components.  In the software folder you have just cloned you find

    todofull installationsimulation setup only

    Code Block
    cd software/
    sudo bash

    Code Block
    cd software/
    sudo bash --simulation

    What will it install?Unbuntu packagesUnbuntu packages

    Joystick/ GamepadJoystick/ Gamepad

    RTI DDS ConnextRTI DDS Connext


    OpenCV 4.0 for the Indoor Positioning System

    Basler Pylon 5 for the Indoor Positioning System and lab camera

    titleChange DDS Domain

    If you want to change the DDS Domain later, change the corresponding variable DDS_DOMAIN in /etc/profile.d/

    The following domain IDs are used in the CPM Lab:

    Domain IDPurpose
    21Lab (main computer, NUCs, vehicles)
    61-66Student computers

    titleChange 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

  5. Reboot your PC.

  6. Optional:
    Setup MATLAB. As a student from RWTH, you can do this with a MathWorks account following these instructions.
    For RTI DDS: Download the DDS Support Package for MATLAB and install the toolbox. The native DDS addon that ships with MATLAB versions from 2021a only supports Simulink. If you are going to code in MATLAB, install the corresponding package from the link.

    To use MATLAB  with eProsima, look here.


    Make sure to create a symbolic link to the MATLAB binary during or after the setup!

  7. Run the build script.

    full setuponly simulation setup

    Code Block

    Code Block
    ./build_all.bash --simulation