Skip to content

Commit

Permalink
bug in heliostat_abstract
Browse files Browse the repository at this point in the history
  • Loading branch information
mhhwang1 committed Oct 9, 2024
1 parent 53904f2 commit b6c68b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions opencsp/common/lib/csp/HeliostatAbstract.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
"""
Expand Down

0 comments on commit b6c68b8

Please sign in to comment.