Quadcopter Drone Train DDPG agent to follow Trajectory path

조회 수: 17 (최근 30일)
Naing Lin
Naing Lin 2025년 4월 24일
댓글: Bay Jay 2025년 4월 24일
I would like to know :
>> Is there an Matlab Example showing How to train Quadcopter Drone with RL agent to follow Trajectory Path ?
>> If isn't, Is it possible to train Quadcopter Drone with DDPG agent ?
>> I have seen the example of Quadcopter Project on Matlab with PID tuning but not with RL agent like DDPG or others.
>> As I am engineering student and very new to Control Dynamic,
Can somebody please point me out that Quadcopter Drone to train RL agent to follow Trajectory path?
I would be really thankful and appreciated for any help advice and guidance.
  댓글 수: 1
Bay Jay
Bay Jay 2025년 4월 24일
I hope this helps:
  1. Get an RL example of DDPG used in MATLAB.
Run the training of that example and read through how a reward function is created. Reward function is done used the parameters of the vehicle/quadrotor example yaw, positions
2. Obtain an Quadotor module built in simulink. Or you can build the simulink version follow the mathematical equations you know. Verify that it behavior like the mathematical model when coding in MATLAB. (Give an input and run it as an ODE)
2. In your application, the trajectory becomes like a reference that changes in time. Use MATLAB signal editor to creat the trajectory. Lets say you have trajectory for x,y. Then you can create the x(t) for one signal editor and y(t) for another signal edtion. And the total time is 10 second to completely track the trajectory. As the RL agent learns the current x and current y are fed to the RL agent as states/observations.
3. The reward function whoud be like an error of the current x(t) and y(t) compared to the Quadrotor values x,y
Start simple and learn as you progress. All the best.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Reinforcement Learning에 대해 자세히 알아보기

제품


릴리스

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by