question

Steven Chen avatar image
0 Likes"
Steven Chen asked Jordan Johnson answered

Reinforcement Learning Failed to Apply Queried Action

Hello,

At final step "Using a Trained Brain" of Bonsai tutorial, the query to server was success, but response value didn't write to Actions parameter table.

00.png

01.png

03.png

Value of "NextType" didn't changed in Actions parameter table.

FlexSim 23.0.0 beta
reinforcement learningbetabonsai
01.png (6.3 KiB)
03.png (14.0 KiB)
00.png (17.6 KiB)
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

·
Jordan Johnson avatar image
0 Likes"
Jordan Johnson answered

Thank you for reporting this bug. I'm not sure if we'll release another version of the beta, or if we'll go straight to the 2023 release, but the fix will be in either version.

The issue is caused by this node: MAIN:/project/library/ReinforcementLearning>behaviour/eventfunctions/bonsaiSettings/logMessages/takeAction

Because there's a node named "takeAction" inside the eventfunctions node, it prevents the takeAction function_s from being called.

To work around this issue, try renaming that node to "_takeAction". It should work correctly, although you may notice a slight change in the text shown when running an unmanaged simulator.

5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.