Is it possible to communicate with a robot leg through MATLAB?
2 次查看(过去 30 天)
显示 更早的评论
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 个评论
Karsh Tharyani
2021-7-6
Hi Jake,
Are you expecting C code out of a MATLAB function which returns a joint configuration given an end-effector pose?
Karsh
回答(1 个)
Karsh Tharyani
2023-12-6
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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Robotics 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!