Rencently,our team decide to replaceGazebo with pybullet.
However,when we use VScode(Ubuntu18.04):before "import pybullet as p", if we press the "Ctrl",and use the mouse to click the code,it will jump to other position(maybe jump to some variables' definition)
but when we input "import pybullet as p", we can't jump code by "ctrl" and mouse any more.
There is a blue line scrolls over it which means waiting.It takes a long time and in the end, we can't jump.
In other words, if our python code has "import pybullet ",then we can't debug by the "ctrl"and "mouse". Then if we want jump to a position,we have
to use "ctrl+F" to find it. Restart the Vscode or computer don't work.
You know,it's very inconvenient for a programmer.
Every computer of ours has this problem.
Pycharm is ok,but Vscode has the problem.
However,when we import others like "numpy","pandas","matplotlib","tensorflow" in Vscode, these libraries don't influence the jump function.
So I don't know the problem is due to the Vscode or pybullet.
Do you have the same problem??
before that,we can jump:
after import pybullet,there is a bule line (takes a long time),and the IDE can't jump code any more unless we delete the pybullet's import and restart Vscode.
Official Python bindings with a focus on reinforcement learning and robotics.
1 post • Page 1 of 1