Commit 69782303 authored by Nico Mack's avatar Nico Mack

lower and upper stop angle are correctly retrieved as angles (rads or

degs) from scenario
parent ead09516
......@@ -148,8 +148,8 @@ public abstract class BaseValueWidgetBuilder<B extends BaseValueWidgetBuilder<B>
if (modifyValueOnRotation) {
lowerBound = BootstrappingUtils.getContentAsDouble(rootElement, Externalization.LOWER_BOUND_NODE, BootstrappingUtils.OPTIONAL, Double.NaN, context);
upperBound = BootstrappingUtils.getContentAsDouble(rootElement, Externalization.UPPER_BOUND_NODE, BootstrappingUtils.OPTIONAL, Double.NaN, context);
lowerStopAngle = BootstrappingUtils.getContentAsDouble(rootElement, CpsNamespace.LOWER_STOP_ANGLE_NODE, BootstrappingUtils.OPTIONAL, Double.NaN, context);
upperStopAngle = BootstrappingUtils.getContentAsDouble(rootElement, CpsNamespace.UPPER_STOP_ANGLE_NODE, BootstrappingUtils.OPTIONAL, Double.NaN, context);
lowerStopAngle = BootstrappingUtils.getContentAsRadians(rootElement, CpsNamespace.LOWER_STOP_ANGLE_NODE, BootstrappingUtils.OPTIONAL, Double.NaN, context);
upperStopAngle = BootstrappingUtils.getContentAsRadians(rootElement, CpsNamespace.UPPER_STOP_ANGLE_NODE, BootstrappingUtils.OPTIONAL, Double.NaN, context);
stepSize = BootstrappingUtils.getContentAsDouble(rootElement, CpsNamespace.STEP_SIZE_NODE, BootstrappingUtils.OPTIONAL, 1.0, context);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment