Re: Moco goals for average speed in cycling model
Posted: Mon Nov 27, 2023 10:51 am
Hi Ana,
As for the crank resistance, do you need the resistance force to be active. It might be simpler to use a SpringGeneralizedForce to the coordinate, which models linear stiffness and damping, or an ExpressionBasedCoordinateForce if you want more control over the stiffness/damping model (i.e., non-linear springs/dampers).
Best,
Nick
The main difference is that the MocoScaleFactor is a parameter that can be optimized during the simulation. So if you want the simulation to discover the optimal constant crank speed as part of the cycling simulation, that could be one way to go.2) Nicholas, is there a significant difference between using MocoScaleFactor-addScaleFactor and simply adding a different constant value as a reference?
As for the crank resistance, do you need the resistance force to be active. It might be simpler to use a SpringGeneralizedForce to the coordinate, which models linear stiffness and damping, or an ExpressionBasedCoordinateForce if you want more control over the stiffness/damping model (i.e., non-linear springs/dampers).
Best,
Nick