personalrobotics / dartpy

:dart: :snake: Python bindings for the Dynamic Animation and Robotics Toolkit
BSD 2-Clause "Simplified" License
15 stars 5 forks source link

Add manually coded bindings for Skel file parsers #64

Closed jslee02 closed 6 years ago

jslee02 commented 6 years ago

Due to https://github.com/personalrobotics/chimera/issues/168 (and https://github.com/personalrobotics/dartpy/issues/37), bindings for dart::utils::SkelParser are not automatically generated by chimera.

This PR adds the missing bindings, which are manually written using Boost.Python.

Usage:

import dartpy as dart
world1 = dart.utils.skel.readWorld('uri_or_filepath')
world2 = dart.utils.skel.readWorldXML(xml_string)
skel = dart.utils.skel.readSkeleton('uri_or_filepath')