From 46040007f8696ef9c0676bfba993ee26eb28faca Mon Sep 17 00:00:00 2001 From: Chris Elion Date: Sat, 21 Mar 2020 13:02:53 -0700 Subject: [PATCH] Add Academy.AutomaticSteppingEnabled to migration --- docs/Migrating.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/Migrating.md b/docs/Migrating.md index a556072759..0768c6b81d 100644 --- a/docs/Migrating.md +++ b/docs/Migrating.md @@ -41,6 +41,7 @@ The versions can be found in * The interface for SideChannels was changed: * In C#, `OnMessageReceived` now takes a `IncomingMessage` argument, and `QueueMessageToSend` takes an `OutgoingMessage` argument. * In python, `on_message_received` now takes a `IncomingMessage` argument, and `queue_message_to_send` takes an `OutgoingMessage` argument. + * Automatic stepping for Academy is now controlled from the AutomaticSteppingEnabled property. ### Steps to Migrate * Add the `using MLAgents.Sensors;` in addition to `using MLAgents;` on top of your Agent's script. @@ -57,6 +58,7 @@ The versions can be found in * `GiveModel()` to `SetModel()` * Replace `IFloatProperties` variables with `FloatPropertiesChannel` variables. * If you implemented custom `SideChannels`, update the signatures of your methods, and add your data to the `OutgoingMessage` or read it from the `IncomingMessage`. +* Replace calls to Academy.EnableAutomaticStepping()/DisableAutomaticStepping() with Academy.AutomaticSteppingEnabled = true/false. ## Migrating from 0.13 to 0.14