Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to load the yarp devices built by wearables in Windows #91

Closed
GiulioRomualdi opened this issue Nov 17, 2020 · 39 comments
Closed

Comments

@GiulioRomualdi
Copy link
Member

GiulioRomualdi commented Nov 17, 2020

We installed wearables with the superbuild however when we try to check the devices yarp dev --list the following errors occur

[ERROR] |yarp.os.YarpPluginSettings| Error while opening C:/robotology-superbuild/build/install/lib/yarp/IAnalogSensorToIWear.dll:
  The specified procedure could not be found.

[ERROR] |yarp.os.YarpPluginSettings| Error while opening C:/robotology-superbuild/build/install/lib/yarp/IAnalogSensorToIWear.dll:
  The specified procedure could not be found.

[ERROR] |yarp.os.YarpPluginSettings| Error while opening C:/robotology-superbuild/build/install/lib/yarp/IAnalogSensorToIWear.dll:
  The specified procedure could not be found.

[ERROR] |yarp.os.YarpPluginSettings| Error while opening C:/robotology-superbuild/build/install/lib/yarp/IAnalogSensorToIWear.dll:
  The specified procedure could not be found.

[WARNING] |yarp.dev.Drivers| Wrong library name for plugin ianalogsensor_to_iwear
[ERROR] |yarp.os.YarpPluginSettings| Error while opening C:/robotology-superbuild/build/install/lib/yarp/ICub.dll:
  The specified procedure could not be found.

[ERROR] |yarp.os.YarpPluginSettings| Error while opening C:/robotology-superbuild/build/install/lib/yarp/ICub.dll:
  The specified procedure could not be found.

[ERROR] |yarp.os.YarpPluginSettings| Error while opening C:/robotology-superbuild/build/install/lib/yarp/ICub.dll:
  The specified procedure could not be found.

[ERROR] |yarp.os.YarpPluginSettings| Error while opening C:/robotology-superbuild/build/install/lib/yarp/ICub.dll:
  The specified procedure could not be found.

[WARNING] |yarp.dev.Drivers| Wrong library name for plugin icub_wearable_device
[ERROR] |yarp.os.YarpPluginSettings| Error while opening C:/robotology-superbuild/build/install/lib/yarp/IWearRemapper.dll:
  The specified procedure could not be found.

[ERROR] |yarp.os.YarpPluginSettings| Error while opening C:/robotology-superbuild/build/install/lib/yarp/IWearRemapper.dll:
  The specified procedure could not be found.

[ERROR] |yarp.os.YarpPluginSettings| Error while opening C:/robotology-superbuild/build/install/lib/yarp/IWearRemapper.dll:
  The specified procedure could not be found.

[ERROR] |yarp.os.YarpPluginSettings| Error while opening C:/robotology-superbuild/build/install/lib/yarp/IWearRemapper.dll:
  The specified procedure could not be found.

[WARNING] |yarp.dev.Drivers| Wrong library name for plugin iwear_remapper
[ERROR] |yarp.os.YarpPluginSettings| Error while opening C:/robotology-superbuild/build/install/lib/yarp/IWearWrapper.dll:
  The specified procedure could not be found.

[ERROR] |yarp.os.YarpPluginSettings| Error while opening C:/robotology-superbuild/build/install/lib/yarp/IWearWrapper.dll:
  The specified procedure could not be found.

[ERROR] |yarp.os.YarpPluginSettings| Error while opening C:/robotology-superbuild/build/install/lib/yarp/IWearWrapper.dll:
  The specified procedure could not be found.

[ERROR] |yarp.os.YarpPluginSettings| Error while opening C:/robotology-superbuild/build/install/lib/yarp/IWearWrapper.dll:
  The specified procedure could not be found.

[WARNING] |yarp.dev.Drivers| Wrong library name for plugin iwear_wrapper
[ERROR] |yarp.os.YarpPluginSettings| Error while opening C:/robotology-superbuild/build/install/lib/yarp/IXsensMVNControlWrapper.dll:
  The specified procedure could not be found.

[ERROR] |yarp.os.YarpPluginSettings| Error while opening C:/robotology-superbuild/build/install/lib/yarp/IXsensMVNControlWrapper.dll:
  The specified procedure could not be found.

[ERROR] |yarp.os.YarpPluginSettings| Error while opening C:/robotology-superbuild/build/install/lib/yarp/IXsensMVNControlWrapper.dll:
  The specified procedure could not be found.

[ERROR] |yarp.os.YarpPluginSettings| Error while opening C:/robotology-superbuild/build/install/lib/yarp/IXsensMVNControlWrapper.dll:
  The specified procedure could not be found.

[WARNING] |yarp.dev.Drivers| Wrong library name for plugin ixsensmvncontrol_wrapper
[ERROR] |yarp.os.YarpPluginSettings| Error while opening C:/robotology-superbuild/build/install/lib/yarp/XsensSuit.dll:
  The specified procedure could not be found.

[ERROR] |yarp.os.YarpPluginSettings| Error while opening C:/robotology-superbuild/build/install/lib/yarp/XsensSuit.dll:
  The specified procedure could not be found.

[ERROR] |yarp.os.YarpPluginSettings| Error while opening C:/robotology-superbuild/build/install/lib/yarp/XsensSuit.dll:
  The specified procedure could not be found.

[ERROR] |yarp.os.YarpPluginSettings| Error while opening C:/robotology-superbuild/build/install/lib/yarp/XsensSuit.dll:
  The specified procedure could not be found.

I'm using windows 10. From dependency walker everything is ok

@traversaro
Copy link
Member

Which version of YARP are you using?

@traversaro
Copy link
Member

The error:

Wrong library name for plugin ixsensmvncontrol_wrapper

Was added to solve the issue robotology/yarp#975 . Can you double check the content of the automatically generated .ini files installed by wearables for YARP devices?

@traversaro
Copy link
Member

I see that this repo is still shipping manually written .ini files for YARP devices. While this in theory is still supported, is for sure much more error prone. Switching to the automatic generation of this file should avoid possible problems.

@traversaro
Copy link
Member

Related issue: #79 .

@traversaro
Copy link
Member

I see that this repo is still shipping manually written .ini files for YARP devices. While this in theory is still supported, is for sure much more error prone. Switching to the automatic generation of this file should avoid possible problems.

In theory this was fixed in #80 . I am not sure why .ini files are still around.

@traversaro
Copy link
Member

I see that this repo is still shipping manually written .ini files for YARP devices. While this in theory is still supported, is for sure much more error prone. Switching to the automatic generation of this file should avoid possible problems.

In theory this was fixed in #80 . I am not sure why .ini files are still around.

Sorry, I probably was wrong and instead the files are no longer there.

@GiulioRomualdi
Copy link
Member Author

Which version of YARP are you using?

YARP version 3.4.1+29-20201020.2+git35f80d6d4

@GiulioRomualdi
Copy link
Member Author

GiulioRomualdi commented Nov 17, 2020

I see that this repo is still shipping manually written .ini files for YARP devices. While this in theory is still supported, is for sure much more error prone. Switching to the automatic generation of this file should avoid possible problems.

In theory this was fixed in #80 . I am not sure why .ini files are still around.

Sorry, I probably was wrong and instead the files are no longer there.

Yes, looks like the fix was done only to devices and not wrappers.

Update: the ini files for wrappers are still around.

@traversaro
Copy link
Member

In any case, I think it would be useful to check all the files installed by wearables and check if there is anything strange there. I am particularly worried about the ICub device, that being such an ambiguous name (as noted in #79) could create problems with similar named configuration files in case insensitive filesystems.

@traversaro
Copy link
Member

All the other devices installed by the superbuild instead listed by yarp dev --list with no problems?

@DanielePucci
Copy link

@Yeshasvitvs @lrapetti may you give your inputs here?

@yeshasvitirupachuri
Copy link
Member

I am here with @GiulioRomualdi , it seems like the installation of the plugins of wearable repo is not done correctly.

@yeshasvitirupachuri
Copy link
Member

All the other devices installed by the superbuild instead listed by yarp dev --list with no problems?

yes, only the plugins of the wearable library could not be run

@lrapetti lrapetti changed the title Unable to load the yarp devices built by wearables Unable to load the yarp devices built by wearables in Windows Nov 17, 2020
@traversaro
Copy link
Member

Given that the demo was done successfully, I guess that this was solved, or at least a workaround was found?

traversaro added a commit to robotology/robotology-superbuild that referenced this issue Nov 18, 2020
This should permit to debug problems such as robotology/wearables#91 .
@yeshasvitirupachuri
Copy link
Member

@GiulioRomualdi please close this if do not have the problem anymore.

@traversaro
Copy link
Member

traversaro commented Nov 19, 2020

To be honest I was able to reproduce the problem as part of the robotology-superbuild CI in https://github.com/robotology/robotology-superbuild/pull/521/checks?check_run_id=1425070305 (see " Check if YARP devices are correctly listed [Windows]" section, part of PR robotology/robotology-superbuild#521). So I think the problem is still there, see:

2020-11-19T17:00:54.0647419Z [INFO] |yarp.dev.Drivers| Here are devices listed for your system:
2020-11-19T17:00:54.2423470Z [ERROR] |yarp.os.YarpPluginSettings| Error while opening C:/robotology/robotology/lib/yarp/IAnalogSensorToIWear.dll:
2020-11-19T17:00:54.2425179Z   The specified procedure could not be found.
2020-11-19T17:00:54.2425697Z 
2020-11-19T17:00:54.2426213Z 
2020-11-19T17:00:54.2429587Z [ERROR] |yarp.os.YarpPluginSettings| Error while opening C:/robotology/robotology/lib/yarp/IAnalogSensorToIWear.dll:
2020-11-19T17:00:54.2431515Z   The specified procedure could not be found.
2020-11-19T17:00:54.2432054Z 
2020-11-19T17:00:54.2432380Z 
2020-11-19T17:00:54.2472351Z [WARNING] |yarp.dev.Drivers| Wrong library name for plugin ianalogsensor_to_iwear
2020-11-19T17:00:54.2484665Z [ERROR] |yarp.os.YarpPluginSettings| Error while opening C:/robotology/robotology/lib/yarp/ICub.dll:
2020-11-19T17:00:54.2485871Z   The specified procedure could not be found.
2020-11-19T17:00:54.2486390Z 
2020-11-19T17:00:54.2486734Z 
2020-11-19T17:00:54.2491262Z [ERROR] |yarp.os.YarpPluginSettings| Error while opening C:/robotology/robotology/lib/yarp/ICub.dll:
2020-11-19T17:00:54.2492460Z   The specified procedure could not be found.
2020-11-19T17:00:54.2492958Z 
2020-11-19T17:00:54.2493315Z 
2020-11-19T17:00:54.2531497Z [WARNING] |yarp.dev.Drivers| Wrong library name for plugin icub_wearable_device
2020-11-19T17:00:54.2560709Z [ERROR] |yarp.os.YarpPluginSettings| Error while opening C:/robotology/robotology/lib/yarp/IWearRemapper.dll:
2020-11-19T17:00:54.2565023Z   The specified procedure could not be found.
2020-11-19T17:00:54.2565566Z 
2020-11-19T17:00:54.2565971Z 
2020-11-19T17:00:54.2567066Z [ERROR] |yarp.os.YarpPluginSettings| Error while opening C:/robotology/robotology/lib/yarp/IWearRemapper.dll:
2020-11-19T17:00:54.2568207Z   The specified procedure could not be found.
2020-11-19T17:00:54.2568703Z 
2020-11-19T17:00:54.2569026Z 
2020-11-19T17:00:54.2608016Z [WARNING] |yarp.dev.Drivers| Wrong library name for plugin iwear_remapper
2020-11-19T17:00:54.2621222Z [ERROR] |yarp.os.YarpPluginSettings| Error while opening C:/robotology/robotology/lib/yarp/IWearWrapper.dll:
2020-11-19T17:00:54.2622494Z   The specified procedure could not be found.
2020-11-19T17:00:54.2623312Z 
2020-11-19T17:00:54.2623659Z 
2020-11-19T17:00:54.2627984Z [ERROR] |yarp.os.YarpPluginSettings| Error while opening C:/robotology/robotology/lib/yarp/IWearWrapper.dll:
2020-11-19T17:00:54.2629187Z   The specified procedure could not be found.
2020-11-19T17:00:54.2629693Z 
2020-11-19T17:00:54.2631649Z 
2020-11-19T17:00:54.2675907Z [WARNING] |yarp.dev.Drivers| Wrong library name for plugin iwear_wrapper
2020-11-19T17:00:54.2689554Z [ERROR] |yarp.os.YarpPluginSettings| Error while opening C:/robotology/robotology/lib/yarp/IXsensMVNControlWrapper.dll:
2020-11-19T17:00:54.2691374Z   The specified procedure could not be found.
2020-11-19T17:00:54.2691893Z 
2020-11-19T17:00:54.2692202Z 
2020-11-19T17:00:54.2697888Z [ERROR] |yarp.os.YarpPluginSettings| Error while opening C:/robotology/robotology/lib/yarp/IXsensMVNControlWrapper.dll:
2020-11-19T17:00:54.2699345Z   The specified procedure could not be found.
2020-11-19T17:00:54.2699950Z 
2020-11-19T17:00:54.2700310Z 
2020-11-19T17:00:54.2740612Z [WARNING] |yarp.dev.Drivers| Wrong library name for plugin ixsensmvncontrol_wrapper
2020-11-19T17:00:54.3549673Z [ERROR] |yarp.os.YarpPluginSettings| Error while opening C:/robotology/robotology/lib/iCub/esdCan.dll:
2020-11-19T17:00:54.3551267Z   The specified module could not be found.
2020-11-19T17:00:54.3551959Z 
2020-11-19T17:00:54.3552366Z 
2020-11-19T17:00:54.3587475Z [WARNING] |yarp.dev.Drivers| Wrong library name for plugin ecan
2020-11-19T17:00:54.3902672Z [INFO] |yarp.dev.Drivers| Device "AudioPlayerWrapper", available on request (found in C:/robotology/robotology/lib/yarp/yarp_AudioPlayerWrapper.dll library), is a network wrapper.
2020-11-19T17:00:54.3904860Z [INFO] |yarp.dev.Drivers| Device "AudioRecorderWrapper", available on request (found in C:/robotology/robotology/lib/yarp/yarp_AudioRecorderWrapper.dll library), is a network wrapper.
2020-11-19T17:00:54.3907164Z [INFO] |yarp.dev.Drivers| Device "IMURosPublisher", available on request (found in C:/robotology/robotology/lib/yarp/yarp_IMURosPublisher.dll library), is a network wrapper.
2020-11-19T17:00:54.3909097Z [INFO] |yarp.dev.Drivers| Device "JoypadControlClient", available on request (found in C:/robotology/robotology/lib/yarp/yarp_JoypadControlClient.dll library), is a network wrapper.
2020-11-19T17:00:54.3911350Z [INFO] |yarp.dev.Drivers| Device "JoypadControlServer", available on request (found in C:/robotology/robotology/lib/yarp/yarp_JoypadControlServer.dll library), is a network wrapper.
2020-11-19T17:00:54.3913518Z [INFO] |yarp.dev.Drivers| Device "MagneticFieldRosPublisher", available on request (found in C:/robotology/robotology/lib/yarp/yarp_MagneticFieldRosPublisher.dll library), is a network wrapper.
2020-11-19T17:00:54.3915768Z [INFO] |yarp.dev.Drivers| Device "PoseStampedRosPublisher", available on request (found in C:/robotology/robotology/lib/yarp/yarp_PoseStampedRosPublisher.dll library), is a network wrapper.
2020-11-19T17:00:54.3917934Z [INFO] |yarp.dev.Drivers| Device "RGBDSensorClient", available on request (found in C:/robotology/robotology/lib/yarp/yarp_RGBDSensorClient.dll library), is a network wrapper.
2020-11-19T17:00:54.3919811Z [INFO] |yarp.dev.Drivers| Device "RGBDSensorWrapper", available on request (found in C:/robotology/robotology/lib/yarp/yarp_RGBDSensorWrapper.dll library), is a network wrapper.
2020-11-19T17:00:54.3921804Z [INFO] |yarp.dev.Drivers| Device "Rangefinder2DClient", available on request (found in C:/robotology/robotology/lib/yarp/yarp_Rangefinder2DClient.dll library).
2020-11-19T17:00:54.3923637Z [INFO] |yarp.dev.Drivers| Device "Rangefinder2DWrapper", available on request (found in C:/robotology/robotology/lib/yarp/yarp_Rangefinder2DWrapper.dll library).
2020-11-19T17:00:54.3925565Z [INFO] |yarp.dev.Drivers| Device "SDLJoypad", available on request (found in C:/robotology/robotology/lib/yarp/yarp_SDLJoypad.dll library), wrapped by "JoypadControlServer".
2020-11-19T17:00:54.3927458Z [INFO] |yarp.dev.Drivers| Device "TemperatureRosPublisher", available on request (found in C:/robotology/robotology/lib/yarp/yarp_TemperatureRosPublisher.dll library), is a network wrapper.
2020-11-19T17:00:54.3930350Z [INFO] |yarp.dev.Drivers| Device "WrenchStampedRosPublisher", available on request (found in C:/robotology/robotology/lib/yarp/yarp_WrenchStampedRosPublisher.dll library), is a network wrapper.
2020-11-19T17:00:54.3933616Z [INFO] |yarp.dev.Drivers| Device "analogServer", available on request (found in C:/robotology/robotology/lib/yarp/yarp_analogServer.dll library), is a network wrapper.
2020-11-19T17:00:54.3935598Z [INFO] |yarp.dev.Drivers| Device "analogsensorclient", available on request (found in C:/robotology/robotology/lib/yarp/yarp_analogsensorclient.dll library).
2020-11-19T17:00:54.3937229Z [INFO] |yarp.dev.Drivers| Device "baseEstimatorV1", available on request (found in C:/robotology/robotology/lib/yarp/baseEstimatorV1.dll library).
2020-11-19T17:00:54.3938728Z [INFO] |yarp.dev.Drivers| Device "batteryClient", available on request (found in C:/robotology/robotology/lib/yarp/yarp_batteryClient.dll library).
2020-11-19T17:00:54.3941766Z [INFO] |yarp.dev.Drivers| Device "batteryWrapper", available on request (found in C:/robotology/robotology/lib/yarp/yarp_batteryWrapper.dll library), is a network wrapper.
2020-11-19T17:00:54.3943834Z [INFO] |yarp.dev.Drivers| Device "controlboardremapper", available on request (found in C:/robotology/robotology/lib/yarp/yarp_controlboardremapper.dll library), wrapped by "controlboardwrapper2".
2020-11-19T17:00:54.3946070Z [INFO] |yarp.dev.Drivers| Device "controlboardwrapper2", available on request (found in C:/robotology/robotology/lib/yarp/yarp_controlboardwrapper2.dll library), is a network wrapper.
2020-11-19T17:00:54.3947952Z [INFO] |yarp.dev.Drivers| Device "fakeFrameGrabber", available on request (found in C:/robotology/robotology/lib/yarp/yarp_fakeFrameGrabber.dll library), wrapped by "grabberDual".
2020-11-19T17:00:54.3949702Z [INFO] |yarp.dev.Drivers| Device "fakeMotor", available on request (found in C:/robotology/robotology/lib/yarp/yarp_fakeMotor.dll library), wrapped by "controlboardwrapper2".
2020-11-19T17:00:54.3951840Z [INFO] |yarp.dev.Drivers| Device "fakebot", available on request (found in C:/robotology/robotology/lib/yarp/yarp_fakebot.dll library).
2020-11-19T17:00:54.3953806Z [INFO] |yarp.dev.Drivers| Device "ftnode", available on request (found in C:/robotology/robotology/lib/yarp/ftnode.dll library), wrapped by "analogServer".
2020-11-19T17:00:54.3956312Z [INFO] |yarp.dev.Drivers| Device "ftshoe", available on request (found in C:/robotology/robotology/lib/yarp/ftshoe.dll library), wrapped by "analogServer".
2020-11-19T17:00:54.3958036Z [INFO] |yarp.dev.Drivers| Device "genericSensorClient", available on request (found in C:/robotology/robotology/lib/yarp/genericSensorClient.dll library).
2020-11-19T17:00:54.3961066Z [INFO] |yarp.dev.Drivers| Device "grabberDual", available on request (found in C:/robotology/robotology/lib/yarp/yarp_grabberDual.dll library), is a network wrapper.
2020-11-19T17:00:54.3965965Z [INFO] |yarp.dev.Drivers| Device "group", available on request (found in C:/robotology/robotology/lib/yarp/yarp_group.dll library).
2020-11-19T17:00:54.3967631Z [INFO] |yarp.dev.Drivers| Device "human_control_board", available on request (found in C:/robotology/robotology/lib/yarp/HumanControlBoard.dll library), wrapped by "controlboardwrapper2".
2020-11-19T17:00:54.3969477Z [INFO] |yarp.dev.Drivers| Device "human_dynamics_estimator", available on request (found in C:/robotology/robotology/lib/yarp/HumanDynamicsEstimator.dll library).
2020-11-19T17:00:54.3971479Z [INFO] |yarp.dev.Drivers| Device "human_dynamics_publisher", available on request (found in C:/robotology/robotology/lib/yarp/HumanDynamicsPublisher.dll library), is a network wrapper.
2020-11-19T17:00:54.3973385Z [INFO] |yarp.dev.Drivers| Device "human_dynamics_wrapper", available on request (found in C:/robotology/robotology/lib/yarp/HumanDynamicsWrapper.dll library), is a network wrapper.
2020-11-19T17:00:54.3975574Z [INFO] |yarp.dev.Drivers| Device "human_robot_pose_publisher", available on request (found in C:/robotology/robotology/lib/yarp/HumanRobotPosePublisher.dll library), is a network wrapper.
2020-11-19T17:00:54.3977436Z [INFO] |yarp.dev.Drivers| Device "human_state_provider", available on request (found in C:/robotology/robotology/lib/yarp/HumanStateProvider.dll library), wrapped by "human_state_wrapper".
2020-11-19T17:00:54.3980179Z [INFO] |yarp.dev.Drivers| Device "human_state_publisher", available on request (found in C:/robotology/robotology/lib/yarp/HumanStatePublisher.dll library), is a network wrapper.
2020-11-19T17:00:54.3983652Z [INFO] |yarp.dev.Drivers| Device "human_state_wrapper", available on request (found in C:/robotology/robotology/lib/yarp/HumanStateWrapper.dll library), is a network wrapper.
2020-11-19T17:00:54.3986086Z [INFO] |yarp.dev.Drivers| Device "human_wrench_provider", available on request (found in C:/robotology/robotology/lib/yarp/HumanWrenchProvider.dll library), wrapped by "analogServer".
2020-11-19T17:00:54.3987900Z [INFO] |yarp.dev.Drivers| Device "inertial", available on request (found in C:/robotology/robotology/lib/yarp/yarp_inertial.dll library), is a network wrapper.
2020-11-19T17:00:54.3989801Z [INFO] |yarp.dev.Drivers| Device "localization2DClient", available on request (found in C:/robotology/robotology/lib/yarp/yarp_localization2DClient.dll library).
2020-11-19T17:00:54.3992110Z [INFO] |yarp.dev.Drivers| Device "localization2DServer", available on request (found in C:/robotology/robotology/lib/yarp/yarp_localization2DServer.dll library).
2020-11-19T17:00:54.3993842Z [INFO] |yarp.dev.Drivers| Device "map2DClient", available on request (found in C:/robotology/robotology/lib/yarp/yarp_map2DClient.dll library).
2020-11-19T17:00:54.3995308Z [INFO] |yarp.dev.Drivers| Device "map2DServer", available on request (found in C:/robotology/robotology/lib/yarp/yarp_map2DServer.dll library).
2020-11-19T17:00:54.3997438Z [INFO] |yarp.dev.Drivers| Device "multipleanalogsensorsclient", available on request (found in C:/robotology/robotology/lib/yarp/yarp_multipleanalogsensorsclient.dll library).
2020-11-19T17:00:54.3999906Z [INFO] |yarp.dev.Drivers| Device "multipleanalogsensorsremapper", available on request (found in C:/robotology/robotology/lib/yarp/yarp_multipleanalogsensorsremapper.dll library).
2020-11-19T17:00:54.4002462Z [INFO] |yarp.dev.Drivers| Device "multipleanalogsensorsserver", available on request (found in C:/robotology/robotology/lib/yarp/yarp_multipleanalogsensorsserver.dll library), is a network wrapper.
2020-11-19T17:00:54.4004683Z [INFO] |yarp.dev.Drivers| Device "navigation2DClient", available on request (found in C:/robotology/robotology/lib/yarp/yarp_navigation2DClient.dll library).
2020-11-19T17:00:54.4006370Z [INFO] |yarp.dev.Drivers| Device "navigation2DServer", available on request (found in C:/robotology/robotology/lib/yarp/yarp_navigation2DServer.dll library).
2020-11-19T17:00:54.4008438Z [INFO] |yarp.dev.Drivers| Device "pipe", available on request (found in C:/robotology/robotology/lib/yarp/yarp_pipe.dll library).
2020-11-19T17:00:54.4012502Z [INFO] |yarp.dev.Drivers| Device "portaudio", available on request (found in C:/robotology/robotology/lib/yarp/yarp_portaudio.dll library), wrapped by "grabber".
2020-11-19T17:00:54.4014326Z [INFO] |yarp.dev.Drivers| Device "portaudioPlayer", available on request (found in C:/robotology/robotology/lib/yarp/yarp_portaudioPlayer.dll library), wrapped by "AudioPlayerWrapper".
2020-11-19T17:00:54.4016490Z [INFO] |yarp.dev.Drivers| Device "portaudioRecorder", available on request (found in C:/robotology/robotology/lib/yarp/yarp_portaudioRecorder.dll library), wrapped by "AudioRecorderWrapper".
2020-11-19T17:00:54.4018470Z [INFO] |yarp.dev.Drivers| Device "remote_controlboard", available on request (found in C:/robotology/robotology/lib/yarp/yarp_remote_controlboard.dll library), wrapped by "controlboardwrapper2".
2020-11-19T17:00:54.4020243Z [INFO] |yarp.dev.Drivers| Device "remote_grabber", available on request (found in C:/robotology/robotology/lib/yarp/yarp_remote_grabber.dll library), wrapped by "grabber".
2020-11-19T17:00:54.4022987Z [INFO] |yarp.dev.Drivers| Device "remotecontrolboardremapper", available on request (found in C:/robotology/robotology/lib/yarp/yarp_controlboardremapper.dll library), wrapped by "controlboardwrapper2".
2020-11-19T17:00:54.4025275Z [INFO] |yarp.dev.Drivers| Device "robotDescriptionClient", available on request (found in C:/robotology/robotology/lib/yarp/yarp_robotDescriptionClient.dll library).
2020-11-19T17:00:54.4027267Z [INFO] |yarp.dev.Drivers| Device "robotDescriptionServer", available on request (found in C:/robotology/robotology/lib/yarp/yarp_robotDescriptionServer.dll library).
2020-11-19T17:00:54.4029163Z [INFO] |yarp.dev.Drivers| Device "robot_position_controller", available on request (found in C:/robotology/robotology/lib/yarp/RobotPositionController.dll library).
2020-11-19T17:00:54.4030912Z [INFO] |yarp.dev.Drivers| Device "serial", available on request (found in C:/robotology/robotology/lib/yarp/yarp_serial.dll library), is a network wrapper.
2020-11-19T17:00:54.4032565Z [INFO] |yarp.dev.Drivers| Device "serialport", available on request (found in C:/robotology/robotology/lib/yarp/yarp_serialport.dll library), wrapped by "serial".
2020-11-19T17:00:54.4034266Z [INFO] |yarp.dev.Drivers| Device "test_grabber", available on request (found in C:/robotology/robotology/lib/yarp/yarp_fakeFrameGrabber.dll library), wrapped by "grabberDual".
2020-11-19T17:00:54.4036156Z [INFO] |yarp.dev.Drivers| Device "test_motor", available on request (found in C:/robotology/robotology/lib/yarp/yarp_fakeMotor.dll library), wrapped by "controlboardwrapper2".
2020-11-19T17:00:54.4037764Z [INFO] |yarp.dev.Drivers| Device "transformClient", available on request (found in C:/robotology/robotology/lib/yarp/yarp_transformClient.dll library).
2020-11-19T17:00:54.4039327Z [INFO] |yarp.dev.Drivers| Device "transformServer", available on request (found in C:/robotology/robotology/lib/yarp/yarp_transformServer.dll library).
2020-11-19T17:00:54.4041306Z [INFO] |yarp.dev.Drivers| Device "virtualAnalogClient", available on request (found in C:/robotology/robotology/lib/yarp/virtualAnalogClient.dll library).
2020-11-19T17:00:54.4043145Z [INFO] |yarp.dev.Drivers| Device "virtualAnalogRemapper", available on request (found in C:/robotology/robotology/lib/yarp/virtualAnalogRemapper.dll library).
2020-11-19T17:00:54.4045084Z [INFO] |yarp.dev.Drivers| Device "virtualAnalogServer", available on request (found in C:/robotology/robotology/lib/yarp/yarp_virtualAnalogServer.dll library), is a network wrapper.
2020-11-19T17:00:54.4046975Z [INFO] |yarp.dev.Drivers| Device "wholebodydynamics", available on request (found in C:/robotology/robotology/lib/yarp/wholeBodyDynamicsDevice.dll library).
2020-11-19T17:00:54.4048765Z [INFO] |yarp.dev.Drivers| Device "xsens_tf_publisher", available on request (found in C:/robotology/robotology/lib/yarp/XsensTFPublisher.dll library), is a network wrapper.
2020-11-19T17:00:54.4050694Z [INFO] |yarp.dev.Drivers| Device "canBusAnalogSensor", available on request (found in C:/robotology/robotology/lib/iCub/canBusAnalogSensor.dll library), wrapped by "analogServer".
2020-11-19T17:00:54.4052603Z [INFO] |yarp.dev.Drivers| Device "canBusInertialMTB", available on request (found in C:/robotology/robotology/lib/iCub/canBusInertialMTB.dll library), wrapped by "AnalogSensor".
2020-11-19T17:00:54.4054540Z [INFO] |yarp.dev.Drivers| Device "canBusSkin", available on request (found in C:/robotology/robotology/lib/iCub/canBusSkin.dll library), wrapped by "skinwrapper".
2020-11-19T17:00:54.4056508Z [INFO] |yarp.dev.Drivers| Device "canBusVirtualAnalogSensor", available on request (found in C:/robotology/robotology/lib/iCub/canBusVirtualAnalogSensor.dll library), wrapped by "virtualAnalogServer".
2020-11-19T17:00:54.4058820Z [INFO] |yarp.dev.Drivers| Device "canmotioncontrol", available on request (found in C:/robotology/robotology/lib/iCub/canmotioncontrol.dll library), wrapped by "controlboardwrapper2".
2020-11-19T17:00:54.4061138Z [INFO] |yarp.dev.Drivers| Device "cartesiancontrollerclient", available on request (found in C:/robotology/robotology/lib/iCub/cartesiancontrollerclient.dll library), is a network wrapper.
2020-11-19T17:00:54.4063557Z [INFO] |yarp.dev.Drivers| Device "cartesiancontrollerserver", available on request (found in C:/robotology/robotology/lib/iCub/cartesiancontrollerserver.dll library), wrapped by "cartesiancontrollerclient".
2020-11-19T17:00:54.4065814Z [INFO] |yarp.dev.Drivers| Device "embObjFTsensor", available on request (found in C:/robotology/robotology/lib/iCub/embObjFTsensor.dll library), wrapped by "analogServer".
2020-11-19T17:00:54.4067431Z [INFO] |yarp.dev.Drivers| Device "embObjIMU", available on request (found in C:/robotology/robotology/lib/iCub/embObjIMU.dll library), wrapped by "inertial".
2020-11-19T17:00:54.4069099Z [INFO] |yarp.dev.Drivers| Device "embObjInertials", available on request (found in C:/robotology/robotology/lib/iCub/embObjInertials.dll library), wrapped by "analogServer".
2020-11-19T17:00:54.4071525Z [INFO] |yarp.dev.Drivers| Device "embObjMais", available on request (found in C:/robotology/robotology/lib/iCub/embObjMais.dll library), wrapped by "analogServer".
2020-11-19T17:00:54.4073482Z [INFO] |yarp.dev.Drivers| Device "embObjMotionControl", available on request (found in C:/robotology/robotology/lib/iCub/embObjMotionControl.dll library), wrapped by "controlboardwrapper2".
2020-11-19T17:00:54.4075652Z [INFO] |yarp.dev.Drivers| Device "embObjSkin", available on request (found in C:/robotology/robotology/lib/iCub/embObjSkin.dll library), wrapped by "skinWrapper".
2020-11-19T17:00:54.4077199Z [INFO] |yarp.dev.Drivers| Device "embObjStrain", available on request (found in C:/robotology/robotology/lib/iCub/embObjStrain.dll library), wrapped by "analogServer".
2020-11-19T17:00:54.4079123Z [INFO] |yarp.dev.Drivers| Device "embObjVirtualAnalogSensor", available on request (found in C:/robotology/robotology/lib/iCub/embObjVirtualAnalogSensor.dll library), wrapped by "virtualAnalogServer".
2020-11-19T17:00:54.4081544Z [INFO] |yarp.dev.Drivers| Device "gazecontrollerclient", available on request (found in C:/robotology/robotology/lib/iCub/gazecontrollerclient.dll library), is a network wrapper.
2020-11-19T17:00:54.4083215Z [INFO] |yarp.dev.Drivers| Device "imuFilter", available on request (found in C:/robotology/robotology/lib/iCub/imuFilter.dll library).
2020-11-19T17:00:54.4084934Z [INFO] |yarp.dev.Drivers| Device "parametricCalibrator", available on request (found in C:/robotology/robotology/lib/iCub/parametricCalibrator.dll library).
2020-11-19T17:00:54.4086994Z [INFO] |yarp.dev.Drivers| Device "parametricCalibratorEth", available on request (found in C:/robotology/robotology/lib/iCub/parametricCalibratorEth.dll library).
2020-11-19T17:00:54.4088810Z [INFO] |yarp.dev.Drivers| Device "sharedcan", available on request (found in C:/robotology/robotology/lib/iCub/shcan.dll library).
2020-11-19T17:00:54.4090211Z [INFO] |yarp.dev.Drivers| Device "skinWrapper", available on request (found in C:/robotology/robotology/lib/iCub/skinWrapper.dll library).

@DanielePucci
Copy link

@Yeshasvitvs @lrapetti @GiulioRomualdi, it would be nice that someone gives an update on this

Given that the demo was done successfully, I guess that this was solved, or at least a workaround was found?

to avoid future problems in hard times

@prashanthr05
Copy link
Contributor

Given that the demo was done successfully, I guess that this was solved, or at least a workaround was found?

Sorry, we got carried away with the results of the experiments. No, this issue was not solved. We need to work on this and understand the problem.

As a first step, maybe we can try to check the versions of the software on the other Windows machine on which we ran the experiment and try to replicate that environment in the newer machine (which was supposed to be used for the experiments.)

@prashanthr05
Copy link
Contributor

@GiulioRomualdi please close this if do not have the problem anymore.

I think we will forget about this issue if we close it, let's keep it open until we solve it.

@GiulioRomualdi
Copy link
Member Author

The problem is not solved. We ran the experiments on a different laptop.

I would avoid to close this issue

@traversaro
Copy link
Member

We ran the experiments on a different laptop.

Just to understand, given that the problem was present was already in May #79, that laptop was not updated since before May? Which version of YARP, CMake and wearables is that laptop using?

@lrapetti
Copy link
Member

We ran the experiments on a different laptop.

Just to understand, given that the problem was present was already in May #79, that laptop was not updated since before May? Which version of YARP, CMake and wearables is that laptop using?

I am not sure about the setup we are talking about above, but in the new setup which was prepared from scratch in Sept/Oct by @Yeshasvitvs, the device are loaded correctly. We should investigate why there is working fine.

@traversaro
Copy link
Member

traversaro commented Nov 23, 2020

We ran the experiments on a different laptop.

Just to understand, given that the problem was present was already in May #79, that laptop was not updated since before May? Which version of YARP, CMake and wearables is that laptop using?

I am not sure about the setup we are talking about above, but in the new setup which was prepared from scratch in Sept/Oct by @Yeshasvitvs, the device are loaded correctly. We should investigate why there is working fine.

That is quite interesting. A few info that it would be interesting to get there:

  • Version of the system dependencies such as ACE and how have been obtained (old installers, vcpkg, vcpkg binary archive)
  • Version of CMake
  • Version of YCM
  • Version of YARP

@lrapetti lrapetti added this to the Iteration 51 milestone Nov 23, 2020
@yeshasvitirupachuri
Copy link
Member

yeshasvitirupachuri commented Nov 23, 2020

That is quite interesting. A few info that it would be interesting to get there:

  • Version of the system dependencies such as ACE and how have been obtained (old installers, vcpkg, vcpkg binary archive)

I double checked the dependencies, and I used https://github.com/microsoft/vcpkg/ at microsoft/vcpkg@5d33bd3

May be this needs to be aligned with the documentation on robotology https://github.com/robotology/robotology-superbuild#system-libraries and use https://github.com/robotology/robotology-superbuild-dependencies-vcpkg/releases

  • Version of CMake

CMake 3.18.3

  • Version of YCM

https://github.com/robotology/ycm/tree/ycm-0.11

  • Version of YARP

https://github.com/robotology/yarp/tree/yarp-3.4

Another detail as pointed by @traversaro is the last release tag of wearables https://github.com/robotology/wearables/releases/tag/v1.0.0 that is used in https://github.com/robotology/robotology-superbuild/blob/master/releases/2020.11.yaml#L106-L109

We are working on a bit of cleanup now following which @lrapetti with make a new release and test the new release on the machine @GiulioRomualdi ran into problems.

UPDATE: I was doing some development #82 #84 #81 on the machine and it was updated to master branch latest commit e7429bc

@traversaro
Copy link
Member

UPDATE: I was doing some development #82 #84 #81 on the machine and it was updated to master branch latest commit e7429bc

And it still works fine, i.e. yarpdev --list does not have the problem described in the issue?

@yeshasvitirupachuri
Copy link
Member

And it still works fine, i.e. yarpdev --list does not have the problem described in the issue?

yes, all the plugins (devices and wrappers) that are built and installed from wearables repo are discovered correctly.

@claudia-lat
Copy link

claudia-lat commented Dec 1, 2020

The idea can be to investigate if the error is reproducible on a new installation on Windows.
@GiulioRomualdi if you agree we can move this issue on Backlog. Let us know.

@claudia-lat claudia-lat modified the milestones: Iteration 51, Iteration 52 Dec 1, 2020
@traversaro
Copy link
Member

I am not sure about the setup we are talking about above, but in the new setup which was prepared from scratch in Sept/Oct by @Yeshasvitvs, the device are loaded correctly. We should investigate why there is working fine.

Can you please refer to machines with their IIT code so that it is clear to which machine are we referring to?

And it still works fine, i.e. yarpdev --list does not have the problem described in the issue?

yes, all the plugins (devices and wrappers) that are built and installed from wearables repo are discovered correctly.

Was that on a clean build or not?
Can you please specify the exact checkout of YARP/YCM/Wearables/Windows that you used? In the previous comment you just linked the branches of YARP/YCM, but those do not specify the exact version, you should specify the exact commit.

To clarify, the fact that on some machines it is working, and that on other machines and on GitHub Actions (that is a perfectly deterministic environment) it is not working, lead me to think that there is probably either something that depends on the environment (such as some local CMake or environment change) of the specific machine, or (even worse!) a non-deterministic issue. If it was the other way around (i.e. that on GitHub actions it did work, and just on some machines it was not working) I would be more relaxed, but the fact that the problem is constantly occuring on GitHub Actions lead me to think that it is highly probably that it could occur on new Windows machine, and I think that having software that "sometimes" does not work is a ticking bomb that could create problems in the future (think for example if we need to prepare a new laptop for Andy/iFeel demos).

@claudia-lat
Copy link

@Yeshasvitvs @lrapetti @kouroshD may we have a quick call today to understand the problem? Maybe it was not clear to me yesterday and it's better to clarify it with you.

@GiulioRomualdi
Copy link
Member Author

Hi, guys at this moment. I don't have time to check this. I'm sorry. If you don't want to keep the issue open please feel free to close it. Someone will reopen it again in case of problems

@claudia-lat
Copy link

No worries @GiulioRomualdi . It's better for us (An.Dy guys) to have a check on this. Thanks anyway.

@lrapetti
Copy link
Member

lrapetti commented Dec 2, 2020

I am not sure about the setup we are talking about above, but in the new setup which was prepared from scratch in Sept/Oct by @Yeshasvitvs, the device are loaded correctly. We should investigate why there is working fine.

Can you please refer to machines with their IIT code so that it is clear to which machine are we referring to?
...
Was that on a clean build or not?

We are referring to IITICUBLAP177, which we got new so it was a clean laptop with clean build

Can you please specify the exact checkout of YARP/YCM/Wearables/Windows that you used?

Here are the exact commit:

We could try to replicate the same configuration to investigate if the problem was introduced by some update in YCM or YARP, or try to update them to check if the error occur also on this machine.

@traversaro
Copy link
Member

I restarted the build in https://github.com/robotology/robotology-superbuild/pull/521/checks?check_run_id=1485361566, and the problem is not occurring anymore in the Stable and Unstable branches, and is still occurring in the 2020.11 that was still using the v1.0.0 release (the 2020.11 build on master instead should use v1.1.0). So it is possible that the problem was solved by some of the latest PRs to wearables, but probably it is a good idea to have the same check to Wearable's CI to be sure. I will rebase robotology/robotology-superbuild#521 on the top of the latest master commit to see if the problem is also solved with the latest 2020.11 releae as well.

@lrapetti
Copy link
Member

lrapetti commented Dec 2, 2020

So it is possible that the problem was solved by some of the latest PRs to wearables

Possibly replacing .ini file with autogenerated files (#80, and #93)

but probably it is a good idea to have the same check to Wearable's CI to be sure.

I'll open a separate issue for adding this check #98

@traversaro
Copy link
Member

Perfect!

@yeshasvitirupachuri
Copy link
Member

Possibly replacing .ini file with autogenerated files (#80, and #93)

Following these changes in the upstream, I compiled and installed wearables on the Alienware machine this issue was observed by @GiulioRomualdi . All the wearable devices are now discovered and loaded correctly.

2Capture

Capture

NOTE: For the xsens_suit plugin to load while running yarp plugin --all the xsens key needs to be plugged in

We can do one more final testing of launching xsens suit wearable device on this machine before closing this issue, to ensure everything is in order.

CC @lrapetti @S-Dafarra @GiulioRomualdi @claudia-lat @traversaro @DanielePucci

@yeshasvitirupachuri
Copy link
Member

We can do one more final testing of launching xsens suit wearable device on this machine before closing this issue, to ensure everything is in order.

I did a quick test with the xsens sensors placed on the table, and the xsens suit wearable device loaded, calibrated and started data acquisition without any problems

Capture

@traversaro
Copy link
Member

Perfect, thanks @Yeshasvitvs ! At this point we can close the issue I guess?

@yeshasvitirupachuri
Copy link
Member

Closing after checking with @GiulioRomualdi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants