Skip to content

The agent is getting stuck when its mind is too busy #53

Description

@cleberjamaral

Sometimes the agent mind is too busy with many intentions. It may get stuck waiting to finish old intentions but new one come up and it actually become even more busy.

The image below shows an agent ready to submit a task. After finishing the connection and rotating an agent was wondering around this agent, so probably it had difficulty to find a route to the goal area. After that, even with a clean path, the agent did not get rid of this consuming loop with the number of intentions growing even in an easy to solve path situation.

Screenshot_2021-02-11_09-09-10

The following statistics shows a successful connection, but after that, since an agent was blocking the passage the master started to have difficulty to get rid of this situation

A2	command_zombie	[zombie_do(connect(agentA2,-1,0))]
A2	do_connect	[lastAction(connect),lastActionResult(failed_partner),lastAction(connect),lastActionResult(failed_random)]
A2	command_zombie	[zombie_do(connect(agentA2,-1,0))]
A2	do_connect	[lastAction(connect),lastActionResult(success),lastAction(connect),lastActionResult(success)]
A2	command_zombie	[zombie_do(detach(w))]
A2	do_detach	[lastAction(skip),lastActionResult(success),lastAction(detach),lastActionResult(success)]
A2	excessive_delay	[current_intentions([230034,229896])]
A2	excessive_delay	[current_intentions([229896,230034])]
A2	excessive_delay	[current_intentions([230591,230646,230707])]
A2	excessive_delay	[current_intentions([230646,230707,230591])]
A2	excessive_delay	[current_intentions([230707,230591,230646])]
A2	excessive_delay	[current_intentions([231513,231560,231583,231736,164439])]
A2	excessive_delay	[current_intentions([231560,231583,231736,164439,231513])]
A2	excessive_delay	[current_intentions([231583,231736,164439,231513,231560])]
A2	excessive_delay	[current_intentions([231736,164439,231513,231560,231583])]
A2	excessive_delay	[current_intentions([164439,231513,231560,231583,231736])]

The situation was getting worst after some time, with even more intentions and the agent still stuck

A2	excessive_delay	[current_intentions([239035,239039,239038,239045,239047,239062,239064,239077,239104,239158,164439,238997])]
A2	excessive_delay	[current_intentions([239039,239038,239045,239047,239062,239064,239077,239104,239158,164439,238997,239035])]
A2	excessive_delay	[current_intentions([239038,239045,239047,239062,239064,239077,239104,239158,164439,238997,239035,239039])]
A2	excessive_delay	[current_intentions([239045,239047,239062,239064,239077,239104,239158,164439,238997,239035,239039,239038])]
A2	excessive_delay	[current_intentions([239047,239062,239064,239077,239104,239158,164439,238997,239035,239039,239038,239045])]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions