bindings/python/pinocchio/casadi/__init__.py
Go to the documentation of this file.
1 #
2 # Copyright (c) 2020 INRIA
3 #
4 # ruff: noqa: F401, F403, F405
5 
6 # Manually register submodules
7 import sys
8 
9 from .. import utils
10 from ..explog import exp, log
11 from ..pinocchio_pywrap_casadi import *
12 from ..pinocchio_pywrap_casadi import __raw_version__, __version__
13 
14 sys.modules["pinocchio.casadi.rpy"] = rpy
15 sys.modules["pinocchio.casadi.cholesky"] = cholesky
16 
17 if WITH_HPP_FCL:
18  try:
19  import hppfcl
20  from hppfcl import (
21  CachedMeshLoader,
22  CollisionGeometry,
23  CollisionResult,
24  Contact,
25  DistanceResult,
26  MeshLoader,
27  StdVec_CollisionResult,
28  StdVec_Contact,
29  StdVec_DistanceResult,
30  )
31 
32  WITH_HPP_FCL_BINDINGS = True
33  except ImportError:
34  WITH_HPP_FCL_BINDINGS = False
35 else:
36  WITH_HPP_FCL_BINDINGS = False


pinocchio
Author(s):
autogenerated on Fri Nov 1 2024 02:41:38