This commit is contained in:
Jozef Šimko 2022-05-20 16:07:55 +02:00
parent ba6bc69c40
commit d6d3a4e41f

View File

@ -35,10 +35,12 @@ Server can be launched with 1 or 2 input parameters. The number of parameters de
**config_file** - configuration file with exact name of variables **config_file** - configuration file with exact name of variables
* Manual mode - server waits for input commands from client, sends them to laser sensor and returns results back to client #### Manual mode
- server waits for input commands from client, sends them to laser sensor and returns results back to client
- `./server <port>` - `./server <port>`
* Automatic mode - server loads variables from configuration file *config.txt*, starts measuring and sends results to client continuously. #### Automatic mode
- server loads variables from configuration file *config.txt*, starts measuring and sends results to client continuously.
- `./server <port> [config_file]` - `./server <port> [config_file]`
### Client ### Client
@ -48,6 +50,8 @@ Client has to be lauched with 2 input parameters.
**port** - port number of server **port** - port number of server
- `./client <IP address> <port>`
### Demo ### Demo
No input parameters. No input parameters.