HebiRobotics / hebi-matlab-api

Public download and issue tracker of the latest HEBI API for MATLAB
http://docs.hebi.us/tools.html#matlab-api
0 stars 0 forks source link

Imitation groups #4

Closed daverolli closed 5 years ago

daverolli commented 6 years ago

Imitation group for examples and unit tests. Probably something that matches the C API.

ennerf commented 5 years ago

I finished most of the internals for this, so I'm thinking of the best way to add it to the API. For MATLAB I see 3 options:

  1. HebiUtils.newImitationGroup(numModules) consistent with newGroupFromLog

  2. HebiLookup.newImitationGroup(numModules) most easily accessible

  3. HebiGroup.newImitation(numModules) matches C++ API

The order matches my personal preference. @daverolli any thoughts?

rLinks234 commented 5 years ago

@ennerf I'd go with 1. In python, it's hebi.util.create_imitation_group(size)

ennerf commented 5 years ago

Added HebiUtils.newImitationGroup(numModules). It's available in the latest snapshot