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.
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.