Search found 164 matches

by Ton van den Bogert
Fri Mar 24, 2023 12:54 pm
Forum: OpenSim
Topic: Questions about SimmSpline
Replies: 4
Views: 615

Re: Questions about SimmSpline

Splines is one of the topics in my numerical methods class this semester, so I was curious about the SimmSpline. It is a cubic spline, which means that it is a piecewise cubic polynomial; a different polynomial in each interval between two knots. A spline is smooth, which means that the function, an...
by Ton van den Bogert
Wed Mar 01, 2023 1:42 pm
Forum: OpenSim
Topic: Activation and tendon compliance dynamics in custom static optimization practice
Replies: 5
Views: 551

Re: Activation and tendon compliance dynamics in custom static optimization practice

Mohammadreza, Thanks for the reference and links. I was not familiar with that paper, it's very interesting and provides a method to do static optimization with a compliant tendon. There still is no muscle dynamics, because the force-velocity properties are not used. It is a static muscle model, a s...
by Ton van den Bogert
Wed Mar 01, 2023 8:57 am
Forum: OpenSim
Topic: Activation and tendon compliance dynamics in custom static optimization practice
Replies: 5
Views: 551

Re: Activation and tendon compliance dynamics in custom static optimization practice

The faster computation that Nicole refers to, is related only to forward dynamics (simulation). Static optimization (as the term suggests) considers only static muscle properties and won't do a dynamic simulation. In the classic form of static optimization, it only needs the maximal isometric force ...
by Ton van den Bogert
Fri Feb 03, 2023 11:25 am
Forum: OpenSim Moco
Topic: IPOPT iteration behavior
Replies: 3
Views: 259

Re: IPOPT iteration behavior

Ross, I can confirm that I often see this behavior in IPOPT and I have wondered about this too. It definitely seems wasteful to iterate like this. Maybe it helps IPOPT escape from a local minimum, but then you wonder if there is a strategy behind it. My earlier collocation work was with the SNOPT so...
by Ton van den Bogert
Wed Dec 07, 2022 7:52 am
Forum: OpenSim
Topic: Which inverse kinematics method does OpenSim use?
Replies: 8
Views: 844

Re: Which inverse kinematics method does OpenSim use?

I also tried to find the answers in the C++ code and got about as far as you did. Someone must know... The Boyd reference seems incorrect to me. This inverse kinematics problem is not a convex optimization. If computation speed is not important, it does not matter which algorithm is used. They will ...
by Ton van den Bogert
Tue Dec 06, 2022 5:53 pm
Forum: OpenSim
Topic: Which inverse kinematics method does OpenSim use?
Replies: 8
Views: 844

Re: Which inverse kinematics method does OpenSim use?

David, These are good questions and it's good to see that you want to get to the bottom of this. In robotics, inverse kinematics is only concerned with the position/orientation of the end effector. If the robot has more than 6 DOF, this is an underdetermined problem, with an infinite number of solut...
by Ton van den Bogert
Tue Oct 25, 2022 8:16 am
Forum: OpenSim Moco
Topic: Stronger model, but no higher jumps
Replies: 17
Views: 1663

Re: Stronger model, but no higher jumps

Carlos, Thanks for posting those graphs. Your muscle activations don't look like the expected bang-bang control. You are probably aware of the old work from Stanford and Amsterdam on squat jump optimization [2,3]. These demonstrate a bang-bang control solution. The 50 rad/s bound on angular velociti...
by Ton van den Bogert
Fri Oct 21, 2022 9:58 am
Forum: OpenSim Moco
Topic: Stronger model, but no higher jumps
Replies: 17
Views: 1663

Re: Stronger model, but no higher jumps

You are right, the jump should be higher. I don't think it is the goals weighting. With less activation, the controls goal now has a lower value and that would still favor a higher jump. It would be good to plot the optimal controls. In a maximal effort task, the optimal control solution should be "...
by Ton van den Bogert
Wed Sep 07, 2022 11:27 am
Forum: OpenSim Moco
Topic: exampleMocoTrack (Matlab)
Replies: 6
Views: 911

Re: exampleMocoTrack (Matlab)

Thanks, Nick. Your suggestions worked. It makes some sense that solveAndVisualize fails to visualize when the solution is sealed. There was already a comment in the code that suggested using track.solve to skip the visualization, and that allowed me to unseal before saving and plotting the results. ...
by Ton van den Bogert
Fri Sep 02, 2022 10:36 am
Forum: OpenSim
Topic: blips in simulated muscle variables
Replies: 2
Views: 398

Re: blips in simulated muscle variables

Thanks, Ayman. To keep the issue as simple as possible, I went back to the original simple arm example, removed the ConsoleReporter, and added the TableReporter and plotting code. See attached build_and_simulate_simple_arm_modified.m. I had to rename to .txt because the forum did not accept a .m fil...