Python c++ binding with Cython or boost/python

asked 2020-06-13 05:40:53 -0500

azerila gravatar image

updated 2020-06-13 05:41:52 -0500

For binding python and c++ codes in ros, between cython and boost/python or other libraries which one do you think is better in terms of lowest latency and guaranteed connection?

I have a ros_control hardware interface which is written in c++ and has a nodehandle for simulating the behaviour of the controller behind it, I want to connect this hardware-interface to a python simulation script, for simulation, the important factor for me is lowest latency regarding the binding.

for boost/python I came accross these examples:

and for cython:

if you also knew other examples with them or other libraries, I'd be glad if you mention them

edit retag flag offensive close merge delete