Open frederico-klein opened 2 months ago
from : https://opensimconfluence.atlassian.net/wiki/spaces/OpenSim/pages/53089158/How+Scaling+Works and : https://opensimconfluence.atlassian.net/wiki/spaces/OpenSim/pages/53087627/How+to+Use+the+Scale+Tool
this seems complicated. we probably want to use this xml thing and the scale.exe tool. this is not available in our current docker, so it maybe requires a more complete opensim distribution.
there is a file in /srv/data/gait1992/scale/model_scaleset_applied.xml which we can maybe use instead of the trc stactic calibration things to scale the model. if that is doable, then it's not so bad, but first i need to find this scale.exe and see how it works. if it only produces this file, but doesn't let you use for input, then it will be harder.
you want to scale the osim model by height, (either using xacro or something from opensim itself, idk what will be easier) maybe you just scale by height and create some prebaked models, like model_generic178 model_generic179 model_generic177 etc and calculate all the libmomentarms already.