-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
63 lines (46 loc) · 1.45 KB
/
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
SHELL=bash
SETUP=source /opt/ros/noetic/setup.bash;source /root/catkin_ws/devel/setup.bash
PATH_TO_MAKEFILE=$(abspath $(lastword $(MAKEFILE_LIST)))
WORKDIR=$(shell dirname $(PATH_TO_MAKEFILE))
install-state-machine:
pip install -e $(WORKDIR)/mdis_state_machine
install: install-state-machine
$(SETUP); \
$(MAKE) -C $(WORKDIR)/coms install
test-state-machine: test-state-machine-team
# test-state-machine-explorer: install-state-machine
# $(SETUP); \
# python3 -m unittest $(WORKDIR)/mdis_state_machine/tests/test_state_shift_explorer.py
test-state-machine-team: install-state-machine
$(SETUP); \
python3 -m unittest $(WORKDIR)/mdis_state_machine/tests/test_state_shift_team.py
# test-state-machine-relay: install-state-machine
# $(SETUP); \
# python3 -m unittest $(WORKDIR)/mdis_state_machine/tests/test_state_shift_relay.py
test-coms:
$(SETUP); \
$(MAKE) -C $(WORKDIR)/coms install-coms test
test: test-coms test-state-machine
sim-gazebo:
$(SETUP); \
roslaunch turtlebot3_gazebo multi_turtlebot3_all.launch
debug-coms:
$(SETUP); \
rostopic echo /tb3_0/coms_debug
check-health:
source $(WORKDIR)/health-check.sh
argos-demo:
$(SETUP); \
argos3 -c $(WORKDIR)/coms/argos_bridge/argos_worlds/multi_robot_dan_maze.argos
gazebo-net-sim:
$(SETUP); \
roslaunch example gazebo.launch
argos-net-sim:
$(SETUP); \
roslaunch example argos.launch
coms-net:
$(SETUP); \
roslaunch coms net.launch
teleop-0:
$(SETUP); \
roslaunch turtlebot3_teleop demo.launch