Python c++ binding with Cython or boost/python

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

azerila gravatar image

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

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:

http://wiki.ros.org/ROS/Tutorials/Usi...

https://github.com/ethz-asl/programmi...

and for cython:

https://github.com/marcoesposito1988/...

https://github.com/longjie/ros_cython...

https://github.com/wkentaro/cython_ca...

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