diff --git a/opencsp/common/lib/csp/HeliostatAbstract.py b/opencsp/common/lib/csp/HeliostatAbstract.py index 26b8b320f..13c2ac18e 100644 --- a/opencsp/common/lib/csp/HeliostatAbstract.py +++ b/opencsp/common/lib/csp/HeliostatAbstract.py @@ -190,9 +190,9 @@ def set_orientation(self, config: HeliostatConfiguration) -> None: Uses the `movement_transform(self, *args)` function to set the `_self_to_parent_transform` transformation of the FacetEnsemble in heliostat. """ - # current_position = TransformXYZ.from_V(self.facet_ensemble._self_to_parent_transform.V) + current_position = TransformXYZ.from_V(self.facet_ensemble._self_to_parent_transform.V) self.current_configuration = config - self.facet_ensemble._self_to_parent_transform = self.movement_transform(config) + self.facet_ensemble._self_to_parent_transform = current_position * self.movement_transform(config) def set_orientation_from_pointing_vector(self, pointing_vector: Vxyz) -> None: """