-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
37 lines (30 loc) · 948 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
.ONESHELL:
SHELL := /bin/bash
.DEFAULT_GOAL := build
.PHONY: build
build:
colcon build --cmake-args -DCMAKE_BUILD_TYPE=Release
.PHONY: rosdep-install
rosdep-install:
sudo apt update
rosdep update
rosdep install -y -r --rosdistro foxy --ignore-src --from-paths src
.PHONY: rosdep-install-eol
rosdep-install-eol:
sudo apt update
rosdep update --include-eol-distros
rosdep install -y -r --rosdistro foxy --ignore-src --from-paths src
.PHONY: image-update
image-update:
docker pull ghcr.io/ucsd-ecemae-148/donkeycontainer:ros
.PHONY: rocker-nvidia
rocker-nvidia:
@CONT_NAME="${CONT_NAME}"
rocker --network host --nvidia runtime -e NVIDIA_DRIVER_CAPABILITIES=all --git --ssh --x11 --privileged --name ${CONT_NAME} --user --volume ${shell pwd} -- ghcr.io/ucsd-ecemae-148/donkeycontainer:ros
.PHONY: sick-driver
sick-driver:
vcs import < dsc.repos
./scripts/sick_driver.sh
.PHONY: livox-driver
livox-driver:
./scripts/livox_driver.sh