-
Notifications
You must be signed in to change notification settings - Fork 3
/
Makefile
40 lines (31 loc) · 872 Bytes
/
Makefile
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
39
40
SHELL := /bin/bash
.ONESHELL:
build-workspace:
@echo Building and sourcing changes...
colcon build
source install/setup.bash
start-system:
@echo Unlocking controller folder...
sudo chmod a+rw /dev/ttyACM0
@echo Sourcing ROS workspace...
source install/setup.bash
@echo Starting ROS app...
ros2 launch rona_pkg system.launch.xml
setup:
@echo Unlocking controller folder...
sudo chmod a+rw /dev/ttyACM0
@echo Sourcing ROS workspace...
source install/setup.bash
test-camera:
cd src/rona_pkg/rona_pkg/tests
python3 test_camera_intel.py
test-controller:
@echo Unlocking controller port...
sudo chmod a+rw /dev/ttyACM0
cd src/rona_pkg/rona_pkg/tests
python3 test_controller_connection.py
test-robot:
cd src/rona_pkg/rona_pkg/
python3 tests/test_robot_connection.py
test-detection:
python3 src/rona_pkg/rona_pkg/tests/test_instrument_detection.py