imusim icon indicating copy to clipboard operation
imusim copied to clipboard

imusim depends on old simpy API

Open GregoryEAllen opened this issue 9 years ago • 2 comments

As such, it is fairly non-functional on current platforms.

SimPy changed to simpy, and SimPy.Simulation seems to no longer exist.

imusim seems to be fairly deeply dependent on SimPy.Simulation.

Is this fixable, or is the dependency too deep?

GregoryEAllen avatar Nov 11 '15 18:11 GregoryEAllen

Hi Gregory,

I have recently run into this myself - I'd not used IMUSim for a while myself but picked it up again for a project.

Per the recommendation here, I have changed the requirement in setup.py to simpy>=2.3,<3, so that it at least pulls in a compatible version.

There is a guide to porting from SimPy 2 to SimPy 3. It looks like it would be quite straightforward.

martinling avatar Mar 14 '16 10:03 martinling

Do you have any plans to bring IMUSim forward to modern SimPy?

GregoryEAllen avatar Mar 14 '16 16:03 GregoryEAllen