Episode simulation doesn't run while training DDPG

2 views (last 30 days)
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?

Accepted Answer

Emmanouil Tzorakoleftherakis
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.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!