I'd like to know exactly when the simSetObjectPosition, simSetObjectOrientation, simSet.... methods actually perform the update of the position/orientation etc.? I ask this because in my code when I update a position and then immediately after if I check that it has been updated through an if statement or print() it doesn't seem to show an update. However, the update does show up in the next cycle of the loop.
I'm running this in a non-threaded script where the code is executed during the sensing phase. Am I right in saying that these are non-blocking methods which do not guarantee immediate updates? Is there a workaround to getting the update immediately?
This post seems to be experiencing the same problem: http://www.forum.coppeliarobotics.com/viewtopic.php?f=9&t=6646
Thanks for your help.
Typically: "How do I... ", "How can I... " questions
2 posts • Page 1 of 1
Who is online
Users browsing this forum: Bing [Bot], gloria, Google [Bot] and 24 guests