A body between two joints.
- Ayman Habib
- Posts: 2248
- Joined: Fri Apr 01, 2005 12:24 pm
RE: A body between two joints.
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
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
- Gregory Philips
- Posts: 33
- Joined: Thu Aug 07, 2008 12:49 am
RE: A body between two joints.
I didnt understand completely what you meant about the joint's deviation coordinate.
- Gregory Philips
- Posts: 33
- Joined: Thu Aug 07, 2008 12:49 am
RE: A body between two joints.
I am currently replacing all the fixed joints in the model with weldjoints. Will that solve the problem?
- Ayman Habib
- Posts: 2248
- Joined: Fri Apr 01, 2005 12:24 pm
RE: A body between two joints.
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
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
- Ayman Habib
- Posts: 2248
- Joined: Fri Apr 01, 2005 12:24 pm
RE: A body between two joints.
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
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
- Gregory Philips
- Posts: 33
- Joined: Thu Aug 07, 2008 12:49 am
RE: A body between two joints.
I have attached the new file with the bug report.
- Gregory Philips
- Posts: 33
- Joined: Thu Aug 07, 2008 12:49 am
RE: A body between two joints.
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.
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.
- Gregory Philips
- Posts: 33
- Joined: Thu Aug 07, 2008 12:49 am
RE: A body between two joints.
Opensim 2.3.1 startups up sometimes and at othertimes gives the error I mentioned previously.
- Ayman Habib
- Posts: 2248
- Joined: Fri Apr 01, 2005 12:24 pm
RE: A body between two joints.
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
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