diff --git a/manualtests/Makefile b/manualtests/Makefile deleted file mode 100644 index ae5bcdb..0000000 --- a/manualtests/Makefile +++ /dev/null @@ -1,16 +0,0 @@ - -YMLS := $(shell ls *yml | sed 's/\.yml$$//') - -help: - @echo "usage: make [test]" - @echo "tests: $(YMLS)" - -.PHONY: $(YMLS) - -$(YMLS): - docker-compose \ - -f $@.yml \ - -p $@ up \ - --build \ - --renew-anon-volumes \ - --force-recreate diff --git a/manualtests/ardupilot.yml b/manualtests/ardupilot.yml deleted file mode 100644 index a4ab76b..0000000 --- a/manualtests/ardupilot.yml +++ /dev/null @@ -1,17 +0,0 @@ -version: '3.7' - -services: - sim: - build: ./ardupilot - - bridge: - build: - context: ../ - dockerfile: manualtests/mavp2p/Dockerfile - read_only: yes - command: > - --hb-systemid=135 - tcpc:sim:5760 - udps:0.0.0.0:5600 - ports: - - '5600:5600/udp' diff --git a/manualtests/ardupilot/Dockerfile b/manualtests/ardupilot/Dockerfile deleted file mode 100644 index b65d2b9..0000000 --- a/manualtests/ardupilot/Dockerfile +++ /dev/null @@ -1,30 +0,0 @@ -FROM amd64/debian:stretch-slim - -# refs -# http://ardupilot.org/dev/docs/building-setup-linux.html#building-setup-linux -# https://github.com/ArduPilot/ardupilot/blob/master/Tools/environment_install/install-prereqs-ubuntu.sh -# http://ardupilot.org/dev/docs/setting-up-sitl-on-linux.html - -RUN apt update && apt-get install -y --no-install-recommends \ - ca-certificates \ - git \ - python \ - python-future \ - python-setuptools \ - python-wheel \ - python-dev \ - python-pip \ - python-lxml \ - gcc \ - g++ \ - procps - -RUN pip install pymavlink - -RUN git clone https://github.com/ArduPilot/ardupilot \ - && cd ardupilot \ - && git checkout 3abe8fe \ - && git submodule update --init --recursive - -ENTRYPOINT [ "sh", "-c", "cd ardupilot/APMrover2 \ - && ../Tools/autotest/sim_vehicle.py --no-mavproxy" ] diff --git a/manualtests/dronekit.yml b/manualtests/dronekit.yml deleted file mode 100644 index a9641d8..0000000 --- a/manualtests/dronekit.yml +++ /dev/null @@ -1,17 +0,0 @@ -version: '3.7' - -services: - sim: - build: ./dronekit - - bridge: - build: - context: ../ - dockerfile: manualtests/mavp2p/Dockerfile - read_only: yes - command: > - --hb-systemid=135 - tcpc:sim:5760 - udps:0.0.0.0:5600 - ports: - - '5600:5600/udp' diff --git a/manualtests/dronekit/Dockerfile b/manualtests/dronekit/Dockerfile deleted file mode 100644 index 7553fc7..0000000 --- a/manualtests/dronekit/Dockerfile +++ /dev/null @@ -1,21 +0,0 @@ -FROM amd64/debian:stretch-slim - -# refs -# http://python.dronekit.io/develop/sitl_setup.html - -RUN apt update && apt-get install -y --no-install-recommends \ - ca-certificates \ - git \ - python-dev \ - python-setuptools \ - python-lxml \ - gcc \ - && rm -rf /var/lib/apt/lists/* - -RUN git clone https://github.com/dronekit/dronekit-sitl \ - && cd /dronekit-sitl \ - && git checkout a63e97e \ - && python setup.py install \ - && rm -rf /dronekit-sitl - -ENTRYPOINT [ "dronekit-sitl", "copter" ] diff --git a/manualtests/mavp2p/Dockerfile b/manualtests/mavp2p/Dockerfile deleted file mode 100644 index ea4b5c6..0000000 --- a/manualtests/mavp2p/Dockerfile +++ /dev/null @@ -1,11 +0,0 @@ -FROM golang:1.21 - -WORKDIR /src - -COPY go.mod go.sum ./ -RUN go mod download - -COPY *.go ./ -RUN go install . - -ENTRYPOINT [ "mavp2p" ] diff --git a/manualtests/px4.yml b/manualtests/px4.yml deleted file mode 100644 index 4e3a2de..0000000 --- a/manualtests/px4.yml +++ /dev/null @@ -1,19 +0,0 @@ -version: '3.7' - -services: - sim: - tty: true - build: ./px4 - - bridge: - build: - context: ../ - dockerfile: manualtests/mavp2p/Dockerfile - read_only: yes - command: > - --print - --hb-systemid=135 - udps:0.0.0.0:14550 - udps:0.0.0.0:5600 - ports: - - '5600:5600/udp' diff --git a/manualtests/px4/Dockerfile b/manualtests/px4/Dockerfile deleted file mode 100644 index d218cc7..0000000 --- a/manualtests/px4/Dockerfile +++ /dev/null @@ -1,46 +0,0 @@ -FROM amd64/debian:buster-slim - -# refs -# https://dev.px4.io/en/simulation/ -# https://raw.githubusercontent.com/PX4/Devguide/master/build_scripts/ubuntu_sim_common_deps.sh -# https://raw.githubusercontent.com/PX4/Devguide/master/build_scripts/ubuntu_sim.sh -# https://github.com/PX4/Firmware - -RUN apt-get update && apt-get install -y --no-install-recommends \ - ca-certificates \ - curl \ - git \ - make \ - cmake \ - binutils \ - g++ \ - unzip \ - python-pip \ - python-empy \ - python-toml \ - python-numpy \ - python-yaml \ - gazebo9 \ - libgazebo9-dev \ - libopencv-dev \ - protobuf-compiler \ - libeigen3-dev \ - && rm -rf /var/lib/apt/lists/* - -RUN pip install jinja2==2.11.3 - -RUN git clone -b v1.9.0 --depth=1 https://github.com/PX4/Firmware px4 - -WORKDIR /px4 - -# enable udp broadcasting -RUN sed -i '/param set WEST_EN 0/a param set MAV_BROADCAST 1' ./ROMFS/px4fmu_common/init.d-posix/rcS - -# set mavlink version -# RUN sed -i '/param set WEST_EN 0/a param set MAV_PROTO_VER 1' ./ROMFS/px4fmu_common/init.d-posix/rcS - -RUN make px4_sitl - -ENV HEADLESS 1 - -ENTRYPOINT [ "make", "px4_sitl", "gazebo" ]