roboticslab-uc3m / kinematics-dynamics

Kinematics and dynamics solvers and controllers.
https://robots.uc3m.es/kinematics-dynamics/
GNU Lesser General Public License v2.1
19 stars 12 forks source link

Align CMake code related to bindings with latest YARP #189

Closed PeterBowman closed 3 years ago

PeterBowman commented 4 years ago

YARP 3.4 is out and introduces an important change: Python 2 is no longer supported. Consequently, it makes no sense to generate Python 2 bindings for the kinematics_dynamics module and later combine it with the Python 3 YARP module in the same Python script. Therefore, I suggest to update (at last) the dated CMake script we use for generating SWIG bindings (ref), mirroring whatever YARP folks have implemented on their side (ref).

FYI see https://github.com/roboticslab-uc3m/installation-guides/commit/7a9134f9c1d39df4d980307c06c8fa6912dc9e62.

jgvictores commented 3 years ago

For reference, this was partially done (very python-oriented) at https://github.com/roboticslab-uc3m/vision/tree/01ce8ad6325198f48c3ada7de3462f0591d07872/bindings (mainly via https://github.com/roboticslab-uc3m/vision/commit/7497b4b07688aafa101889f5285abddc1c16c427 but further improved)