Congratulations, Commander! You have learned all the necessary skills. Now it is time to combine them into a fully automated experiment script.
Your program must run autonomously. It should monitor the ISS position, take photos only when lighting conditions are good, tag them with location data, and keep a detailed log of operations.
Objective: Write the final flight code.
Instructions:
iss.get_status().ISS Orbit Info
| Usage | Description |
|---|---|
| iss.get_status() | Check sunlit status |
| iss.get_position() | Get lat/lon |
Raspberry Pi Camera
| Usage | Description |
|---|---|
| cam.take_photo(file) | Capture image |
Image Metadata
| Usage | Description |
|---|---|
| img = Image(file) | Load image |
| img.gps_latitude = val | Set latitude |
Logging
| Usage | Description |
|---|---|
| logger.info(msg) | Log info |