Skip to content

High attribute values can causes NaN in motor values for agents #25

@Marsolo1

Description

@Marsolo1

Description

Setting very high values for some agent's attributes (such as friction or theta mul causes motor values to become NaN, and crashes the app.

Steps to Reproduce

  • Launch the server and web interface;
  • select one or more agent and set the friction value to 1000

This should crash the interface (not the server), and if launched in debug mode, we can see that a ValueError is raised because one of the motor attribute is NaN.

Environment (Optional)

  • OS: MacOS
  • Browser: Firefox
  • Python Version: 3.11.7

Screenshots (Optional)

-

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions