This example showcases two processes that communicate with each other using zero-copy inter-process communication (IPC) on iceoryx.
- First, iceoryx needs to be installed. You can find the build and installation guidelines here.
- Clone the repository or unzip the file
- Clone
git clone https://github.com/jonaletil/ice-quaternion.git
- Unzip
unzip ice-quaternion.zip
- Build (with CMake)
- Generate the necessary build files
cd ice-quaternion cmake CMakelist.txt
- Compile the source code
cmake --build .
- How to run
There are two ways you can start/run the processes:- Run sh script (faster way):
cd ice-quaternion ./run_ice_quaternion.sh
- or start all processes manually in terminal:
- Start RouDi Daemon in terminal
iox-roudi
- Start publisher in separate terminal
cd ice-quaternion ./ice-quaternion-publisher
- Start subscriber in separate terminal
cd ice-quaternion ./ice-quaternion-subscriber
- Run sh script (faster way):