From f0854265f7a1b59078308965d33fe2583a5c0f9c Mon Sep 17 00:00:00 2001 From: Paul Oliver Date: Sat, 24 Aug 2024 11:57:18 -0700 Subject: Initial commit --- README | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 README (limited to 'README') diff --git a/README b/README new file mode 100644 index 0000000..f20662e --- /dev/null +++ b/README @@ -0,0 +1,33 @@ +HS-MOUSE +======== + +Repo containing experimental control code for robotics. Services are +implemented as finite state machines that communicate using the ZMQ pub/sub +protocol. + +SETUP +----- +Use GHCUP to install specific Cabal/GHC versions: + + https://www.haskell.org/ghcup/ + +Compilation requires the following: + +- Cabal >= 3.12.1.0 +- GHC >= 9.10.1 + +BUILD +----- +Build the project with: + + $> cabal build all + +TEST +---- +To check that it works, on one terminal run the "dummy-receiver" service: + + $> cabal exec dummy-receiver -- -ltrace + +On a different terminal run the "dummy-pulser" service: + + $> cabal exec dummy-pulser -- -ltrace -- cgit v1.2.1