Before starting to introduce how to install OpenSplice DCPS Python API on Raspberry Pi 3, we can take a look at the guide of OpenSplice DCPS Python API as list:
In Python program, it is very easy to combine a bunch of libraries together. For OpenSplice, providing its Python API is useful to integrate with other systems. But, the prebuild installation package of OpenSplice doesn't contain ARM-based platform so that we need to build it by ourselves, for instance, on Raspberry Pi 3.
Here is the way to install it:
Then, we can test an example:In Python program, it is very easy to combine a bunch of libraries together. For OpenSplice, providing its Python API is useful to integrate with other systems. But, the prebuild installation package of OpenSplice doesn't contain ARM-based platform so that we need to build it by ourselves, for instance, on Raspberry Pi 3.
Here is the way to install it:
$ git clone https://github.com/ADLINK-IST/opensplice.git
$ cd $HOME/git/opensplice/
$ sudo apt update
$ sudo apt install gmake fawk flex bison perl
$ sudo apt install flex bison perl
$ sudo apt-get install gawk
$ source ./configure
$ make
$ make install
$ cd $HOME/git/opensplice/install/HDE/armv8.linux-dev/tools/python/src
$ OSPL_HOME="/home/pi/git/opensplice/install/HDE/armv8.linux-dev"
$ sudo python3 setup.py install
$ cd $HOME/git/opensplice/examples/
$ python3 example1.py
No comments:
Post a Comment