ok , I got it
The first part of my idea is correct,fine
with direct kinematics you can build up a number of training sets :
a11,a21,a31,a41 -> x1,y1,z1
a12,a22,a32,a42 -> x2,y2,z2
......................................................
a1n,a2n,a3n,a4n -> xn,yn,zn
whereas a1n,a2n,a3n,a4n are the...