Open saultshaker opened 10 months ago
We stopped updating the this code base, so it is incompatible with newer versions of pyelastica.
In order to fix this error, boundary condition class have to be derived from ConstraintBase . In your fork you can make the change.
Background
I've been able to successfully run all Cases in this repo within a virtual environment. In it, I am using
pyelastica==0.1.0.post5
However, if I keep all things the same but changed to
pyelastica==0.2.2.post2
, I get the following error when I runCase1/logging_bio_args.py
Attempting to find the cause of this error, I believe this the error resulted from the adoption of Mixin and Composition to the code design, which happened after the publication of the Elastica-RL codebase.
Help!
Is there an easy way to adapt this code from Case 1 the WallBoundaryForSphere class to be compatible with
pyelastica==0.3.1.post1
?Other Information
I am working on an RL project and am trying to recreate Case 1 as a benchmark for my custom system. Specifically, I am trying to recreate the target sphere moving in a bounded box so beautifully illustrated here.
For that system, I am using
pyelastica==0.3.1.post1
. When trying to recreate the target sphere moving in a bounded box, it seems that the error is being thrown when instantiating the WallBoundaryForSphere class.I'm happy to provide any additional information or context, thanks in advance!