GMU:Max and I, Max and Me/Johannes Schneemann: Difference between revisions

From Medien Wiki
Line 133: Line 133:
* <s>[https://deepblue.lib.umich.edu/handle/2027.42/56374 Lloyd, J. E. Studies on the flash communication system in Photinus fireflies 1966] </s>
* <s>[https://deepblue.lib.umich.edu/handle/2027.42/56374 Lloyd, J. E. Studies on the flash communication system in Photinus fireflies 1966] </s>
* <s>[https://academic.oup.com/icb/article/44/3/225/600910 Nobuyoshi Ohba: Flash Communication Systems of Japanese Fireflies]</s>
* <s>[https://academic.oup.com/icb/article/44/3/225/600910 Nobuyoshi Ohba: Flash Communication Systems of Japanese Fireflies]</s>
= final project 3: ISS overhead =
The International Space Station is currently the only extraterrestrial habitat for humans. It circles the earth approximately every 90 minutes and thus can look down on a vast planet. Humans on the other hand rarely look up and grasp what we accomplished and what we can reach for. This small installation tracks the International Space Station and emits a notification if it is above the place of exhibition.
The technical setup consists of a computer running Max and some means of notification like a bell or a speaker. The current position of the International Space Station is calculated from its orbital data and set into relation to the place of exhibition (e.g. Weimar). If the ISS is at a place which can be considered overhead the notification is triggered. If a speaker is used the sound synthesis can encode different parameters.
== proof of concept: 2021-05-19 ==
The basic Max patch for tracking the ISS and sending a bang is done.
[[File:ISS_notifier_2021-05-19.png|400px]]
Processing TLE files and orbital data was sidestepped by relying on [http://open-notify.org/Open-Notify-API/ISS-Location-Now/ open-notify.org] and processing [https://json.org/ JSON] data. The distance (on earth) to the city center of Weimar (at 50.979444, 11.329722) calculated using the euclidian distance as a metric. To simplify the math it is assumed that the world is flat and the [https://en.wikipedia.org/wiki/World_Geodetic_System#WGS84 WGS 84] reference system is ignored. This is ok for small distances where the curvature of the earth does not result in too much of an error.
Lessons learned:
* sometimes you can find an API for exactly the data you need
* occasionally ignoring the material reality is feasible on very narrow bounds
* school math turned out to be useful
Todo:
* extend to use different satellites
* leverage their orbital data
* attach a loudspeaker for announcements
== references ==
* [https://en.wikipedia.org/wiki/International_Space_Station wikipedia: International Space Station]
* [https://en.wikipedia.org/wiki/Two-line_element_set wikipedia: two-line element set (TLE)]
* [https://nssdc.gsfc.nasa.gov/nmc/SpacecraftQuery.jsp NASA Space Science Data Coordinated Archive Master Catalog Search]