Search found 15 matches

by Pengfei Liu
Mon May 20, 2024 5:28 am
Forum: OpenSim
Topic: ConditionalPathPoint In Matlab API
Replies: 0
Views: 536

ConditionalPathPoint In Matlab API

Hi, I have troubled with the BIClong_point9 below for weeks, do you know how to add ConditionalPathPoint to muscle,it didn't work at Matlab, and i need insure that i connect socket coordinate correctly so that finalizeconnection can worked. //.......... BIClong.addNewPathPoint('BIClong_point7', hume...
by Pengfei Liu
Mon May 13, 2024 6:17 am
Forum: OpenSim
Topic: Matlab api ConditionalPathPoint
Replies: 4
Views: 638

Re: Matlab api ConditionalPathPoint

Hi, I have troubled with the BIClong_point9 below for weeks, do you know how to add ConditionalPathPoint to muscle,it didn't work at Matlab, and i need insure that i connect socket coordinate correctly so that finalizeconnection can worked. //.......... BIClong.addNewPathPoint('BIClong_point7', hume...
by Pengfei Liu
Tue May 07, 2024 3:13 am
Forum: OpenSim
Topic: Hand missing in FD simulation
Replies: 0
Views: 465

Hand missing in FD simulation

Hi, i have build a Musculoskeletal model myself, The hand of model has no joint within, just attached finger geometries together. i use VisualizerUtilities to show the model, it is perfect. however, when i use setUseVisualizer and ForwardTool to simulate, simulating motion shows in visualizer window...
by Pengfei Liu
Sun Apr 28, 2024 1:52 am
Forum: OpenSim
Topic: Add control signal to muscle controller
Replies: 1
Views: 727

Add control signal to muscle controller

i have extracted time series excitation data from Excle file. however, when i use the PiecewiseLinearFunction to add the data into BIClongController, there is a Error with PiecewiseLinearFunction. anyone here give me a help, thank a lot. filename = Excitation.xlsx; [data, labels] = xlsread(filename)...
by Pengfei Liu
Sun Apr 28, 2024 12:54 am
Forum: OpenSim
Topic: usage of ConditionalPathPoint
Replies: 4
Views: 1603

Re: usage of ConditionalPathPoint

i used get...method before, and it had same error with upd...method. and do you know how to solve this problem? Error Create_Complex_muscle Java exception occurred: java.io.IOException: Failed to connect Socket 'coordinate' of type Coordinate(details: Connectee for Socket 'coordinate' of type Coordi...
by Pengfei Liu
Fri Apr 26, 2024 12:08 am
Forum: OpenSim
Topic: usage of ConditionalPathPoint
Replies: 4
Views: 1603

Re: usage of ConditionalPathPoint

am i corrcet in using ConditionalPathPoint::connectSocket_coordinate() method? and what should i do to add the conditionnal pathpoint to the pathpointset of the muscle? //... transformaxisZR = TransformAxis(); transformaxisZR.setName('transformaxisZR'); transformaxisZR.setAxis(Vec3(0.049400012358,0....
by Pengfei Liu
Thu Apr 25, 2024 1:56 am
Forum: OpenSim
Topic: usage of ConditionalPathPoint
Replies: 4
Views: 1603

usage of ConditionalPathPoint

does anyone knows how to use ConditionalPathPoint to build muscle?i 'm stucked at its property of connectSocket_coordinate().
by Pengfei Liu
Thu Apr 25, 2024 1:33 am
Forum: OpenSim
Topic: Matlab crashes when run a script with ConditionalPathPoint()
Replies: 1
Views: 474

Re: Matlab crashes when run a script with ConditionalPathPoint()

have you worked out with conditionalpathpoint(), i am scripting upperlimb model with conditionalpathpoint function in matlab,and i couldn't connect the coordinate of joint to it, could you help me a bit? thanks a lot!
by Pengfei Liu
Mon Apr 22, 2024 6:19 am
Forum: OpenSim
Topic: problem with FD simulation using outside excitation
Replies: 1
Views: 906

problem with FD simulation using outside excitation

hi, is there anyone can give me a help?
i'm preparing to use the excitation acquired from the experimental subject to drive the Musculoskeletal models, how to add time series excitation file into muscle controller using matlab api?
by Pengfei Liu
Mon Apr 22, 2024 1:52 am
Forum: OpenSim
Topic: problem of buling conditionalpathpoint
Replies: 0
Views: 346

problem of buling conditionalpathpoint

is there anyone can tell, how to set Coordinate in conditionalpathpoint? BIClong_point9 = ConditionalPathPoint(); BIClong_point9.setCoordinate(elbow); BIClong_point9.setRangeMax(1.570796326795); BIClong_point9.setRangeMin(-0.63879050623); BIClong.addNewPathPoint(BIClong_point9); osimModel.addForce(B...