Yeah lol, a lot of “I need to do X” and I often get “use functionThatDoesX then” and sometimes it’s a wonderful discovery, most often though it just doesn’t exist lol
It needed a module to get the sun’s position, it used sun::alt:: azimuth which doesn’t exist rather than Astro::Coord::ECI::Sun
It needed a module to calculate mirror angle between the Sun’s altitude and azimuth and the target altitude and azimuth. It left that commented out rather than selecting the altitude halfway between Sun and target and azimuth between Sun and azimuth
It turns out there’s precious little on the internet on how to aim a mirror, partly because it’s not popular, partly because it’s dead simple
Yeah lol, a lot of “I need to do X” and I often get “use functionThatDoesX then” and sometimes it’s a wonderful discovery, most often though it just doesn’t exist lol
I asked gpt for code to aim a heliostat
It needed a module to get the sun’s position, it used sun::alt:: azimuth which doesn’t exist rather than Astro::Coord::ECI::Sun
It needed a module to calculate mirror angle between the Sun’s altitude and azimuth and the target altitude and azimuth. It left that commented out rather than selecting the altitude halfway between Sun and target and azimuth between Sun and azimuth
It turns out there’s precious little on the internet on how to aim a mirror, partly because it’s not popular, partly because it’s dead simple