cormas icon indicating copy to clipboard operation
cormas copied to clipboard

Space visualization often does not show the pov of agents and cells

Open tomooda opened this issue 1 year ago • 6 comments

How to reproduce:

  1. Open the ECEC model and initialize with homogeneousEnv2.
  2. The space visualization sometimes renders the initial state of the sim and sometimes does not.

tomooda avatar May 19 '23 01:05 tomooda

It seems that the canvas is correct but the view is centered off the sight. This may be related to the wrong response to the dragging operation by the mouse.

tomooda avatar May 19 '23 02:05 tomooda

Typing a space causes an error, saying Instance of AnObsoleteRSEasing class did not understand #backout. Some object holds an obsolete class? We should avoid direct references to class objects, and use names instead.

tomooda avatar May 19 '23 02:05 tomooda

Roassal3 installation is broken when Cormas is just installed. Some methods are installed and then deleted somehow. Maybe Roassal3 is installed twice?

tomooda avatar May 19 '23 04:05 tomooda

On Iceberg, I unloaded Roassal3 by "forget repository" and loaded Roassal3 from the local repository. Then, Roassal3 is nicely installed. I don't see this issue for now on the normal Roassal3 installation.

tomooda avatar May 19 '23 04:05 tomooda

With the manual installation of Roassal3, I can drag the visualization to change the viewpoint in the normal way. The space key does not cause the error described in https://github.com/cormas/cormas/issues/586#issuecomment-1553920910 . So the problem is unlikely in the code, but in how to install Roassal3. We need to find out programmatic way to install Roassal3, or in other words, what is preventing us from the normal installation of Roassal3?

tomooda avatar May 19 '23 04:05 tomooda

I loaded Cormas3 via Iceberg UI and Roassal3 was successfully installed. Many prompts appeared to ask me to resolve conflicts and I chose to "Load INCOMMING" to all those prompts.

tomooda avatar May 20 '23 00:05 tomooda