This website works better with JavaScript
Home
Esplora
Aiuto
Registrati
Accedi
ADPilot
/
modularization
Segui
2
Vota
0
Forka
0
File
Problemi
0
Pull Requests
0
Wiki
Albero (Tree):
29e990d035
Rami (Branch)
Tag
1+x
1+x_hunter_hcp2
JS_Runlegs
JS_guide
RBShCar
jeely_xingyueL
laneline_decition
master
master_v1
v2.1
v1.1
modularization
/
src
/
tool
/
testpythoncpp
fujiankuan
5b0c4e1846
first commit
5 anni fa
..
modulecomm.h
5b0c4e1846
first commit
5 anni fa
pythonreadpic.py
5b0c4e1846
first commit
5 anni fa
rawpic.pb.cc
5b0c4e1846
first commit
5 anni fa
rawpic.pb.h
5b0c4e1846
first commit
5 anni fa
readme.txt
5b0c4e1846
first commit
5 anni fa
testpythoncpp.cpp
5b0c4e1846
first commit
5 anni fa
testpythoncpp.h
5b0c4e1846
first commit
5 anni fa
testpythoncpp.pro
5b0c4e1846
first commit
5 anni fa
testpythoncpp_global.h
5b0c4e1846
first commit
5 anni fa
readme.txt
1.编译modulecomm生成so文件。
2.编译testpythoncpp生成so文件。
3.将上述两个so文件拷贝到pythonreadpic.py所在目录。
4.用sudo apt-get install patchelf。
5.patchelf --set-rpath '$ORIGIN' libmodulecomm.so。
6.patchelf --set-rpath '$ORIGIN' libtestpythoncpp.so。
7.修改pythonreadpic.py的mylib.registelisten("usbpic"),指定到监听的共享内存名称。
8.运行python pythonreadpic.py即可查看图片。
9.其它工程可以参照。