You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 17 Next »

Autostart

Enable autostart, using crontab -e  and insert

@reboot ~/dev/autostart/lab_autostart.bash

This makes the HLC regularly send messages that it was turned on and allows the user to determine which NUCs are online. (Make sure that chmod +x was performed on the file before, and that it does not use relative file locations)

Domain ID: 21. Topic name: hlc_startup

In the given directory should be: lab_autostart.bash as well as the executable of the autostart program which is called by the bash script

Required Setup Steps

  1. Install Ubuntu 18.04.3 LTS
  2. Install the RT Patch (s.t. realtime programming becomes possible)
  3. Setup NTP for time synchronisation
  4. Install RTI DDS for network communication
  5. Install Matlab and the RTI Matlab Support Package
  6. Install the following packages: git, tree, openssh, tmux, cmake, libgtkmm-3.0-dev
  7. (Optional) Install the raspbian toolchain and the Raspberry Pi RTI libraries
  8. Make sure that you set up a guest account with a simple password. Generate a SSH Key and put the public Key in the LCC main PC, so that a log-in without using a password becomes possible
  9. Enable the autostart script as mentioned above. The script is located in the software repository
  10. If desired, set some environment variables, e.g. the RTI location, the location of the Matlab executable etc
  11. Setup the NUC's IP: 192.168.1.2xx, where xx corresponds to the NUC's ID → ID 8 - 208, ID 15 - 215 etc

Repositories

  • cpm library
  • Lab software
  • No labels