... | ... | @@ -35,6 +35,10 @@ this method allows to correct the postion easily. |
|
|
_How to correct the position?_
|
|
|
|
|
|
We have to work the array where the trajectory was saved as numpy array `traj_array = np.array(trajectories)`. Each column of the array correspond to a joint of the selected arm, this way, if change a column by using `traj_array[:,i] = X`, it can correct the trajectory.
|
|
|
|
|
|
To save the trajectories we recorded we make use of the module numpy `np.savetxt('name_document', array, fmt='f')`
|
|
|
.
|
|
|
and recall the file using `np.loadtxt('name_document', dtype=float)`.
|
|
|
|
|
|
|
|
|
|
... | ... | |