summaryrefslogtreecommitdiff
path: root/README
blob: f20662e1404b98b248ac5626048cd8044027923d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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