-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathMakefile
99 lines (74 loc) · 3.13 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
INTERFACE = enx00e04c006390 # interface name used to talk with the robot
# Target to run the script with the specified interface
ddscfg:
python3 scripts/set_cyclonedds_config.py $(INTERFACE) && /bin/bash scripts/ros_env_setup.bash
frontcam:
@cd deploy && docker build --no-cache --tag go2py_frontcam_publisher:latest -f docker/Dockerfile.frontcam .
docker_start:
@cd .devcontainer && docker compose up go2py
isaac_ros_start:
@./scripts/run_dev.sh
nav2:
@cd deploy && docker build --no-cache --tag go2py_nav2:latest -f docker/Dockerfile.nav2 .
nav2_source:
@cd deploy && docker build --tag robocaster/navigation2:aarch64 -f docker/Dockerfile.nav2_source .
nav2_start:
@ ./scripts/run_nav2.sh
mexplore:
@cd deploy && docker build --no-cache --tag go2py_mexplore:latest -f docker/Dockerfile.mexplore .
mexplore_start:
@ ./scripts/run_mexplore.sh
messages:
@cd scripts && ./make_msgs.sh
realsense:
@cd deploy/docker && docker build --tag go2py_realsense:latest -f Dockerfile.realsense .
hesai:
@cd deploy && docker build --no-cache --tag go2py_hesai:latest -f docker/Dockerfile.hesai .
mid360:
@cd deploy && docker build --tag go2py_mid360:latest -f docker/Dockerfile.mid360 .
# @cd deploy && docker build --no-cache --tag go2py_mid360:latest -f docker/Dockerfile.mid360 .
bridge:
@cd deploy && docker build --no-cache --tag go2py_bridge:latest -f docker/Dockerfile.bridge .
robot_description:
@cd deploy && docker build --no-cache --tag go2py_description:latest -f docker/Dockerfile.robot_description .
frontcam_install:
@cp deploy/services/go2py-frontcam.service /etc/systemd/system/
@cp deploy/services/frontcam-v4l-loopback.sh /usr/bin
@systemctl enable go2py-frontcam.service
@systemctl start go2py-frontcam.service
hesai_install:
@cp deploy/services/go2py-hesai.service /etc/systemd/system/
@systemctl enable go2py-hesai.service
@systemctl start go2py-hesai.service
mid360_install:
@cp deploy/services/go2py-mid360.service /etc/systemd/system/
@systemctl enable go2py-mid360.service
@systemctl start go2py-mid360.service
bridge_install:
@cp deploy/services/go2py-bridge.service /etc/systemd/system/
@systemctl enable go2py-bridge.service
@systemctl start go2py-bridge.service
robot_description_install:
@cp deploy/services/go2py-robot-description.service /etc/systemd/system/
@systemctl enable go2py-robot-description.service
@systemctl start go2py-robot-description.service
frontcam_uninstall:
@systemctl disable go2py-frontcam.service
@systemctl stop go2py-frontcam.service
@rm /etc/systemd/system/go2py-frontcam.service
hesai_uninstall:
@systemctl disable go2py-hesai.service
@systemctl stop go2py-hesai.service
@rm /etc/systemd/system/go2py-hesai.service
mid360_uninstall:
@systemctl disable go2py-mid360.service
@systemctl stop go2py-mid360.service
@rm /etc/systemd/system/go2py-mid360.service
bridge_uninstall:
@systemctl disable go2py-bridge.service
@systemctl stop go2py-bridge.service
@rm /etc/systemd/system/go2py-bridge.service
robot_description_uninstall:
@systemctl disable go2py-robot-description.service
@systemctl stop go2py-robot-description.service
@rm /etc/systemd/system/go2py-robot-description.service