Help with adding Exoskeleton to Rajagopal Model

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Emily Klinkman
Posts: 8
Joined: Mon Sep 26, 2022 10:36 am

Help with adding Exoskeleton to Rajagopal Model

Post by Emily Klinkman » Fri Aug 18, 2023 12:33 pm

Hi everyone,

I am trying to add bilateral active ankle exoskeletons to the Rajagopal 2015 model, in order to run IK, ID, and Static Optimization from experimental data. I'm adding the exo direcly into the .osim file.

I've added the exo frame geometry as an object under <BodySet> with an attached .stl file and now the model won't open in the GUI. I get the following errors:
(1) Attempting to assign an invalid StimTK::MobilizedBodyIndex in Object 'pelvis_offset' of type PhysicalOffsetFrame. Thrown at PhysicalFrame.cpp:73 in setMobilizedBodyIndex()
(2) Body 'exo_r' not connected by a Joint.A FreeJoint will be added to connect it to ground
Has anyone experienced the same errors and know what I'm doing incorrectly? I'm assuming I need to specify a joint to connect the exo to the ankle but I'm not sure where to put it. Thanks in advance! Happy to connect via email and send my .osim files.
See below for snippet of .osim:
OSIM_screenshot.png
OSIM_screenshot.png (58.18 KiB) Viewed 334 times

Tags:

User avatar
Mohammadreza Rezaie
Posts: 376
Joined: Fri Nov 24, 2017 12:48 am

Re: Help with adding Exoskeleton to Rajagopal Model

Post by Mohammadreza Rezaie » Sat Aug 19, 2023 1:43 pm

Hi, your assumption is correct. The error is due to lack of any connection to your exo. It seems that OpenSim's automatically defined a joint between the exo and the ground.

Joints are specified in JointSet. Use hip_r joint as a reference to define a new joint between foot(?) and the exo bodies (Simply copy and paste it and then, adjust it). You can have 6 degrees of freedom (Dof) between bodies in CustomJoint, or no DoF in WeldJoint. Please see:
https://simtk-confluence.stanford.edu:8 ... JointTypes
https://simtk.org/api_docs/opensim/api_ ... ml#details

User avatar
Mahshida hamid
Posts: 19
Joined: Sun Jan 30, 2022 10:49 am

Re: Help with adding Exoskeleton to Rajagopal Model

Post by Mahshida hamid » Tue Sep 05, 2023 3:10 am

Hey, did you find the error. I am actually stuck in a similar problem too.

POST REPLY