Insert Card => PIN number => Select Account => See Balance/Deposit/Withdraw
This is a simple implementation of an atm controller using a command line user interface.
python3.7 main.py
This is a test with a listener and publisher node:
- Listener: read a string for testing the controller in the atm
- Publisher: send the string to test the controller in the atm
In atm_controller/include:
- In one terminal run:
python3.7 real_atm_listener.py
- In another one run
python3.7 sample.py y
- In the first terminal follow the steps.
- read if card is inserted
- read pin number
- select account
- see balance/deposit/withdraw