Skip to content
Jose Miguel Sánchez edited this page Jun 22, 2018 · 6 revisions

Welcome to the tools-rock_bridge wiki!

Installation:

Having loaded the environment variables of ESROCOS: From the main directory, run amake and the executable will be installed.

Usage:

  1. Create your TASTE model:
  • One function will be the bridge (PI->output_port and RI->input_port)
  • One parameter per interface (this will be checked anyways)
  • In deployment view bind the bridge function (and others you want) to a x86.linux_dll partition.
  • Compile your model.
  1. Run create_rock_bridge script (no matter where):
  • 1st param: absolute path to your taste model skeletons.
  • 2nd param: The name of the function that will be the bridge.
  • 3rd param: absolute path to iv.py (usually absolute-path-taste-model/binary.c/iv.py)
  • 4th param: absolute path to shared-library.so (usually absolute-path-taste-model/binary.c/binaries/x86_linux.so)
  • Check [INFO] or [ERROR] messages during the process.
  1. Re-compile your TASTE model:
  2. Now, you have created (and installed) a Rock orogen task that initialize the taste model and ports are connected to its interfaces.
Clone this wiki locally