Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • C crocoddyl
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • loco-3d
  • crocoddyl
  • Merge requests
  • !168

Added the Python bindings of StateVector + an unit-test for StateAbstract bindings

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Carlos Mastalli requested to merge cmastall/crocoddyl:topic/py-bindings into cpp_devel Jun 14, 2019
  • Overview 15
  • Commits 4
  • Pipelines 0
  • Changes 6

In this PR I did the following tasks:

  1. Improved the method for getting nx and ndx values (StateAbstract class)
  2. Added the Python bindings for StateVector
  3. Added an unit-test skeleton for StateAbstract bindings
  4. Included a code that tests the StateAbstract bindings (with a derived StateVector class in Python) against the StateVector bindings.

@mnaveau I will create as much as possible the unit-test code for Python bindings. This isn't my personal priority but a needed step to check the Python bindings behaviour.

This code is functional (bindings and unit-test), and you can run it by

  • enabling the Python bindings generation, and
  • running
 make test
Edited Jun 14, 2019 by Carlos Mastalli
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: topic/py-bindings