|
|
|
|
|
|
// Request the last decision with no callbacks
|
|
|
|
// We request a decision so Python knows the Agent is done immediately
|
|
|
|
m_Brain?.RequestDecision(m_Info, sensors); |
|
|
|
ResetSensors(); |
|
|
|
|
|
|
|
// We also have to write any to any DemonstationStores so that they get the "done" flag.
|
|
|
|
foreach (var demoWriter in DemonstrationWriters) |
|
|
|
|
|
|
|
|
|
|
ResetSensors(); |
|
|
|
|
|
|
|
if (doneReason != DoneReason.Disabled) |
|
|
|
{ |
|
|
|