This project is an OpenSim simulation to evaluate and compare the metabolic cost of different control loops for BioGenius.
- OpenSim 4.6
- Visual Studio Community 2026 (For MSVC and CMake)
Follow the installation guide for instructions.
Clone the repository
git clone https://github.com/robotique-udes/Exo_Simulation.git
cd Exo_SimulationGenerate the project using CMake or CMake GUI
CMake
mkdir build && cd build
cmake ..CMake GUI
- Open CMake GUI
- In "Where is the source code", enter the path to the project
- In "Where to build the binaries", add a
builddirectory to the project's path. CMake GUI will automatically create this directory if it does not exist - At the bottom, click 'Configure' then 'Generate'. Keep the default options

Open build/simulation.sln with Visual Studio. To run the project, press Ctrl+F5 or click on the "Start without debugging" button

- src: C++ source files (*.cpp)
- include: C++ header files (*.hpp)
- docs: Documentation for the project
- articles: Procedures, guidelines, notes, etc (*.md)
- multimedia: Images and videos (*.png, *.jpg, *.mp4, etc)
- opensim: All files required for the simulation
- build: Build directory. NOT TRACKED BY GIT
All contributors must read and follow the C++ guidelines and the Git guidelines.