Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python hardware interface binding #464

Open
a-z-e-r-i-l-a opened this issue Jun 13, 2020 · 2 comments
Open

python hardware interface binding #464

a-z-e-r-i-l-a opened this issue Jun 13, 2020 · 2 comments

Comments

@a-z-e-r-i-l-a
Copy link

a-z-e-r-i-l-a commented Jun 13, 2020

I want to make a python interface binding to a robot hardware interface that we have, and the choices seems to be using either Cython, boost/python, swig, and etc.

Do you have a recommendation which one of these might be better and have a lower latency? my goal is to invoke controller update, from python while sending robot state also from python along with getting control commands from the c++ hardware interface.

Thanks.

@bmagyar
Copy link
Member

bmagyar commented Jun 14, 2020

That sounds fairly interesting! My go-to would be Pybind11, of course depending on the Ubuntu/ROS version this may not be available.

@a-z-e-r-i-l-a
Copy link
Author

I use ROS Melodic and Ubuntu 18.04. How about Cython or Boost/python? I thought maybe these might have a better latency. Do you think it might be time consuming for a fairly beginner in C++ to make prepare this binding?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants