• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

ShuoYangRobotics/QuadrupedSim: A quadruped robot simulator in Matlab/Simulink

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

ShuoYangRobotics/QuadrupedSim

开源软件地址(OpenSource Url):

https://github.com/ShuoYangRobotics/QuadrupedSim

开源编程语言(OpenSource Language):

MATLAB 85.9%

开源软件介绍(OpenSource Introduction):

Starting Jun 2020, I will reactivate this repo and use it to help a onging research Revise a number of conventions


  •              Old Code And Old README               -
    

Two years ago after reading "Legged Robots that Balance", I started to work on a MATLAB simulation of a quadruped robot. Initially this project is put in my "toy_code" repo. This semester I will use this quadruped robot for two of my CMU course projects. So it is necessary to create a dedicated repository for it.

robot

General Principle

Simulate a walking quadruped robot is easy (But remember all simulations are wrong), first construct body and legs, then carefully understand the frame transformations among them to get forward and inverse kinematics. So the robot knows how to place its feet.

Then find a good method to simulate the contact forces between a foot and the ground. This is proved to be very difficult because few exisiting contact models are precise enough compared to real world scenario. Besides, bad contact force model can make simulation run slower, for the contact force will make the entire simulation model "stiff". In the current implementation, I use Simscape Multibody Contact Forces Library created by Steve Miller.

Then design a gait planner to move feet in a periodic manner.


Helper code:

  1. forward_kinematics.m Calculate forward kinematics of the robot leg (Each leg is a simple three-joint manipulator. From shoulder to foot tip, jonts are labelled as "shoulder", "upper" and "knee". Then in the forward kinematics they are abbreviated as "s" "u" and "k")
  2. inverse_kinematics.m Calculate inverse kinematics
  3. init_quad_new_leg.m Initialize some parameters

quad_XXXX.slx will be the name of different models. I will make sure all quad_XXXX.sx file has a corresponding init_quad_XXXX.m initialization file.

By Dec-6-2018, the best running model is

quad_new_leg_raibert_strategy_v2.slx

and its init file

init_quad_new_leg_raibert_strategy_v2.m


Notice:

  1. Check this post to properly use contact forces library



鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap