cyberbotics / webots

Webots Robot Simulator
https://cyberbotics.com
Apache License 2.0
3.31k stars 1.72k forks source link

Robot Window Initialization Failure #2248

Closed cagrikaymak closed 4 years ago

cagrikaymak commented 4 years ago

Hey everyone, I cannot open Robotis Op2's robot window on Windows 10. I get the following error: Error: robot window initialization failed Error: Cannot load the "C: /Users/Mechatronics/AppData/Local/Programs/Webots/projects/robots/robotis/darwin-op/plugins/robot_windows/robotis-op2_window/robotis-op2_window.dll" robot window library. If controller is written in C++, there is no problem. Everything is ok in Ubuntu, I only have this problem in Windows 10. So I had to work on Ubuntu for a while, is there a solution for Windows 10? Thanks in advance By the way, I am using Webots 2020b revision1 version. Python version is 3.7.3

DavidMansolino commented 4 years ago

Thank you for this bug report, I can indeed reproduce this on Windows with the humanoid_marathon simulation.

cagrikaymak commented 4 years ago

I'm looking forward. Many thanks in advance

omichel commented 4 years ago

May be related with #1311.

stefaniapedrazzi commented 4 years ago

Sorry for the late answer.. To fix your issue you should probably just copy the following runtime.ini file in your Python controller folder: https://github.com/cyberbotics/webots/blob/master/projects/robots/robotis/darwin-op/controllers/motion_player/runtime.ini

This is fixing the issue for the humanoid_marathon simulation.

Please let us know if it is working for you as well.

cagrikaymak commented 4 years ago

Many thanks, everything is ok now.

Stefania Pedrazzi notifications@github.com, 15 Eki 2020 Per, 15:33 tarihinde şunu yazdı:

Sorry for the late answer.. To fix your issue you should probably just copy the following runtime.ini file in your Python controller folder:

https://github.com/cyberbotics/webots/blob/master/projects/robots/robotis/darwin-op/controllers/motion_player/runtime.ini

This is fixing the issue for the humanoid_marathon simulation.

Please let us know if it is working for you as well.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/cyberbotics/webots/issues/2248#issuecomment-709286450, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB7VCVJUIJ64GGVSTXLGCS3SK3T3NANCNFSM4RQPKWXQ .