Search found 166 matches
- Tue Mar 28, 2023 8:40 am
- Forum: OpenSim
- Topic: How to obtain joint angular velocity and joint angular acceleration by inverse kinematics tool?
- Replies: 6
- Views: 1277
Re: How to obtain joint angular velocity and joint angular acceleration by inverse kinematics tool?
I support Edward's suggestion. Although the SimmSpline can be differentiated to give velocities and accelerations, I would not recommend this. Interpolating splines are sensitive to noise and will give unreliable derivatives. To see an example, run my test code with these knots: x = 0:10; y = x + ra...
- Mon Mar 27, 2023 7:00 am
- Forum: OpenSim
- Topic: Questions about SimmSpline
- Replies: 4
- Views: 1015
Re: Questions about SimmSpline
You're welcome! I am not sure it's a bug. The extrapolation always looks correct in my tests with SimmSpline. I have not thoroughly analyzed the code, but keep in mind that an array in C++ starts with index 0. With n knots, there are n-1 knot intervals, indexed from 0 to n-2. The polynomial with ind...
- Fri Mar 24, 2023 12:54 pm
- Forum: OpenSim
- Topic: Questions about SimmSpline
- Replies: 4
- Views: 1015
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...
- Wed Mar 01, 2023 1:42 pm
- Forum: OpenSim
- Topic: Activation and tendon compliance dynamics in custom static optimization practice
- Replies: 5
- Views: 779
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...
- Wed Mar 01, 2023 8:57 am
- Forum: OpenSim
- Topic: Activation and tendon compliance dynamics in custom static optimization practice
- Replies: 5
- Views: 779
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 ...
- Fri Feb 03, 2023 11:25 am
- Forum: OpenSim Moco
- Topic: IPOPT iteration behavior
- Replies: 3
- Views: 542
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...
- Wed Dec 07, 2022 7:52 am
- Forum: OpenSim
- Topic: Which inverse kinematics method does OpenSim use?
- Replies: 8
- Views: 1113
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 ...
- Tue Dec 06, 2022 5:53 pm
- Forum: OpenSim
- Topic: Which inverse kinematics method does OpenSim use?
- Replies: 8
- Views: 1113
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...
- Tue Oct 25, 2022 8:16 am
- Forum: OpenSim Moco
- Topic: Stronger model, but no higher jumps
- Replies: 17
- Views: 2882
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...
- Fri Oct 21, 2022 9:58 am
- Forum: OpenSim Moco
- Topic: Stronger model, but no higher jumps
- Replies: 17
- Views: 2882
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 "...