Kinovarobotics / matlab_kortex

MATLAB Adaptor packages for KINOVA® KORTEX™ robotic arms
Other
10 stars 4 forks source link

kortexApiMexInterface PlayPreComputedTrajectory #12

Closed RobaczeQ closed 2 years ago

RobaczeQ commented 2 years ago

Hello

I'm trying to use kortexApiMexInterface with PlayPreComputedTrajectory but I get error code 5, which means UNSUPPORTED_METHOD. I can get other kortexApiMexInterface commands to work, but not that one. I can get PlayPreComputedTrajectory to working using

    Simulink.importExternalCTypes(which('kortex_wrapper_data.h'));
    gen3Kinova = kortex();

but I would like to have everything using only kortexApiMexInterface. Any help would be appreciated.

Regards, Matt

RobaczeQ commented 2 years ago

Okey, I found why. Documentation for mexInterface is not valid. https://github.com/Kinovarobotics/matlab_kortex/blob/master/simplified_api/documentation/mex_interface.md Programing with Kinova would be easier when all code would be open source and not looking for wrong documentation, just in source code.