Introduction video coming soon

What is UDUSimp?

UDUSimp lets you see the result of your C, C++ and Python code in a visual simulation instead of the console. Your code drives motors and reads sensors through the library functions; the simulation animates it instantly.

Quick Start
  1. Download and install UDUSimp and sign in with your account (the room simulation is a demo, no sign-in needed).
  2. Choose a workspace folder; the libraries and sample code are downloaded into it.
  3. Start a simulation and run your code from the workspace. Recommended editor: Visual Studio Code (setup steps).

Workspace layout

workspace/

├─ c_elevator/
│  ├─ elevator.h  
│  └─ start_code_elevator.c 
├─ c_otonom/
│  ├─ otonom.h  
│  └─ start_code_otonom.c 
├─ c_room/
│  ├─ room.h
│  ├─ start_code_room.c
├─ c_garage/
│  ├─ garage.h  
│  └─ start_code_garage.c
├─ py_elevator/
│  ├─ elevator.py  
│  └─ start_code_elevator.py
├─ py_otonom/
│  ├─ otonom.py
│  └─ start_code_otonom.py
├─ py_room/
│  ├─ room.py
│  ├─ start_code_room.py
├─ py_garage/
│  ├─ garage.py  
│  └─ start_code_garage.py
└─ c_SimName/main.c / py_SimName/main.py   ← your code

Put your code in the simulation folder, next to the library file (e.g. c_room/main.c or py_room/main.py), and include the library:

#include "room.h"     // C / C++
from room import *    # Python

Start the simulation first, then run your program: sim_connect() connects to the running simulation.