Search found 26 matches

by Chaofei Zhang
Wed May 02, 2018 10:14 am
Forum: OpenSim
Topic: Plugin Build incomplete type is not allowed
Replies: 7
Views: 264

Re: Plugin Build incomplete type is not allowed

Any suggestions?
by Chaofei Zhang
Thu Apr 26, 2018 10:43 am
Forum: OpenSim
Topic: Plugin Build incomplete type is not allowed
Replies: 7
Views: 264

Re: Plugin Build incomplete type is not allowed

Hi Dimitar, Thanks! My problem of incomplete type has been solved. The joint and customjoint are both ok. Just need to include header for getindex(). #include <OpenSim/Simulation/SimbodyEngine/Body.h> But when I try to build, an error occurs in 'Property.h': use of undefined type 'OpenSim::SpatialTr...
by Chaofei Zhang
Wed Apr 25, 2018 12:48 pm
Forum: OpenSim
Topic: Joint Analysis
Replies: 0
Views: 68

Joint Analysis

Hi all,

I have a dynamic motion. if the motion changes so fast that I can't treat it as quasi-static state at each time point.
Does the joint analyze tool still work to calculate joint loading?
Is there any other way to get joint loading during the dynamic motion.

Thanks,
Chaofei
by Chaofei Zhang
Wed Apr 25, 2018 12:08 pm
Forum: OpenSim
Topic: Plugin Build incomplete type is not allowed
Replies: 7
Views: 264

Re: Plugin Build incomplete type is not allowed

Hi Dimitar, Thanks for your help. But I still get errors: no suitable user-defined conversion from "const OpenSim::Joint" to "const OpenSim::CustomJoint" exists. #include <OpenSim/Simulation/SimbodyEngine/CustomJoint.h> const CustomJoint& joint = _model->getJointSet().get(_jointReferences .getName()...
by Chaofei Zhang
Wed Apr 25, 2018 6:27 am
Forum: OpenSim
Topic: Plugin Build incomplete type is not allowed
Replies: 7
Views: 264

Re: Plugin Build incomplete type is not allowed

Hi Dimitar,

Thanks for your reply. CustomJoint is not defined.

#include <OpenSim/Simulation/Model/JointSet.h>
const CustomJoint& joint = _model->getJointSet().get(_jointReferences.getName());


Chaofei
by Chaofei Zhang
Mon Apr 23, 2018 2:24 pm
Forum: OpenSim
Topic: Plugin Build incomplete type is not allowed
Replies: 7
Views: 264

Plugin Build incomplete type is not allowed

Hi everyone, I am a new in C++, and trying to build a plugin in Visual Studio 2017. In my code, the joint information is needed (see the below code), but errors occurred: incomplete type is not allowed. const Joint& joint = _model->getJointSet().get(_jointReferences .getName());//this line is correc...
by Chaofei Zhang
Wed Apr 11, 2018 11:42 am
Forum: OpenSim
Topic: Inversy Dynamics ExcludedForces Setup
Replies: 2
Views: 97

Re: Inversy Dynamics ExcludedForces Setup

Hi Dimitar, Thanks! Nice to hear from you again. I wonder why it cause unrealistic moment (very large) when excludes other forces or none? If I run ID via GUI, whatever it excludes (all, muscles, other forces), the results are the same. it seems the default option for GUI is exclude muscles, and you...
by Chaofei Zhang
Tue Apr 10, 2018 2:30 pm
Forum: OpenSim
Topic: Inversy Dynamics ExcludedForces Setup
Replies: 2
Views: 97

Inversy Dynamics ExcludedForces Setup

Hi all, Can someone explain the function 'Excluded Forces' in Inversy Dynamics Setup? I have test four options: 1) All; 2) Muscles; 3) Other Forces (expressionbasedbushings in my model); 4) none The moments for option 1 and 2 are a little different, the difference is moment caused by bushings. The m...
by Chaofei Zhang
Mon Feb 05, 2018 1:24 pm
Forum: OpenSim
Topic: Linux Installation
Replies: 1
Views: 298

Linux Installation

Hi all, I would like use API 3.3 in Linux system. But there are always some errors you guys might have some advices. The problem: installing OpenSim 3.3 (from the website download source tarball) into a CentOS 7 environment (no sudo access, installation cannot be modified after the fact), no GUI int...
by Chaofei Zhang
Mon Jan 29, 2018 9:06 am
Forum: OpenSim
Topic: Get Joint Location via API 3.3
Replies: 2
Views: 190

Re: Get Joint Location via API 3.3

Thanks Dimitar!

Location could only be read in a form of Vec3.
Here is the right code:

l=Vec3(0,0,0);
jointset.get(i).getOrientationInParent(l)