/rt-ua

Real-Time OPC UA

Primary LanguageC

rt-ua

Real-Time OPC UA Pub/Sub implementaion using the open62541 library on Patmos.

Getting Started

Prerequisites

Download the Patmos Ubuntu Development VM from http://patmos.compute.dtu.dk/ or or follow the installation instructions on https://github.com/t-crest/patmos

Installing

Install the Development VM and login with the Username and Password patmos. The T-Crest ist split into several Github(https://github.com/t-crest) repositories and can be found under /home/patmos/t-crest/ on the Development VM.

Update Patmos Source Code

cd ~/t-crest/patmos/

git pull

Add TCRESTHOME environment variable

Add the following lines to your ~/.bashrc

export PATH=$PATH:$HOME/t-crest/local/bin
export TCRESTHOME=$HOME/t-crest

Build for Patmos

git clone  --recursive https://github.com/t-crest/rt-ua

cd rt-ua

mkdir build-patmos
cd build-patmos

cmake -DCMAKE_TOOLCHAIN_FILE=../Toolchain-patmos.cmake ..

Build for Ubuntu

git clone  --recursive https://github.com/t-crest/rt-ua

cd rt-ua

mkdir build
cd build

cmake ..

Contributing to the WCET analyzable open62541 stack

A WCET analyzable version of open62541 is used as a git submodule by rt-UA. It is automatically cloned when using the above git clone commands. To contribute, you can send pull requests, which we will review and accept. If you have access to the https://git.auto.tuwien.ac.at/ gitlab Server, you can also change ssh authentication via the following commands:

# Clone the repository as stated above
cd extern/open62541
git remote set-url origin git@git.auto.tuwien.ac.at:rt-ua/open62541.git
git checkout master

Test Setup