How to implement direct dynamics equations using Euler-Lagrange for an RRP/SCARA robot in Robotics Toolbox?
20 ビュー (過去 30 日間)
古いコメントを表示
Hello MATLAB community,
I'm currently working on the dynamic modeling of an RRP-type (SCARA) robot and I'm looking for guidance on how to implement direct dynamics equations using the Euler-Lagrange method within Robotics Toolbox in MATLAB.
I've already defined the Denavit-Hartenberg parameters for the robot, the forward and inverse kinematics. Now I want to derive the equations of motion that relate applied torques/forces to joint accelerations.
My problem is when I'm calculating the link center of mass in link one, the robot has a "L" type form, so I split the link in La and Lb, and calculate both center, I don't know if it's well calculated or if I put all the mass center right.
Is there any built-in function in Robotics Toolbox or similar that helps formulate Euler-Lagrange equations?
2 件のコメント
dpb
2025 年 10 月 26 日
The Robotics TB uses a rigidbody tree object and internal numeric methods to solve the forward kineatics problem with forwardDynamics. The formulation used is shown in the "More About" section although the details of the techniques used are only referenced.
The only way you would be able to get to create and solve the actual Euler-Lagrange equations would be to set them up for one of the differential equation solvers provided in MATLAB.
You might want to look into <Euler Lagrange Tool Package> on the FEX. I know nothing about it, just saw the link that looked to be pertinent.
回答 (1 件)
William Rose
2025 年 12 月 14 日 0:32
Even if the first link has an "L" shape, it still has a well-defined (i.e calculatable) center of mass and moment of inertia matrix. I recommend that you do not split link 1 into two links. Calculate the CoM and MoI of the complete link 1, and treat link 1 like every other link.
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!