Search found 32 matches

by Hao Lee
Sat Nov 12, 2016 5:59 am
Forum: OpenSim
Topic: Couldn't build model after I add CoordinateSet
Replies: 2
Views: 208

Re: Couldn't build model after I add CoordinateSet

thanks!!! my problem is solved now
by Hao Lee
Fri Nov 11, 2016 1:39 am
Forum: OpenSim
Topic: Couldn't build model after I add CoordinateSet
Replies: 2
Views: 208

Couldn't build model after I add CoordinateSet

I try to build my own model from my solidwork files, but it crashes after I add CoordinateSet I believe I follow the tutorial My code looks like this double lHipJointMidMass=0.03685667; Vec3 lHipJointMidMassCenter(-0,0.03979000,0); Inertia lHipJointMidInertia(Mat33(0.00001597,0.00000000,0.00000000,0...
by Hao Lee
Mon Nov 07, 2016 11:44 am
Forum: OpenSim
Topic: How could I applied my costumed control code in c++
Replies: 3
Views: 159

Re: How could I applied my costumed control code in c++

I am not sure whether I get this right. So to create our own control, we use code like (I just borrow the codes in tutorial) TugOfWarController *controller = new TugOfWarController(kp, kv); // Add the controller to the Model. osimModel.addController( controller ); while in the class of TugOfWarContr...
by Hao Lee
Mon Nov 07, 2016 12:11 am
Forum: OpenSim
Topic: How could I applied my costumed control code in c++
Replies: 3
Views: 159

How could I applied my costumed control code in c++

Hello, I am novice in using OpenSim. I am studying the "Creating a Controller Part One" http://simtk-confluence.stanford.edu:8080/display/OpenSim/Creating+a+Controller+Part+One , It seems like the control script will run every time step in the simulation (since there is a double t = s.getTime(); . H...
by Hao Lee
Mon Oct 31, 2016 11:10 pm
Forum: OpenSim
Topic: Reverse parent/child body relationship?
Replies: 6
Views: 368

Re: Reverse parent/child body relationship?

I did, I use HuntCrossleyForce to achieve so. However, I wonder there must be some problem in my model, is there any way I could find my error (like report which line has error) in openSim? Since in message it said :ForwardTool::run() caught exception
by Hao Lee
Mon Oct 31, 2016 3:32 pm
Forum: OpenSim
Topic: Reverse parent/child body relationship?
Replies: 6
Views: 368

Re: Reverse parent/child body relationship?

Dear Sir I tried to modified my model, I believe this time I set the model correctly. However, there is still no ground reaction force. I put contact sphere on my model's feet and contact halpspace on floor. I thought in this way, without having any control, the model should collapse on the plane, o...
by Hao Lee
Sun Oct 30, 2016 8:58 pm
Forum: OpenSim
Topic: Input motion and get GRF?
Replies: 1
Views: 285

Input motion and get GRF?

I am currently using openSim to simulate human walking. While I have motion caputre to get all the movement, I want to simulate the Ground Reaction Force (GRF). However, I wonder how could I do that? Right now I use IK to get all the joint angle, and hope I eventually will reach Computed Muscle Cont...
by Hao Lee
Sun Oct 30, 2016 1:37 pm
Forum: OpenSim
Topic: Reverse parent/child body relationship?
Replies: 6
Views: 368

Re: Reverse parent/child body relationship?

Here is the messages, I wonder should I define the ground's mass? The model file is here https://drive.google.com/open?id=0B4Av76wR2DjRMUdWdUVJV2hyUzQ Running tool 3DGaitModel2392. No external loads will be applied (external loads file not specified). MODEL: 3DGaitModel2392 ANALYSES (2) analysis[0] ...
by Hao Lee
Fri Oct 28, 2016 11:18 pm
Forum: OpenSim
Topic: Reverse parent/child body relationship?
Replies: 6
Views: 368

Reverse parent/child body relationship?

I am currently using opensim to simulate biped human walk. I try to modified the gait2392 which came with the software. However, there is no ground reaction in that model (i.e., I want to apply motion data and do inverse kinetic to simulate ground reaction force). As a result, I define ContactGeomet...
by Hao Lee
Fri Oct 28, 2016 12:09 am
Forum: OpenSim
Topic: Marker Position for Motion capture
Replies: 1
Views: 126

Marker Position for Motion capture

I am recently using opensim to simulate human walking. The motion capture system I am using is vicon. While I download the 'Lee-Son's Toolbox' to get the motion readable in opensim, I found the postion where I put my marker is different than the model. I check the user manual https://goo.gl/LAiiho, ...