This branch contains the MATLAB/Simulink simulation for the Hector humanoid robot.
Introduction Video: https://youtu.be/NcW-NFwjMh0
- MATLAB & Simulink 2023a +
- Simulink Simscape + Simscape Multibody Library
- CasADi for MATLAB
- qpOASES (included in CasADi)
- It is suggested to run this simulation on a Windows PC with Windows 10 and later;
- Linux PC may run into problems with path definitions in Simulink (but easily fixable on the user end);
- Download and unzip Hector_Simulation to your desired directory;
- Download and unzip CasADi MATLAB to the same directory;
- Download and install MATLAB 2023a (or later version);
- Launch MATLAB 2023a (or later version);
- Add to path: entire simulation folder and subfolders, entire CasADi Library folder and subfolders;
- Open and run Initiate_Simulation.m to load model and simulation parameters;
- Open Hector_Simulation.slx and modify simulation base on your need;
- Press Ctrl + D to build model;
- Run model/simulation in Mechanics Explorer (note that simulation does not run in real-time);
- User may comment/uncomment arm assembly and control in Simulink model;
Thank you for choosing our software for your research and development, we highly appreciate your citing our work:
- Force-and-moment-based model predictive control for achieving highly dynamic locomotion on bipedal robots: https://arxiv.org/abs/2104.00065
@inproceedings{li2021force,
title={Force-and-moment-based model predictive control for achieving highly dynamic locomotion on bipedal robots},
author={Li, Junheng and Nguyen, Quan},
booktitle={2021 60th IEEE Conference on Decision and Control (CDC)},
pages={1024--1030},
year={2021},
organization={IEEE}
}
Junheng Li -- [email protected]
Both Hector simulation and controller code follow the 3-Clause BSD License. Please read the License.md for details.
The authors would like to thank Zhanhao Le and Han Gong for contributing to the Matlab/Simulink open-source software.