JavaScript

Job ID: 32499391

Budget: $30 – $250 USD

Create a JavaScript to perform specific tasks as follows:

One of the tasks of the apparatus is to collect and transmit data to the Earth. The receiver of the device, as well as several basic devices, are always switched on by default for data collection. The operation of the transmitter can be monitored by turning it on and off as needed. The device is equipped with solar panels with an area of ​​0.018 m2. It is necessary to place the device in orbit and set the control program to it so that within 3 days, starting from December 1, 2021 at 12:00 UTC, the device will transmit data while flying over the city of Rio de Janeiro. Consider the coordinates of the city -22.9064, 316.88.

The mother satellite collects data from the picosatellite and then transmits it to Earth. However, the data collected from the picosatellite is valid for two hours. The satellite should transmit these data to the city of Rio de Janeiro with coordinates (-22.9064, 316.88), having time to drop them before becoming obsolete. When transferring the collected data, you must attach a timestamp to it. Thus, data must be generated for transmission in the form ['2021-12-01T00: 00: 00.000Z' + data byte], type Uint8Array. Time is taken into account with an accuracy of 0.1 second.

Write control programs for the picosatellite and the parent satellite, as well as determine a suitable orbit in order to transfer 15,000 bytes of useful information in 12 hours.
Related categories: JavaScript jQuery / Prototype