#Calling Agent.RequestDecision() from inside OnActionRecieved()
1 messages · Page 1 of 1 (latest)
Actions are results of decision requests. And if I remember correctly, RequestDecision just registers a flag, that a decision should be requested in Next env step (i.e fixed update)
I implemented requestdecision in like a recursive loop way, and its been working as intended as far as I can tell
Im pretty sure RequestDecision calls CollectObservations which then makes a decision and calls OnActionRecieved
I think the decision requester component just calls RequestDecision every step where the confusion might lie, but I think I had to remove that component
not too sure on the inner workings, but I managed to get it to work
yes you don't need the decision requester if you're calling it manually (and yes, request decision also calls request action so you only need to request a decision and it will handle the rest)