How can I set some dynamic obstalces in GridWorld?

5 views (last 30 days)
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 Comments
GU BOCHEN
GU BOCHEN on 28 Apr 2021
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 on 28 Apr 2021
GU,
Thank you very much for sharing! I appreciate it greatly.

Sign in to comment.

Accepted Answer

Priysha LNU
Priysha LNU on 5 Jan 2021
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.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!