From 7b4dc1bdb45d409523db10e432278d3adb02abe3 Mon Sep 17 00:00:00 2001 From: "Mazzella, Jesse D. (ARC-TI)[KBR Wyle Services, LLC]" Date: Wed, 7 Aug 2024 15:21:05 -0700 Subject: [PATCH] fix: update Makefile --- docker/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docker/Makefile b/docker/Makefile index 9c47079..737c814 100644 --- a/docker/Makefile +++ b/docker/Makefile @@ -15,10 +15,12 @@ define print_message @printf "\033[$(1)m$(2)\033[0m\n" endef -.PHONY: all clean yamcs-up yamcs-down yamcs-simulator yamcs-shell help +.PHONY: all all-10hz clean yamcs-up yamcs-down yamcs-simulator yamcs-simulator-10hz yamcs-shell help all: clean yamcs-simulator ## run all: clean, yamcs-up (yamcs-down) and yamcs-simulator +all-10hz: clean yamcs-simulator-10hz ## run all: clean, yamcs-up (yamcs-down) and yamcs-simulator + yamcs-up: | yamcs-down ## bring up yamcs system docker compose up -d @@ -30,6 +32,10 @@ yamcs-simulator: yamcs-up ## run yamcs simulator $(call print_message,36,Connect via http://localhost:8090/ system may take about 50 seconds to startup) cd .. && $(PYTHON) ./simulator.py +yamcs-simulator-10hz: yamcs-up ## run yamcs simulator at 10hz + $(call print_message,36,Connect via http://localhost:8090/ system may take about 50 seconds to startup) + cd .. && $(PYTHON) ./simulator.py --rate=10 + yamcs-shell: ## shell into yamcs container docker compose up -d && docker compose exec yamcs bash