How to add custom environment for Reinforcement learning toolbox?

I want to make a 3d environment representing a neighborhood containing some blocks as the buildings. I want to use this model as the environment in the toolbox for the agent to interact with and find the shortest path. How should I do that? I'm having difficulties defining this using classes.

답변 (1개)

Emmanouil Tzorakoleftherakis
Emmanouil Tzorakoleftherakis 2023년 10월 27일

0 개 추천

Why do you need a 3d world for this problem? Unless you consider the z dimension (e.g. if you do planning for UAVs), you only need a 2d env. Even if you were to do it for visualization, I wouldn't recommend training in the 3d world since it would only make training slower. I would start with a grid world or some occupancy grid that you can tailor to match the 3d world you have in mind:

댓글 수: 2

That's the problem, my agent is a UAV. I want to find the optimum path by minimising the noise emiitted from the drone. Thats why I need an interactive 3D space.

댓글을 달려면 로그인하십시오.

질문:

2023년 10월 25일

Community Treasure Hunt

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

Start Hunting!

Translated by