Replies: 1 comment
-
@jcoholich for _ in range(iters):
p.stepSimulation()
for _ in range(iters):
p.stepSimulation()
p.addUserDebugText(....) Solution: kuka = p.loadURDF("kuka_iiwa/model.urdf")
p.addUserDebugText("tip", [0, 0, 0.1],
textColorRGB=[1, 0, 0],
textSize=1.5,
parentObjectUniqueId=kuka, <----
parentLinkIndex=6) <----
loop():... Scores:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'm noticed that using p.addUserDebugText() makes my rendering (using p.connect(p.GUI)) extremely slow. Is there a way to speed this up? Is there perhaps an issue with my system (running a 2060 super, more details in terminal output below).
Attached is a zip file with a script to reproduce the issue.
test_text_rendering.zip
I have also tried turning all of the following on and off, without any change on the order of magnitude that adding the text makes.
Here is my terminal output from running the script:
Beta Was this translation helpful? Give feedback.
All reactions