Is it possible to communicate with a robot leg through MATLAB?
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
If I build a robot in MATLAB using the Robotics Toolbox, can I use the code to communicate with the servos directly?
I started using the toolbox to understand the inverse kinematics of the 4 DoF robot leg so that I coul have a check of the solution that I was working on deriving. However, being that MATLAB has the inverse kinematics solvers, I was wondering if I could just use these functions to solve for the joint angles based on the desired end pose?
If I cannot communicate directly, can I develope a pre-preprogrammed gate or trajectory for each leg of the robot and then send the values of function to the robot/servos?
If anyone has any experience with either of these schemes and has insights, I would greatly appreciate this.
I am currently working to understand one robot leg, and then I will adapt to the whole body of a modified hexapedal robot. This is the leg that I am using: http://www.lynxmotion.com/p-802-4dof-t-hex-leg-kit-pair-no-servos.aspx
2 commentaires
Karsh Tharyani
le 6 Juil 2021
Hi Jake,
Are you expecting C code out of a MATLAB function which returns a joint configuration given an end-effector pose?
Karsh
Réponses (1)
Karsh Tharyani
le 6 Déc 2023
Hi Jake,
This Documentatoin link mentions the available IK solvers in MATLAB via the Robotics Systems Toolbox: https://www.mathworks.com/help/robotics/inverse-kinematics.html . Note that the Inverse Kinematics Simullink block is also available to the user.
You can interface with the Raspberry Pi via this support package which can be installed as an Add-On: https://www.mathworks.com/hardware-support/raspberry-pi-simulink.html
I hope these help, but if you need further clarifications or want to clarify your use case further, please do not hesitate to reach Technical Support https://www.mathworks.com/support/contact_us.html.
Best,
Karsh
0 commentaires
Voir également
Catégories
En savoir plus sur Robotics dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!