yarp
yarp copied to clipboard
yarpserver --read doesn't set the correct socket
trafficstars
Describe the bug
As per title, --read is not enough to set the correct socket specified in the conf file. I still need to set manually like yarpserver --read --socket 10001. Otherwise it doesn't even start.
To Reproduce
Set your .conf file with 127.0.0.1 10001 yarp and run yarpserver --read
Expected behavior
yarp where should return the correct socket
Screenshots
(robenv) C:\GitHubProj\robotology-superbuild\build>yarpserver --read
==========================
| __ __ ___ ____ ____ |
| \ \/ // || _ \ | _ \ |
| \ // /| || |/ / | |/ / |
| / // ___ || _ \ | _/ |
| /_//_/ |_||_| \_\|_| |
| |
==========================
Call with --help for information on available options
Using port database: :memory:
Using subscription database: :memory:
IP address: default
Port number: 10000
PROBLEM: need to change settings in C:\Users\dsortino\AppData\Roaming\yarp\config\_darios.conf
Current settings: host 192.168.16.1 port 10001 family yarp
Desired settings: host 192.168.16.1 port 10000 family yarp
Please specify '--write' if it is ok to overwrite current settings, or
Please specify '--read' to use the current settings, or
delete C:\Users\dsortino\AppData\Roaming\yarp\config\_darios.conf
[ERROR] Aborting.
Configuration (please complete the following information):
- OS: Windows 10
- yarp version: 3.9.0+7-20240123.1+gitee0524166
- compiler:
Additional context