Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem using MatLab with MX-28T #36

Closed
DannyDRG opened this issue Oct 18, 2016 · 3 comments
Closed

Problem using MatLab with MX-28T #36

DannyDRG opened this issue Oct 18, 2016 · 3 comments
Assignees
Labels

Comments

@DannyDRG
Copy link

I am having trouble using matlab with the USB2Dynamixel and the MX-28T. I am using windows 10 and i have followed the steps to compile the library using Microsoft Visual Studio 2015 Express for Desktop. I have set all the paths according to the available tutorial. Unfortunately when i run the read_write.m file, i receive the following errors.

Index exceeds matrix dimensions.

Error in loadlibrary>getLoadlibraryCompilerConfiguration (line 497)
compilerConfiguration=compilerConfiguration(1); %unix machines return c and cpp compilers here

Error in loadlibrary (line 253)
[thunk_build_fn,preprocess_command]=getLoadlibraryCompilerConfiguration(ccinclude,header,headername,compilerConfiguration);

Error in read_write (line 60)
[notfound, warnings] = loadlibrary(lib_name, 'dynamixel_sdk.h', 'addheader', 'port_handler.h',
'addheader', 'packet_handler.h');

I am using Matlab 2014a. I appreciate any help you are able to provide.

@LeonJung
Copy link
Contributor

Hi, Danny

#34 also told about nearly the same issue
so how about doing like that at first?

and I uploaded modified source on the develop branch.
please let me know whether it solves the problem you told

@DannyDRG
Copy link
Author

Yea, i was able to solve the issue using the same method. Thank you Leon.

By any chance, do you know if its possible to use the CM-700 controller with Matlab or if the Arbotix-M controller would be the better route? I am attempting to control a MX-28T servo using a joystick for our project.

@LeonJung
Copy link
Contributor

Hi, Danny

See #20 :)
but if you still have question, feel free to ask.

This was referenced Feb 15, 2017
@LeonJung LeonJung self-assigned this Aug 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants