-
Notifications
You must be signed in to change notification settings - Fork 165
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Question]: Steps to support latest CoppeliaSim version #356
Comments
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! |
@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! |
Hi all. I have an update on this. |
@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: |
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 Android<https://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 GitHub<#356 (comment)>, or unsubscribe<https://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 |
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. |
Hi there, thanks for the great library 😃 . 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.
The text was updated successfully, but these errors were encountered: