Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update auxiliaryfunctions.py and double angles (#46)
* Update auxiliaryfunctions.py Update auxiliaryfunctions.py and double angles using the following data joints_dict['Nearfrontfoot'] = ['Shoulder', 'Nearfrontfoot', 'Stifle'] x y z (liklehood) Shoulder 649.29443 355.67105 0.31627 Nearfrontfoot 604.79279 555.68231 0.92415 Stifle 519.55591 358.85684 0.03888 Existing Code q shortest rotation -0.002116213557255 -0.003361624154413 0.951158771281366 quaternion angle -0.242500855 -0.38521442 144.037938 quaternion scaler 0.22098 0.21534 0.21723 angle_rotation_quaternion 144.041017105924 degrees Modified Code q shortest rotation 0.000686756082122 0.001090930770238 -0.308673859961963 quaternion angle 0.0786972977 0.125011118 -35.9586586 quaternion scaler 0.83145863 0.83615687 0.83452721 angle_rotation_quaternion 35.9589828940757 degrees Second change in double angles reflects above plus calculating padj correctly * Update auxiliaryfunctions.py Update auxiliaryfunctions.py and double angles using the following data joints_dict['Nearfrontfoot'] = ['Shoulder', 'Nearfrontfoot', 'Stifle'] x y z (liklehood) Shoulder 649.29443 355.67105 0.31627 Nearfrontfoot 604.79279 555.68231 0.92415 Stifle 519.55591 358.85684 0.03888 Existing Code q shortest rotation -0.002116213557255 -0.003361624154413 0.951158771281366 quaternion angle -0.242500855 -0.38521442 144.037938 quaternion scaler 0.22098 0.21534 0.21723 angle_rotation_quaternion 144.041017105924 degrees Modified Code q shortest rotation 0.000686756082122 0.001090930770238 -0.308673859961963 quaternion angle 0.0786972977 0.125011118 -35.9586586 quaternion scaler 0.83145863 0.83615687 0.83452721 angle_rotation_quaternion 35.9589828940757 degrees Second change in double angles reflects above plus calculating padj correctly * Update src/dlc2kinematics/utils/auxiliaryfunctions.py --------- Co-authored-by: Jessy Lauer <[email protected]>
- Loading branch information