Constantly high negative reward in RL agent

5 visualizaciones (últimos 30 días)
Apoorv Pandey
Apoorv Pandey el 12 de En. de 2023
Comentada: awcii el 4 de Ag. de 2023
I am using a non linear controller with an RL agent to perform hovering of a quadrotor but the reward recieved is constantly -20000 (I have given -100 as negative reward and max episode length as 200). There is no change in the z position of the UAV also please help.
Thank you in advance.

Respuesta aceptada

Emmanouil Tzorakoleftherakis
Emmanouil Tzorakoleftherakis el 24 de En. de 2023
You need to see what the actions generated by the RL Agent block are and how they affect the quadrotor dynamics. That's what it comes down to. Also, if you are saying that z does not change at all, that makes me think there is a modeling error as well (unless the quadrotor can hover in place by default and and output of the agent is zero)

Más respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by