Azzera filtri
Azzera filtri

LEGO Mindstorms and inverse kinematics?

5 visualizzazioni (ultimi 30 giorni)
Ivana
Ivana il 1 Ott 2012
Hello, I am working with LEGO Mindstorms and I have two questions about the MATLAB Lego toolbox (RWTH).
1) I want to control the LEGO robot arm I built (2 DOF) directly and continuously from MATLAB. Basically, I want to be able to send the robot some coordinates of the end position, and watch it move to the desired point (via transformation matrices and inverse kinematics). Is this even possible? Because so far I've only found examples of commands like "move the motor A for tot degrees with power X", but I would like to send command like "move motors A and B such that you achieve desired position".
2) If this is possible, the question would be how to use the COM_CreatePacket function? I don't quite understand its inputs. I want to send a vector of coordinates of the desired end position.
Thank you!

Risposte (0)

Categorie

Scopri di più su MATLAB Support Package for LEGO MINDSTORMS EV3 Hardware in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by