You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@kalebphipps I looked into the problem and noticed the following:
We have two functions: calculate_heliostat_position_in_m_from_lat_lon (converts lat/lon to meters) and its reverse (converts meters back to lat/lon). When calculating both directions from the coordinates [50, 50, 50], the results differ slightly, resulting in [49.98, 49.98, 50]. I plan to investigate this further at a later stage.
However, what I don't quite understand is why, when using the lat/lon -> m direction with values such as solar_tower_upper_center, the resulting values differ significantly from those initially provided in the CSV document. Could you provide some insight into this?
Wrong coordinates in
juelich-tower-measurements.json
A clear and concise description of what the bug is.
To reproduce
Steps to reproduce the behavior:
juelich-tower-measurements.json
,coordinates
utils.calculate_heliostat_position_in_m_from_lat_lon
Expected behavior
The
solar_tower_juelich_upper
center
coordinate should be something like[0, 0, 50]
but deviates greatly.Additional context
The utils functions to transform the coordinates were tested and seem to be right.
The text was updated successfully, but these errors were encountered: