reinforcement learning, 3D simulink model
이전 댓글 표시
how to built a reset function of your 3D simulink model in reinforcement learning? i am getting state from rectangular joint in model now after every episode i have to reset the simulink model if my requirement have not been meet those requirment is based on state. my question is how can i reset the simulink model in model script?
답변 (1개)
Emmanouil Tzorakoleftherakis
2020년 11월 29일
0 개 추천
There is nothing specific you need to do for a 3d Simulink model. You can follow any other Simulink example from Reinforcement Learning Toolbox. One example that sounds relevant is this one. I would take a look at the 'walkerResetFcn' script.
댓글 수: 5
Fawad Salam
2020년 12월 3일
Emmanouil Tzorakoleftherakis
2020년 12월 3일
I am not really seeing how this is any different. The reset function I mentioned above randomizes the angles and these values are then used as initial conditions in the respective joint blocks in the robot model.
Fawad Salam
2020년 12월 7일
Emmanouil Tzorakoleftherakis
2020년 12월 7일
If you don't reset the joint angles, you may be overfitting to the initial condition of the episode. At the end of the day this is optional of course, it's up to you to specify what you want to reset and how.
Fawad Salam
2020년 12월 8일
카테고리
도움말 센터 및 File Exchange에서 Simulink에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
