Assign collision parameters to each entity (instead of having global ones for all agents and objects). From what I understand, the epsilon and alpha values of an entity solely influence its own reaction during collisions. This means that if two agents collide, the epsilon value of one agent will only impact how much that specific agent is pushed, without affecting the collision behavior of the other agent.
Also made me realize the get_default_state method in vivarium/controllers/converters.py is no longer usefull with the new init functions (make one less place where we need to define default values)
TODO :
Change the init functions to enable specifying custom epsilons and alphas for agents and objects
Try to tune the values to make the behaviors more realistic (for example custom values for agents and objects)
Description
Assign collision parameters to each entity (instead of having global ones for all agents and objects). From what I understand, the epsilon and alpha values of an entity solely influence its own reaction during collisions. This means that if two agents collide, the epsilon value of one agent will only impact how much that specific agent is pushed, without affecting the collision behavior of the other agent.
Also made me realize the
get_default_state
method invivarium/controllers/converters.py
is no longer usefull with the new init functions (make one less place where we need to define default values)TODO :
Change the init functions to enable specifying custom epsilons and alphas for agents and objects Try to tune the values to make the behaviors more realistic (for example custom values for agents and objects)
Related Issue (if applicable)
59
How to Test
Launch the server
Launch the Panel interface
Screenshots (if applicable)