Search found 5 matches

by hossein barati
Sat May 27, 2023 7:50 am
Forum: SCONE
Topic: InterpolataryCubicSpline
Replies: 6
Views: 644

Re: InterpolataryCubicSpline

Thanks a lot
it helped me so much.
by hossein barati
Tue May 23, 2023 2:06 pm
Forum: SCONE
Topic: InterpolataryCubicSpline
Replies: 6
Views: 644

Re: InterpolataryCubicSpline

In continuation of the previous post, i defined the function like this: InterpolataryCubicSpline{ control_points = 8 control_point_y = ~10 control_point_dt = ~0.2 control_point_tangent = {0 0 0 0 0 0 0 0} flat_extrapolation = 1 cyclic = 1 } and i got this error: Error parsing line 162: Expected '=',...
by hossein barati
Mon May 22, 2023 11:41 am
Forum: SCONE
Topic: InterpolataryCubicSpline
Replies: 6
Views: 644

Re: InterpolataryCubicSpline

Thank you so much, it worked very well.
but i still have problem with defining control_point_tangent and tangent_begin_type
could you please give an example to show how to put values for these two Parameters? (e.g. for 5 control points)
by hossein barati
Sun May 21, 2023 5:18 am
Forum: SCONE
Topic: InterpolataryCubicSpline
Replies: 6
Views: 644

InterpolataryCubicSpline

Hello everyone i want to define a feedforward controller by InterpolataryCubicSpline function my control points are: x=[0 0.3 0.5 0.75 1] y=[0 -10 0 10 0] and my code is: ConditionalController{ states = "EarlyStance LateStance Liftoff Swing Landing" FeedForwardController{ include = hip_flexion* Inte...
by hossein barati
Fri Apr 14, 2023 2:03 am
Forum: SCONE
Topic: objective function
Replies: 1
Views: 286

objective function

Hello everyone i have tow main questions. First: how can i implement these cost functions in scone specifically? 1) dividing the sum of the muscle activation squared by the horizontal distance travelled. 2) dividing head acceleration(along X and Y) by the horizontal distance travelled. 3) penalized ...