Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • NN data generator: This script generates the dataset used in during the training phase
  • NN training: This scripts trains both networks (direct and inverse kin) for the selected datasets
  • Space explorer NN: This script explore the space and compute computes the inverse kinematics error as for the previous approach

Comparison

Both approaches solve the problem of computing an accurate inverse kinematic function. However, there is a winner in terms of simplicity, flexibility and generality. But first let's have a look at the results 

image-2024-6-21_10-10-6.pngImage AddedError function correctionImage AddedImage Added

The first plot represents the error for the quadrupole position (X and Y) computed with the analytical solution of the inverse kinematics, the second represents the same error but with inverse kinematics based on the optimized error function and, finally, the third one is the one based on the feedforward neural network

image-2024-6-21_10-10-55.pngImage Addedimage-2024-6-21_15-14-4.pngImage AddedImage Added

These plots are the same as before except for the fact that these represent the orientation errors.

Both the error function optimization and the feedforward NN show almost the same performances for the position while, on the orientation side, the feedforward nn outperforms if compared with the other.

For this reason and for the fact is capable of modeling uncaught behavior defined in the function error, the Feedforward NN is the favourite approach to solve this problem.