A body between two joints.

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
User avatar
Ayman Habib
Posts: 2248
Joined: Fri Apr 01, 2005 12:24 pm

RE: A body between two joints.

Post by Ayman Habib » Wed Jul 13, 2011 10:44 am

Hi Gregory,

Looking at your earlier model, the joint forearm_elbow has no coordinates, which is not allowed for a CustomJoint, only welds are allowed to have no coordinates.

For the specific new error message you're referring to now, I'd suggest you go back to the Joint that defines the deviation coordinate and check that the coordinate is defined properly.

Hope this helps,
-Ayman

User avatar
Gregory Philips
Posts: 33
Joined: Thu Aug 07, 2008 12:49 am

RE: A body between two joints.

Post by Gregory Philips » Wed Jul 13, 2011 6:08 pm

I didnt understand completely what you meant about the joint's deviation coordinate.

User avatar
Gregory Philips
Posts: 33
Joined: Thu Aug 07, 2008 12:49 am

RE: A body between two joints.

Post by Gregory Philips » Thu Jul 14, 2011 5:46 am

I am currently replacing all the fixed joints in the model with weldjoints. Will that solve the problem?

User avatar
Ayman Habib
Posts: 2248
Joined: Fri Apr 01, 2005 12:24 pm

RE: A body between two joints.

Post by Ayman Habib » Thu Jul 14, 2011 8:27 am

Hi Gregory,

What I'm saying is that the problem is probably not with the coordinate coupler itself but upstream from that, for example with the definition of the independent coordinate or the joint that declares it.

Hope this helps,
-Ayman

User avatar
Ayman Habib
Posts: 2248
Joined: Fri Apr 01, 2005 12:24 pm

RE: A body between two joints.

Post by Ayman Habib » Thu Jul 14, 2011 8:37 am

Hi Gregory,

I don't think so, it's much easier (and leads to same result) to lock the coordinates rather than replace the joint definitions in XML! Can you upload your most recent file to the previous bug report and let me know and I'll check it out. We'll try to add more diagnostic messages to our model building code so that it can guide you and others to possible isses/solutions (in future releases).

Good luck,
-Ayman

User avatar
Gregory Philips
Posts: 33
Joined: Thu Aug 07, 2008 12:49 am

RE: A body between two joints.

Post by Gregory Philips » Sun Jul 17, 2011 8:43 pm

I have attached the new file with the bug report.

User avatar
Gregory Philips
Posts: 33
Joined: Thu Aug 07, 2008 12:49 am

RE: A body between two joints.

Post by Gregory Philips » Thu Jul 28, 2011 7:51 pm

I installed Opensim 2.3.1 but during startup of the program I get this error:

java.lang.AssertionError: WindowsAPI is required to be called from AWT thread only, see http://www.netbeans.org/download/dev/ja ... ading.html
at org.netbeans.core.windows.WindowManagerImpl.assertEventDispatchThread(WindowManagerImpl.java:1136)
at org.netbeans.core.windows.WindowSystemImpl.load(WindowSystemImpl.java:43)
[catch] at org.netbeans.core.NonGui$3.run(NonGui.java:224)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)


However Opensim 2.2.1 still runs normally.

User avatar
Gregory Philips
Posts: 33
Joined: Thu Aug 07, 2008 12:49 am

RE: A body between two joints.

Post by Gregory Philips » Thu Jul 28, 2011 7:55 pm

Opensim 2.3.1 startups up sometimes and at othertimes gives the error I mentioned previously.

User avatar
Ayman Habib
Posts: 2248
Joined: Fri Apr 01, 2005 12:24 pm

RE: A body between two joints.

Post by Ayman Habib » Fri Jul 29, 2011 1:36 pm

Hi Gregory,

I hope the latest version got you around your problem defining the model. I've seen the assertions on some machines but it has been pretty benign (doesn't cause crashes later). It's likely related to threading which would probably be hard to reproduce (even on your own machine) but if you can collect the info in the error message and file a bug report along with your machine's spec. we can try to troubleshoot.

Thanks,
-Ayman

POST REPLY