apollo-lhc / ApolloSM_plugin

ApolloSM control class and BUTool plugin
2 stars 5 forks source link

Make Python bindings for ApolloSM class #91

Closed alpakpinar closed 1 year ago

alpakpinar commented 1 year ago

This PR introduces the python3 bindings for ApolloSM class, using pybind11 library as a submodule. Also, the typo in the Makefile (UHAL_CXX_FLAGS) is fixed.

alpakpinar commented 1 year ago

@dgastler I've updated the make install rule so that the .so Python3 library is copied to somewhere where python3 is searching for modules. Currently this is set in the Makefile via:

PYTHON3_INSTALL_PATH=/usr/local/lib64/python3.6/site-packages/

So during our filesystem build, the resulting .so library will show up under PYTHON3_INSTALL_PATH and python3 can see this library when launched from any directory. Please let me know if you think this is okay, or if you want changes, thanks!