| Directory: | ./ |
|---|---|
| File: | bindings/python/scenario/contact-phase.cpp |
| Date: | 2025-04-05 01:06:26 |
| Exec | Total | Coverage | |
|---|---|---|---|
| Lines: | 3 | 3 | 100.0% |
| Branches: | 2 | 4 | 50.0% |
| Line | Branch | Exec | Source |
|---|---|---|---|
| 1 | // Copyright (c) 2015-2018, CNRS | ||
| 2 | // Authors: Justin Carpentier <jcarpent@laas.fr> | ||
| 3 | |||
| 4 | #include <pinocchio/fwd.hpp> | ||
| 5 | |||
| 6 | #include "multicontact-api/bindings/python/fwd.hpp" | ||
| 7 | |||
| 8 | // required because of the serialization of the curves pointer : | ||
| 9 | #include <ndcurves/bezier_curve.h> | ||
| 10 | #include <ndcurves/cubic_hermite_spline.h> | ||
| 11 | #include <ndcurves/exact_cubic.h> | ||
| 12 | #include <ndcurves/fwd.h> | ||
| 13 | #include <ndcurves/piecewise_curve.h> | ||
| 14 | #include <ndcurves/polynomial.h> | ||
| 15 | #include <ndcurves/se3_curve.h> | ||
| 16 | #include <ndcurves/so3_linear.h> | ||
| 17 | |||
| 18 | // multicontact-api headers | ||
| 19 | |||
| 20 | #include "multicontact-api/bindings/python/scenario/contact-phase.hpp" | ||
| 21 | #include "multicontact-api/bindings/python/scenario/expose-scenario.hpp" | ||
| 22 | |||
| 23 | namespace multicontact_api { | ||
| 24 | namespace python { | ||
| 25 | 3 | void exposeContactPhase() { | |
| 26 |
2/4✓ Branch 2 taken 3 times.
✗ Branch 3 not taken.
✓ Branch 5 taken 3 times.
✗ Branch 6 not taken.
|
3 | ContactPhasePythonVisitor<multicontact_api::scenario::ContactPhase>::expose( |
| 27 | "ContactPhase"); | ||
| 28 | 3 | } | |
| 29 | } // namespace python | ||
| 30 | |||
| 31 | // namespace python | ||
| 32 | } // namespace multicontact_api | ||
| 33 |