This repo constructs the Lyapunov candidate based on neural network.
The controller is specified below:
kD = diag([5,10]);
de = dq - dr;
ddq = -kD * de + ddr;
Plot the tracking error, e(t).
Plot (dr1,dr2) and (dq1,dq2) diagrams.
velocity_animation.mp4
The found Lyapunov candidate has been tested for the unseen intial condition, leading to a good result with negative constraints as expected.