Skip to content

Python 3 & CI

Guilhem Saurel requested to merge gsaurel/crocoddyl:devel into devel

Hi,

This MR:

  • fixes some details about Python 3 compatibility (mostly issues about functions that returned lists in Python 2 and iterators in Python 3)
  • Uses the generated configuration from rainboard for the CI, which allows to check that everything works in Python 2 & Python 3, plus raises minor CMake issues, which have been fixed

Cheers, Guilhem.

PS: I think those len(list(filter(lambda x: x < 0, eig(self.kkt.kkt)[0]))) might be rewritten

PPS: robotpkg-py3x-pinocchio v2.1.2 has a bug, which has been fixed on v2.1.3, but it is not yet available on robotpkg. If you want to test that locally:

sed -i 's/from libpinocchio_pywrap/from .libpinocchio_pywrap/' /opt/openrobots/lib/python3.*/site-packages/pinocchio/__init__.py
Edited by Guilhem Saurel

Merge request reports