Hi, I'm trying to use reinforcement learning to train an agent as a controller of a motor.
My motor's transfer function is:
After reading this example, I only made some minor modifications:
1. Replace the watertank model with my motor's transfer function like below:
2. Set the sample time Ts and simulation time Tf to 1/8000 and 10, respectively.
However, the result is:
It doesn't work :(
The reward is always zero, and I don't know why.
Could anybody give me advices on how to deal with this problem?
Very thankful in advance.