# MPC **Repository Path**: mars55555/mpc ## Basic Information - **Project Name**: MPC - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-07-01 - **Last Updated**: 2022-01-24 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # **SCUT-RobotLab: Infantry Assassin** ## **Introduction** - Project to simulate Two Wheeled Jumping Robot. - Refer to: ETH Ascento. - If you are interseted in this project and need more information, please contact Mentos Seetoo(1356046979@qq.com) to get an access. ## **How to run this program**? ### **1. Run with simulation** - **Start your Simulation:** 1. Open scence file `Infantry_Assassin.ttt` with CoppeliaSim and start simulation. 2. Compile and run program `./build/bin/Assassin` ### **2. Run on your real robot** ## **Implementation details** ### **2. Motion Controller** - **Balance controller based on kinematic model** - **Joint Control in Simulation** In our real robot, we use PD controller for joint control. And We hope this lower layer controller would be well characterised in simulation. However, CoppeliSim Robotics does not provide a proper way to perform highband PD control, so we have to run PD controller in coppeliasim custom client, which control frequency is lower than 200Hz. We still don't know whether this method works well. Module testing is needed but we havn't finished. PS: In our test, static torque error is vrey small and we can assume that there's no error between target and simulation output. Related URL: - https://forum.coppeliarobotics.com/viewtopic.php?f=9&t=3933&sid=0b2737c12ac1442b617536addbe9cfad - https://www.coppeliarobotics.com/helpFiles/en/jointCallbackFunctions.htm - https://www.coppeliarobotics.com/helpFiles/en/jointDynamicsProperties.htm ## **Dependencies** ### **Running Enviroment :** > 1. Python 3 is required for matplotlib, but Numpy is optional. > 2. It's highly recommended to use GCC. If you run on win32 platform, you should install MinGW. **Ubuntu 18.04 LTS / Windows 10.0+** - CMake (version 3.12.0 +) - Python 3 : Numpy, Matplotlib ```bash ~$ sudo apt-get install python-matplotlib python-numpy python2.7-dev ``` ### **Sumulation Enviroment :** - Coppeliasim 4.0.1 (Recommended) - Qt ([version 5.12.0 +](http://download.qt.io/archive/qt/5.12/5.12.9/), Not required on Windows)