-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrun_simulator.bat
More file actions
38 lines (32 loc) · 807 Bytes
/
run_simulator.bat
File metadata and controls
38 lines (32 loc) · 807 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
@echo off
REM Mobile Robot Simulator - Quick Launch
REM Double-click this file to run the simulator
echo.
echo ========================================
echo Mobile Robot Simulator
echo ========================================
echo.
REM Check if virtual environment exists
if not exist venv (
echo ERROR: Virtual environment not found!
echo Please run setup_venv.bat first.
pause
exit /b 1
)
echo Starting simulator...
echo.
REM Activate venv and run simulator
call venv\Scripts\activate.bat
cd simulator
python main.py
REM Return to project root
cd ..
REM If error occurred, show message
if %errorlevel% neq 0 (
echo.
echo ========================================
echo Simulator exited with error
echo ========================================
echo.
pause
)