attachedWearableDeviceName is actually used for some print information, but it is not particular useful to print the device, as if you have multiple devices (for example, a left and right couple of device) both they will have the same device value. Instead, it is more useful to print the key that have been passed to the attachAll method, that is the name attribute of the elem tag child of the in the attach-related element of the yarprobotinterface xml, see for example https://github.com/robotology/wearables/blob/3d57b0b3dd9dae5293cbd5690f91dec4c473dd43/devices/HapticGlove/conf/HapticGlove.xml#L72 .
serialComPortName
is unused, so we remove itattachedWearableDeviceName
is actually used for some print information, but it is not particular useful to print thedevice
, as if you have multiple devices (for example, a left and right couple of device) both they will have the samedevice
value. Instead, it is more useful to print the key that have been passed to theattachAll
method, that is the name attribute of theelem
tag child of the in the attach-related element of the yarprobotinterface xml, see for example https://github.com/robotology/wearables/blob/3d57b0b3dd9dae5293cbd5690f91dec4c473dd43/devices/HapticGlove/conf/HapticGlove.xml#L72 .Fix https://github.com/robotology/wearables/issues/205 .