# Feeding knees angle to the walking robot

4 次查看（过去 30 天）
Sizhe An 2019-6-30

Hi,
I'm doing gait analysis for human-being.
I watched a great video about how to build a walking robot and observe many metrics when the robot walking in this following link:https://www.mathworks.com/videos/matlab-and-simulink-robotics-arena-walking-robots-part-1-modeling-and-simulation-1505941655157.html
However, my target is in an opposite aspect. I recored the real knees degree data when people walking. Now I want to feed these degree data into the robot then observe how the robot walks. Is this possible?

### 采纳的回答

Sebastian Castro 2019-7-1
Thanks for tagging this post with roboticsarena so we got that notification! Much appreciated.
In Simscape Multibody, you can choose to actuate joints either with torques or with motion profiles. I am guessing you want to put in a motion profile from the real knee angle data. See the "Motion Input" section below.
Or, this example:
- Sebastian
##### 5 个评论显示 3更早的评论隐藏 3更早的评论
Sebastian Castro 2019-7-4
That's right. The heavier the robot, the higher the stiffness needs to be... else it might fall through.
You should pick something big enough to hold the weight at a specified displacement (much smaller than the thickness of the foot).
Force = Stiffness*Displacement
https://blogs.mathworks.com/racing-lounge/2017/09/12/introduction-to-contact-modeling/
Sizhe An 2019-8-9
Hi Sebastian,
I kind of modify the four bar through revolute joints to a easy robotic lower lambs. And I give the input angles to the leg then observe how it works. It turns out it works very well and now I want to add one more legs but I got stuck.
As shown in Fig.1, l1 is the hip and l2 is the leg. This is exactly the model I wanna build. α and β I got from sensors, which is the input. I wanna observe how l1 and l2 rotates when α, β is changing.
However, as shown in Fig.2, I can only build one hip and leg here. I have no idea how to add another lamb on the same pivot mount. I have a look in https://ww2.mathworks.cn/help/physmod/sm/ug/model-four-bar.html but it doesn't help much...
My design file is attached. Can you please give me an idea how I can make the model I want?
Thank you very much!!

### 类别

Help CenterFile Exchange 中查找有关 Applications 的更多信息

### Community Treasure Hunt

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

Start Hunting!

Translated by