Skip to content

Commit

Permalink
Add target for 10Hz playback
Browse files Browse the repository at this point in the history
  • Loading branch information
akhenry committed Feb 29, 2024
1 parent 78c2a7b commit d214800
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions docker/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ endif

all: ## run all, yamcs-up (yamcs-down) and yamcs-simulator
$(MAKE) yamcs-simulator


all-10hz:
$(MAKE) yamcs-simulator-10hz

yamcs-up: | yamcs-down ## bring up yamcs system
docker-compose up -d

Expand All @@ -18,7 +21,13 @@ yamcs-down: ## bring down yamcs system
yamcs-simulator: yamcs-up ## run yamcs simulator
@echo "connect via http://localhost:8090/ system make take about 50 seconds to startup" && \
export SIMULATOR_PLAYBACK_RATE="${SIMULATOR_PLAYBACK_RATE}:-1"
cd .. && $(PYTHON) ./simulator.py --rate=$SIMULATOR_PLAYBACK_RATE
cd .. && $(PYTHON) ./simulator.py

yamcs-simulator-10-hz: yamcs-up ## run yamcs simulator
@echo "connect via http://localhost:8090/ system make take about 50 seconds to startup" && \
export SIMULATOR_PLAYBACK_RATE="${SIMULATOR_PLAYBACK_RATE}:-1"
cd .. && $(PYTHON) ./simulator.py --rate=10


yamcs-shell: ## shell into yamcs container
docker-compose up -d && docker run -it yamcs "bash"
Expand Down

0 comments on commit d214800

Please sign in to comment.