

PYTHONUNBUFFERED=1 PATH=G:\Program Files\Webots\lib\controller G:\Program Files\Webots\msys64\mingw64\binįile "G:\Program Files\Webots\projects\robots\robotis\darwin-op\libraries\python37\managers. The first step is to recompile the physics plugin with the -g flag, in order to add debugging information to the compiled plugin. Can you tell me what should I add?įrom managers import RobotisOp2GaitManager, RobotisOp2MotionManagerįile "D:/controllers/op2_controller2/op2_controller2.py", line 16, inįile "G:\Program Files\Webots\projects\robots\robotis\darwin-op\libraries\python37\managers.py", line 15, in The step method has to be called to run it (before calling the robot step function).

And I'm sure to add the extra path you mentioned, but it seems some more PATH needs to be added. Remote control: To debug or understand your controllers behavior. Once the compilation step is complete, open webots and load the scene at. Select the radius field and set it value to -0.05. yay -S git git-lfs base-devel rustup rsync cmake clang hdf5 python webots. This should open the node and display its fields. Then Double-click on the OilBarrel node in the scene tree.
Webots debug stepping series#
After I succeeded in running the example code, I tried to control a robotis-op2 robot in pycharm. Wish to create interesting robot motion and have control over your world and robots in Webots Softillusion Channel is here with a new tutorial series on th. In the dialog box, choose PROTO nodes (Webots) / objects / obstacles / OilBarrel (Solid), then click Add. PYTHONUNBUFFERED=1 PATH=G:\Program Files\Webots\lib\controller\ G:\Program Files\Webots\msys64\mingw64\bin I believe I found the problem: you should add an extra PATH to your environment variables: The following are some debugging hints that should help you find the exact location of a crash using gdb (the GNU Debugger).
