How do I randomize the value in a constant block for a local reset function for RL training
Show older comments
I am trying to train an RL Agent for a quadcopter model and for the same, I need to randomize the desired location of the drone which is a vector of 3 elements. I have followed the RL-Water Tank example( https://www.mathworks.com/help/reinforcement-learning/ug/create-simulink-environment-and-train-agent.html ) for the local reset function but I am not able to randomize the constant value in the same way. Please help.
Thanking You
Apoorv Pandey
apoorv.pandey.19e@iitram.ac.in



Here I tried to test it by deliberately using a constant value.
Accepted Answer
More Answers (0)
Categories
Find more on Quadcopters and Drones in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!