Open wpumacay opened 1 year ago
I would be happy to help with this issue @stepjam and @wpumacay as well! The latest version of Coppeliasim has a better remote API i.e. the ZeroMQ and also supports Mujoco which would be great to incorporate into PyRep.
Just for info, next CoppeliaSim release will have much better support for Python. Via ZMQ remote API, but also embedded Python scripts, and a possibility to run CoppeliaSim with Python handling the main thread (basically what PyRep does now from what I understand). Should be out within 4-6 weeks
Happy to support transferring PyRep over to use ZMQ as the backend once the new CoppleiaSim version comes out. I don't have much time these days to write, but I can certainly advise and point people in the right direction :)
Just a note that the biggest hurdle last time I looked at upgrading pyrep ~2 years ago, was the new IK system within CoppeliaSim, which required non-trivial changes to make PyRep compatible.
@stepjam, I'd be happy to assist where I can
I've recently been using reinforcement learning to train a mobile robotic arm, and PyRep has been a great help to me. I'm looking forward to the new version of PyRep. Thank you for your contributions.
@Coppelia Hello! Do you have any relevant examples to learn ZQM combined with Python API simulation
@lgzid hi, not sure what you are referring to with your question.. ;) Please wait 1-3 days, and we will have CoppeliaSim V4.6 released. It has a much better Python support/connectivity/reactivity with:
@Coppelia Thank you for your reply! Looking forward to the new version very much
Hi all. I have an update on this. Thanks to the incredible work that @Coppelia and others have done in V4.6, it is now much easier for me to upgrade PyRep, and because of that, RLBench. This is great timing, as usage of PyRep and RLBench only seems to be growing. No promises, but I'll try and aim to have these updated done by end of year.
@stepjam, wanted to contact you as soon as last few major bugs in V4.6 were fixed, which seems to be the case now. I'd be happy to help out, especially porting existing scenes (e.g. object names for handle retrieval are deprecated in favor of path/alias or IK, collections, etc. should now exclusively be set-up programmatically, not via the GUI)
After running simple example program RL bench, copelliasim is opening with scene, but after 1-2 second it closed with the following error: QObject::~QObject: Timers cannot be stopped from another thread QMutex: destroying locked mutex any way to solve it?
Hi @Jrobo. Uhmmmm, that message appears usually after CoppeliaSim is terminated via pyrep shutdown. Are you using the version of Coppeliasim supported by PyRep? (v4.1), or are you using another version?
I am using version 4.1.
Get Outlook for Androidhttps://aka.ms/AAb9ysg
From: gregor @.> Sent: Friday, January 19, 2024 4:51:12 PM To: stepjam/PyRep @.> Cc: K.A. Jamil @.>; Comment @.> Subject: Re: [stepjam/PyRep] [Question]: Steps to support latest CoppeliaSim version (Issue #356)
Uhmmmm, that message appears usually after CoppeliaSim is terminated via pyrep shutdown. Are you using the version of Coppeliasim supported by PyRep? (v4.1), or are you using another version?
— Reply to this email directly, view it on GitHubhttps://github.com/stepjam/PyRep/issues/356#issuecomment-1900666140, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGA3ONAZGTUYDPB4TTTW6FLYPKI7BAVCNFSM6AAAAAA4YXCE5OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMBQGY3DMMJUGA. You are receiving this because you commented.Message ID: @.***>
@Jrobo , could you create a separate issue?. In the meantime, are you able to run the example_youbot_navigation.py
example? That at least should show something
Just an FYI that I started the work on the upgrade to 4.6 on the weekend. I expect to have a beta version (which does not include IK) by end of next weekend. Cheers
Hi there, thanks for the great library :smiley: . I was wondering what would be the steps required for adding support for the latest version of CoppeliaSim for PyRep. There's better URDF support and some other improvements that might be great to have when using PyRep.
I took a look at how CFFI is used to expose bindings for the C API, and I'd be great if you could clarify or provide some extra information:
sim.h
file (used for the CFFI build step) generated from thesimLib.h
file in the CoppeliaSim folder?. I noticed these are in one-to-one correspondance, the difference just being on how they define the API. If that's the case, could I just generate (maybe manually) a similarsim.h
file from the latestsimLib.h
(from CoppeliaSim v4.5.1), and update the cffi build script accordingly?Maybe I could give it a try if the steps are not quite difficult.