... | ... | @@ -6,7 +6,7 @@ A tcp/ip communication protocol is used. This controller can be directly integra |
|
|
## Settings
|
|
|
Communication is based on tcp/ip protocol which requires a local area network. The computer IP address can be arbitrary but controller IP address have to be set to a specific-static value, which is set in the controller parameters as well as in the ros-node, designed for the communication on the PC side. The chosen controller IP address is 192.168.0.20 (in our case) and the gateway is set to 192.168.0.1 in our network. These addresses may depend on local network settings and can be adjusted in our implementation.
|
|
|
|
|
|
### Controller settings
|
|
|
#### Controller parameters
|
|
|
The following parameters need to be set in the controller:
|
|
|
|
|
|
| Name | Value |
|
... | ... | @@ -22,4 +22,16 @@ The following parameters need to be set in the controller: |
|
|
|
|
|
After these settings are done and controller is connected into the local network, the command "ping 192.168.0.20" should succeed.
|
|
|
|
|
|
#### Controller program
|
|
|
Main program:
|
|
|
|
|
|
```
|
|
|
TBD
|
|
|
```
|
|
|
JS program:
|
|
|
|
|
|
```
|
|
|
TBD
|
|
|
```
|
|
|
|
|
|
### PC settings |
|
|
\ No newline at end of file |