Finding angle of swinging Double pendulum
2 次查看(过去 30 天)
显示 更早的评论
Hi there,
I am struggling to calculate the angle between the hinge joint of a double pendulum (the flexion angle). I recorded the data on a motion capture system using markers. (Please see pic below to show vectors and markers). I created vectors in order to calculate the angle in the same plane to the pendulum swing. The reference vector is taken when the pendulum is held static in a straight vertical line. The ''dyn'' vectors refers to when the pendulum is swining chaotically. I have seperated the double pendulum into two single pendulums (top portion is one single pendulum and bottom portion is another single pendulum).
How would I go about calculating the joint angle? I am trying to simulate a knee joint with a double pendulum, so am trying to get the angle around the hinge joint (the flexion angle).
I have attached the code I have so far. I thought that the angle between the joint would be Bottom_Alpha-Top_Alpha, however this does not seem to be correct? The angle I am interested in, is the alpha angle in the matlab files.
I have included the workspace so you only need to run the calculate_angles file, but the other files are there for reference.
Please let me know if you need any clarification.
Thanks so much in advance for any help, really appreciate it.
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Assembly 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!