IPCx stands for Inter-process communication x.
The IPCx is a set of libraries and tools for Inter-process communication. Our IPC type is publish–subscribe pattern. Now we are developing it with matlab and python3 which are based on ROS . The IPCx runs python3 on WSL but runs matlab on Windows 10.
We developed on
| software | version |
|---|---|
| WSL | Ubuntu 20.04 LTS |
| Python | Python 3.8.2 64 bit |
| Matlab | 2020a |
| ROS | ROS Noetic Ninjemys (ROS 1) |
Moreover, IPCx require ROS Toolbox on Matlab.
-
For more information about ROS Toolbox: https://www.mathworks.com/products/ros.html
-
For installation of ROS Toolbox: https://www.mathworks.com/help/ros/ug/install-robotics-system-toolbox-support-packages.html
1.Install WSL, Python3, Matlab
2.Install ROS
you can see our ROS installation tutorial at https://github.com/CUASL/ipcx/wiki/Installation
3.Copy our library folder ipcx on our github to your project directory so that you can use our library.
4.import our library in your code
python
import ipcxmatlab
addpath('ipcx')You can get start and see more tutorial wiki
This example will show case server: python and client: matlab
- step 1 open WSL
roscore- step 2 open another WSL and run your serverfile
python3 yourServerFileName.pyFor Example in example directory
python3 ex_publisher.py- step 3 open matlab and run your client file
for example(run in matlab bash or you can click run at matlab UI)
ex_subscriber- platforms
- Windows 10 with WSL
- Linux/Ubuntu
- Languages
- Python3
- Matlab