I am trying to build a robot leg with two Dynamixel XL430 as hip motor and knee motor. Currently, the motions of two motors have been designed and calculated in matlab and generated as txt file. I was wondering if I can ask the motor to read the files and act?
There isn’t a way to get the DYNAMIXELs to read the motors directly, but you could certainly write a program to read them and have the motors complete the trajectories.
However, I think it would probably be simpler to use the official MATLAB SDK to control the servos.
I have followed your suggestion to setup the Dynamixel SDK into Matlab. I have followed the instructions to set path for the Dynamixel SDK. However, I am facing the issue with matlab as the picture shown below. Could you please help me to solve this?
The path set shown below
I am using XL430-W250 motor and Open RB150 to communicate. I am also not sure how to set the ADDR_GOAL_POSITION and ADDR_PRESENT_POSITION