Skip to content

muzi2018/BipedalWalkingRobots

Repository files navigation

Copy from https://github.com/chauby/BipedalWalkingRobots 知乎:https://zhuanlan.zhihu.com/p/389396724 添加了一点自己的注释

Bipedal Walking Robots


Required enverionments:

  • Python 3.6 +
  • CoppeliaSim 4.0 +

1. Basic computation of 2D LIPM

This project is about the models and algorithms for bipedal walking control, including the Linear Inverted Pendunum Model (LIPM) and humandoid robots. The LIPM is shown as follows:

LIPM

The calculation for LIPM is implemented with Python 3.6, given different target orbital energy, the LIPM can be controlled to different walking states.

1.1 Single leg

1.1 Giving a initial state for a positve orbital energy.

LIPM_single_leg_11

1.2 Giving a initial state for a negetive orbital energy.

LIPM_single_leg_12

1.2 Double legs

1.2.1 Giving a zero target orbital energy.

LIPM_double_legs_OE0

1.2.2 Giving a positive target orbital energy.

LIPM_double_legs_forward

1.2.3 Giving a negetive target orbital energy.

LIPM_double_legs_backward


2. Forward kinematics and inverse kinematics

2.1 Plot with python

Run the script in 'LIPM/LIPM_ik_test.py', you can get the following result:

LIPM_ik

LIPM_ik_joint_limitation

2.2 Plot with VREP (CoppliaSim)

Open 'scenes/demo_1_LIPM_kinematics.ttt' with CoppliaSim 4.0+ and run the project with the begin button of CoppeliaSim , then run with the script 'demo_1_LIPM_kinematics.py', you can get the following result:

LIPM_ik_vrep

3. 3D LIPM model

Run the script in 'LIPM/demo_LIPM_3D.py', and specify different parameters, you can get different simulation results.

Walk forward:

LIPM_3D_forward

Turn left:

LIPM_3D_turn_left

Turn right:

LIPM_3D_turn_right


文章教程

代码对应的文章教程有两种访问方式,详见:

  1. 知乎专栏:https://www.zhihu.com/column/c_1212783320150577152

  2. 微信公众号:博士的沙漏。

    gzh

获取《仿人机器人》中文版书籍,可关注公众号后,在后台回复【HR】获取下载链接。

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages