How can I set some dynamic obstalces in GridWorld?

3 次查看(过去 30 天)
I am learning to use the reinforcement learning toolbox. I read the tutorial about GridWorld but the positions of the obstacles seem to be fixed and I want to make the obstacles move, for example, one grid at each step. Can the obstalces move?
  3 个评论
GU BOCHEN
GU BOCHEN 2021-4-28
Hi Alexander,
I gave up using MATLAB finally, cause I could not solve this problem.
I used Python to build up the environment and here is my codes: GitHub - Adobec/gu-boc-sun: My dissertation codes
Here is my explanation about my codes if you can translate Chinese into your language: 基于强化学习动态避障的Python实现(绝赞摸鱼版)_Adobii的博客-CSDN博客
There are two static and two dynamic obstacles in the environment (gridworld_v1.py), and the Q-learning algorithm is in main.py. Hope this can help.
After that, I found a keyword "puckworld", which is a continuous dynamic environment. I am not sure whether this environment is inside MATLAB RL ToolBox. Maybe you can try to search it.
Best wishes to you
Donald Alexander
Donald Alexander 2021-4-28
GU,
Thank you very much for sharing! I appreciate it greatly.

请先登录,再进行评论。

采纳的回答

Priysha LNU
Priysha LNU 2021-1-5
Hi,
Following are a few answered MATLAB Answers posts with similar queries:
The comments and answers provided in these posts might help you resolve this query.
Hope this helps!
Thanks!
DISCLAIMER: These are my own views and in no way depict those of MathWorks.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Sequence and Numeric Feature Data Workflows 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by