Skip to content

Commit 9a82813

Browse files
...
1 parent 9095411 commit 9a82813

3 files changed

Lines changed: 35 additions & 0 deletions

File tree

make_executables.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,13 @@
22

33
echo "🔧 Setting execute permissions..."
44

5+
chmod +x run
56
chmod +x install_requirements
67
chmod +x freeze_requirements
78
chmod +x setup
89
chmod +x run_server
10+
chmod +x run_obstacle_detection
11+
chmod +x run_linefollower
912

1013
echo "✅ Permissions set!"
1114

run_linefollower.sh

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
#!/bin/bash
2+
3+
# Exit on error
4+
set -e
5+
6+
# Go to project root (script location)
7+
cd "$(dirname "$0")"
8+
9+
# Activate virtual environment
10+
source venv/bin/activate
11+
12+
# Run the line follower script
13+
python scripts/line_follower.py
14+
15+
# Deactivate (optional, happens automatically when script exits)
16+
deactivate

run_obstacle_detection.sh

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
#!/bin/bash
2+
3+
# Exit on error
4+
set -e
5+
6+
# Go to project root (script location)
7+
cd "$(dirname "$0")"
8+
9+
# Activate virtual environment
10+
source venv/bin/activate
11+
12+
# Run the line follower script
13+
python scripts/obstacle_avoidance.py
14+
15+
# Deactivate (optional, happens automatically when script exits)
16+
deactivate

0 commit comments

Comments
 (0)