-
I have successfully run the cartpole_simulink.ipynb file. Now I have two questions:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Regarding question 1: Yes, Regarding question 2: You can define an input vector (array with one dimension) with multiple actions. But you have to set this also in your Simulink model in the TCP/IP Input block (see description here for block parameter Number of input signals). I created an example here in a separate branch with 2 float actions for you to check out. |
Beta Was this translation helpful? Give feedback.
-
I add step_size in this simple_reacher_simulink in the attachment and run it successfully. |
Beta Was this translation helpful? Give feedback.
Regarding question 1: Yes,
action = int(action)
is specific to the environment and its action space. Floats are no problem.Regarding question 2: You can define an input vector (array with one dimension) with multiple actions. But you have to set this also in your Simulink model in the TCP/IP Input block (see description here for block parameter Number of input signals).
I created an example here in a separate branch with 2 float actions for you to check out.