By submitting this report you automatically agree that you've read and accepted the following conditions.
Support for DQ Robotics is given voluntarily and it's not the developers' role to educate and/or convince anyone of their vision.
Any possible response and its timeliness will be based on the relevance, accuracy, and politeness of a request and the following discussion.
If a DQ Robotics member replies, the user must let them know if their response solves their issue or not.
Any suggestion/advice/request made by anyone, as well intentioned as they might be, might not be incorporated into DQ Robotics.
@dqrobotics/developers
Hi @mmmarinho. I spot a missing method in dqrobotics/python. It looks like it is just a missing wrapper. If you agree, I could prepare a PR to fix it. :-)
The method wait_for_simulation_step_to_end() is available in the Matlab and C++ versions of the DQ Robotics but is missing in the Python implementation.
Minimal Example
#!/bin/python3
from dqrobotics.interfaces.vrep import DQ_VrepInterface
import time
vi = DQ_VrepInterface()
def main() -> None:
try:
vi.connect("127.0.0.1", 19997, 100, 10)
vi.set_synchronous(True)
vi.start_simulation()
time.sleep(0.1)
vi.trigger_next_simulation_step()
vi.wait_for_simulation_step_to_end()
vi.stop_simulation()
vi.disconnect()
except KeyboardInterrupt:
pass
except Exception as e:
print(e)
vi.stop_simulation()
vi.disconnect()
if __name__ == "__main__":
main()
PYTHON OUTPUT
'dqrobotics._dqrobotics._interfaces._vrep.DQ_VrepIn' object has no attribute 'wait_for_simulation_step_to_end'
Process finished with exit code 0
Code of Conduct
By submitting this report you automatically agree that you've read and accepted the following conditions.
@dqrobotics/developers
Hi @mmmarinho. I spot a missing method in
dqrobotics/python
. It looks like it is just a missing wrapper. If you agree, I could prepare a PR to fix it. :-)The method
wait_for_simulation_step_to_end()
is available in the Matlab and C++ versions of the DQ Robotics but is missing in the Python implementation.Minimal Example
PYTHON OUTPUT
Minimal working example in C++:
CMakeLists.txt
C++ OUTPUT
Environment: