When attempting to add a cache variable to ExpressionBasedBushingForce for the purposes of returning an Output value, I encountered the following error when running testComponents:
Error detected by Simbody method getCacheEntry: State Cache entry was out of date at Stage Dynamics. This entry depends on version 1 of Stage Velocity but was last updated at version 0.
The only property that uses Vec6 is Body's inertia property. I'm not sure what the interaction between the property and cache variable is, or whether or not the issue is specific to ExpressionBasedBushingForce or TwoFrameLinker in general.
When attempting to add a cache variable to
ExpressionBasedBushingForce
for the purposes of returning anOutput
value, I encountered the following error when runningtestComponents
:The error occurs when calling
getValueAsString()
at this line. Strangely, modifying auxiliaryTestFunctions for randomizing Vec6 properties to the following somehow fixes the issue (or at least hides it):The only property that uses
Vec6
isBody
's inertia property. I'm not sure what the interaction between the property and cache variable is, or whether or not the issue is specific toExpressionBasedBushingForce
orTwoFrameLinker
in general.