Episode simulation doesn't run while training DDPG

I'm currently trying to run the "AvoidObstaclesUsingReinforcementLearningForMobileRobots" example.
The Reinforcement Learning Episode manager opens and updates when I set the exampel to train the agent (dotraining=true), however, the little robot on the binary occupancy map does not move.
When I halt the training, the robot will move until it hits a wall (I'm assuming its tracing the last episode's path from before the training was halted).
The robot will move with the pretrained agent. I've tried training agents in other ddpg examples too and not had any issues.
How do I make the robot move during the training?

 Respuesta aceptada

Emmanouil Tzorakoleftherakis
Emmanouil Tzorakoleftherakis el 21 de Abr. de 2020

0 votos

Hi Alice,
This example has not been set up to update the visualization during training. If you follow add a MATLAB Function block following this example you should be able to update it.

Más respuestas (0)

Categorías

Más información sobre Robotics System Toolbox en Centro de ayuda y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by