2021-05-20 14:01:49 +02:00
|
|
|
.PHONY: build run upload legacy
|
2021-04-30 15:48:36 +02:00
|
|
|
|
|
|
|
SOURCES := $(wildcard src/ros2aria/src/*.cpp)
|
|
|
|
HEADERS := $(wildcard src/ros2aria/src/*.hpp)
|
|
|
|
|
|
|
|
build/ros2aria/ros2aria: $(SOURCES) $(HEADERS)
|
|
|
|
colcon build
|
|
|
|
|
|
|
|
build: build/ros2aria/ros2aria
|
|
|
|
|
2022-07-29 13:44:09 +02:00
|
|
|
# .uploaded: build/ros2aria/ros2aria
|
|
|
|
upload:
|
2021-05-21 13:46:31 +02:00
|
|
|
rsync -r . lab1_5@pionier6:~/ros2aria
|
2021-04-30 15:48:36 +02:00
|
|
|
touch .uploaded
|
|
|
|
|
2022-07-29 13:44:09 +02:00
|
|
|
# upload: .uploaded
|
2021-04-30 15:48:36 +02:00
|
|
|
|
|
|
|
run: upload
|
2022-07-29 13:44:09 +02:00
|
|
|
ssh lab1_5@pionier6 -t -- docker run --rm --net host -it --device /dev/ttyS0 -v /home/lab1_5:/ws -v /dev/shm:/dev/shm irth7/ros2aria-dev /bin/bash /ws/ros2aria/run.sh
|
2021-04-30 15:48:36 +02:00
|
|
|
|
2021-05-20 14:01:49 +02:00
|
|
|
legacy:
|
2021-05-21 13:46:31 +02:00
|
|
|
ssh lab1_5@pionier6 -t -- ./run.sh
|