Skip to content

Commit

Permalink
fixes drifting
Browse files Browse the repository at this point in the history
  • Loading branch information
mhhwang1 committed Oct 23, 2024
1 parent 90d7e13 commit c0b4163
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions opencsp/common/lib/csp/HeliostatAbstract.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,9 +190,8 @@ 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)
self.current_configuration = config
self.facet_ensemble._self_to_parent_transform = current_position * self.movement_transform(config)
self.facet_ensemble._self_to_parent_transform = self.movement_transform(config)

def set_orientation_from_pointing_vector(self, pointing_vector: Vxyz) -> None:
"""
Expand Down

0 comments on commit c0b4163

Please sign in to comment.