opensimrt-ros / ros-biomech

GNU General Public License v3.0
0 stars 1 forks source link

scale complete model by height only #2

Open frederico-klein opened 2 months ago

frederico-klein commented 2 months ago

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.

frederico-klein commented 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.